PyLoxone
PyLoxone copied to clipboard
Update climate.py
This PR fixes a small bug (fix #416 ) in the climate entities:
- LoxoneRoomControllerV2
- LoxoneAcControl
They defined attr_supported_features instead of _attr_supported_features.
Because of that, Home Assistant didn't enable ClimateEntityFeature.TARGET_TEMPERATURE
(and others), even though target_temperature and set_temperature were already implemented.
With this change, both entities expose TARGET_TEMPERATURE correctly and the HA climate card shows a target temperature control that works with the existing logic.