mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 23:18:10 +01:00
Update mitsubishi.cpp (#6909)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
d7f6d4436e
commit
2d826768b0
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ const uint8_t MITSUBISHI_BYTE16 = 0X00;
|
||||||
|
|
||||||
climate::ClimateTraits MitsubishiClimate::traits() {
|
climate::ClimateTraits MitsubishiClimate::traits() {
|
||||||
auto traits = climate::ClimateTraits();
|
auto traits = climate::ClimateTraits();
|
||||||
|
traits.set_supports_current_temperature(this->sensor_ != nullptr);
|
||||||
traits.set_supports_action(false);
|
traits.set_supports_action(false);
|
||||||
traits.set_visual_min_temperature(MITSUBISHI_TEMP_MIN);
|
traits.set_visual_min_temperature(MITSUBISHI_TEMP_MIN);
|
||||||
traits.set_visual_max_temperature(MITSUBISHI_TEMP_MAX);
|
traits.set_visual_max_temperature(MITSUBISHI_TEMP_MAX);
|
||||||
|
|
Loading…
Reference in a new issue