-
- Downloads
Add apsystems diagnostic binary sensors (#123045)
* add diagnostic sensors
* select output_data from data
* split sensor and binary_sensor configurations
* adjust module description
* convert values to bool
* add strings
* add tests
* add tests
* update translations
* remove already available _attr_has_entity_name
* use dataclass instead of TypedDict
* Update tests/components/apsystems/test_binary_sensor.py
---------
Co-authored-by:
Joost Lekkerkerker <joostlek@outlook.com>
Showing
- homeassistant/components/apsystems/__init__.py 6 additions, 1 deletionhomeassistant/components/apsystems/__init__.py
- homeassistant/components/apsystems/binary_sensor.py 102 additions, 0 deletionshomeassistant/components/apsystems/binary_sensor.py
- homeassistant/components/apsystems/coordinator.py 15 additions, 4 deletionshomeassistant/components/apsystems/coordinator.py
- homeassistant/components/apsystems/sensor.py 1 addition, 1 deletionhomeassistant/components/apsystems/sensor.py
- homeassistant/components/apsystems/strings.json 14 additions, 0 deletionshomeassistant/components/apsystems/strings.json
- tests/components/apsystems/conftest.py 7 additions, 1 deletiontests/components/apsystems/conftest.py
- tests/components/apsystems/snapshots/test_binary_sensor.ambr 377 additions, 0 deletionstests/components/apsystems/snapshots/test_binary_sensor.ambr
- tests/components/apsystems/test_binary_sensor.py 31 additions, 0 deletionstests/components/apsystems/test_binary_sensor.py
Loading
Please register or sign in to comment