1
0
mirror of https://github.com/home-assistant/core.git synced 2025-06-05 13:47:06 +00:00

5 Commits

Author SHA1 Message Date
Erik Montnemery
146ff83a16
Migrate rest binary_sensor and switch to TemplateEntity () 2022-06-28 13:53:38 -07:00
Erik Montnemery
5987266e56
Refactor template entity to allow reuse ()
* 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
Chris Browet
b1b782419b
Add REST sensor/binary_sensor/switch templated headers & params () 2021-10-29 16:36:47 -05:00
Chris Browet
1867d24b18
Add state_class support to Rest () 2021-10-22 13:48:13 -07:00
J. Nick Koston
2f3c2f5f4d
Add support for using a single endpoint for rest data () 2021-02-19 21:44:15 -08:00