mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[hdc1080] Make HDC1080_CMD_CONFIGURATION failure a warning (and log it) (#11355)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
		| @@ -16,7 +16,8 @@ void HDC1080Component::setup() { | ||||
|  | ||||
|   // if configuration fails - there is a problem | ||||
|   if (this->write_register(HDC1080_CMD_CONFIGURATION, config, 2) != i2c::ERROR_OK) { | ||||
|     this->mark_failed(); | ||||
|     ESP_LOGW(TAG, "Failed to configure HDC1080"); | ||||
|     this->status_set_warning(); | ||||
|     return; | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user