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
alarm_control_panel.py
binary_sensor.py
button.py
config.py
const.py
cover.py
fan.py
light.py
lock.py
manifest.json
number.py
select.py
sensor.py
services.yaml
switch.py
template_entity.py
trigger.py
trigger_entity.py
vacuum.py
weather.py