mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Introduce "communication failed" log macro (#8939)
This commit is contained in:
		| @@ -49,7 +49,7 @@ void PCA9554Component::dump_config() { | ||||
|   ESP_LOGCONFIG(TAG, "  I/O Pins: %d", this->pin_count_); | ||||
|   LOG_I2C_DEVICE(this) | ||||
|   if (this->is_failed()) { | ||||
|     ESP_LOGE(TAG, "Communication with PCA9554 failed!"); | ||||
|     ESP_LOGE(TAG, ESP_LOG_MSG_COMM_FAIL); | ||||
|   } | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user