core/tests/components/rest
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
..
fixtures
__init__.py
test_binary_sensor.py
test_init.py
test_notify.py
test_sensor.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
test_switch.py