mirror of
https://github.com/home-assistant/core.git
synced 2025-05-20 05:49:15 +00:00

* Use external temp for current temp depends on the sensor state * Add SensorMode enum * Add tests for Broadlink climate * Check is the sensor included in the data * Use IntEnum as parent of SensorMode * Use SensorMode enum value for sensor test data * Parametrizing tests * Readd accidentally removed assert * Use local sensor variable Co-authored-by: Robert Resch <robert@resch.dev> * Refactor test_climate. Check call_counts. * Add parameter types Co-authored-by: Robert Resch <robert@resch.dev> * Update homeassistant/components/broadlink/climate.py --------- Co-authored-by: Robert Resch <robert@resch.dev> Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>