mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Update bang_bang to log two decimal places in config dump (#6304)
change of precision to two decimal places
This commit is contained in:
		| @@ -194,8 +194,8 @@ void BangBangClimate::dump_config() { | |||||||
|   ESP_LOGCONFIG(TAG, "  Supports HEAT: %s", YESNO(this->supports_heat_)); |   ESP_LOGCONFIG(TAG, "  Supports HEAT: %s", YESNO(this->supports_heat_)); | ||||||
|   ESP_LOGCONFIG(TAG, "  Supports COOL: %s", YESNO(this->supports_cool_)); |   ESP_LOGCONFIG(TAG, "  Supports COOL: %s", YESNO(this->supports_cool_)); | ||||||
|   ESP_LOGCONFIG(TAG, "  Supports AWAY mode: %s", YESNO(this->supports_away_)); |   ESP_LOGCONFIG(TAG, "  Supports AWAY mode: %s", YESNO(this->supports_away_)); | ||||||
|   ESP_LOGCONFIG(TAG, "  Default Target Temperature Low: %.1f°C", this->normal_config_.default_temperature_low); |   ESP_LOGCONFIG(TAG, "  Default Target Temperature Low: %.2f°C", this->normal_config_.default_temperature_low); | ||||||
|   ESP_LOGCONFIG(TAG, "  Default Target Temperature High: %.1f°C", this->normal_config_.default_temperature_high); |   ESP_LOGCONFIG(TAG, "  Default Target Temperature High: %.2f°C", this->normal_config_.default_temperature_high); | ||||||
| } | } | ||||||
|  |  | ||||||
| BangBangClimateTargetTempConfig::BangBangClimateTargetTempConfig() = default; | BangBangClimateTargetTempConfig::BangBangClimateTargetTempConfig() = default; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user