hass-core/homeassistant/components/template
Erik Montnemery 5987266e56
Refactor template entity to allow reuse (#72753)
* Refactor template entity to allow reuse

* Fix schema and default name

* Add tests

* Update requirements

* Improve test

* Tweak TemplateSensor initializer

* Drop attributes and availability from TemplateEntity

* Use rest sensor for proof of concept

* Revert changes in SNMP sensor

* Don't set _attr_should_poll in mixin class

* Update requirements
2022-06-08 15:55:49 +02:00
..
__init__.py Clean up accessing service helpers via hass (#72013) 2022-05-17 10:56:57 -07:00
alarm_control_panel.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
binary_sensor.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
button.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
config.py Add button platform to template integration (#61908) 2022-01-03 10:03:37 +01:00
const.py Add button platform to template integration (#61908) 2022-01-03 10:03:37 +01:00
cover.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
fan.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
light.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
lock.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
manifest.json
number.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
select.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
sensor.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
services.yaml Prettify yaml (services.yaml) (#68878) 2022-03-30 09:48:06 +02:00
switch.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
template_entity.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
trigger.py Adjust device_automation type hints in core components (#72207) 2022-05-23 16:07:34 +02:00
trigger_entity.py Restore attributes of template binary sensor (#69350) 2022-04-05 22:58:12 -07:00
vacuum.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
weather.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00