core/homeassistant/components/broadlink
fustom 77282ed4b0
Use external temp if needed in Broadlink (#118375)
* 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>
2024-07-23 12:30:06 +02:00
..
__init__.py
climate.py Use external temp if needed in Broadlink (#118375) 2024-07-23 12:30:06 +02:00
config_flow.py
const.py Add Broadlink select platform (#121797) 2024-07-14 23:59:24 +02:00
device.py
entity.py Write data to state after Broadlink entity added (#121493) 2024-07-08 13:15:17 +02:00
heartbeat.py
helpers.py
light.py
manifest.json
remote.py
select.py Add Broadlink select platform (#121797) 2024-07-14 23:59:24 +02:00
sensor.py
strings.json Add Broadlink select platform (#121797) 2024-07-14 23:59:24 +02:00
switch.py
time.py Add Broadlink time platform (#121470) 2024-07-11 08:18:10 +02:00
updater.py Adjust type hints for unnecessary returns (#121650) 2024-07-10 09:26:29 +02:00