-
- Downloads
Add abstract class to trigger based template entities (#139650)
* add abstract class to trigger based template entities * updates after merge of parent PR * add comments * add tests
Showing
- homeassistant/components/template/config.py 7 additions, 1 deletionhomeassistant/components/template/config.py
- homeassistant/components/template/coordinator.py 24 additions, 3 deletionshomeassistant/components/template/coordinator.py
- homeassistant/components/template/helpers.py 4 additions, 3 deletionshomeassistant/components/template/helpers.py
- homeassistant/components/template/number.py 8 additions, 10 deletionshomeassistant/components/template/number.py
- homeassistant/components/template/select.py 13 additions, 10 deletionshomeassistant/components/template/select.py
- homeassistant/components/template/trigger_entity.py 15 additions, 1 deletionhomeassistant/components/template/trigger_entity.py
- tests/components/template/test_blueprint.py 59 additions, 3 deletionstests/components/template/test_blueprint.py
- tests/components/template/test_number.py 7 additions, 1 deletiontests/components/template/test_number.py
- tests/components/template/test_select.py 25 additions, 1 deletiontests/components/template/test_select.py
- tests/components/template/test_trigger_entity.py 13 additions, 0 deletionstests/components/template/test_trigger_entity.py
- tests/testing_config/blueprints/template/test_event_sensor.yaml 27 additions, 0 deletions...testing_config/blueprints/template/test_event_sensor.yaml
Please register or sign in to comment