Update mitsubishi.cpp (#6909)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
ttaborda 2024-07-11 05:26:37 +01:00 committed by Jesse Hills
parent d7f6d4436e
commit 2d826768b0
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

View file

@ -52,6 +52,7 @@ const uint8_t MITSUBISHI_BYTE16 = 0X00;
climate::ClimateTraits MitsubishiClimate::traits() {
auto traits = climate::ClimateTraits();
traits.set_supports_current_temperature(this->sensor_ != nullptr);
traits.set_supports_action(false);
traits.set_visual_min_temperature(MITSUBISHI_TEMP_MIN);
traits.set_visual_max_temperature(MITSUBISHI_TEMP_MAX);