hass-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 Prettify yaml (tests) (#68891) 2022-03-30 11:26:08 +02:00
__init__.py
test_binary_sensor.py Use platform enums in rest tests (#62564) 2021-12-22 07:31:55 -05:00
test_init.py Move fixtures part 1 (#58902) 2021-11-01 20:47:05 -07:00
test_notify.py Move fixtures part 1 (#58902) 2021-11-01 20:47:05 -07:00
test_sensor.py Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
test_switch.py Remove debug print (#63460) 2022-01-05 15:34:33 +01:00