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

5 Commits

Author SHA1 Message Date
epenet
a82484d7a7
Use attributes in rest base entity () 2022-09-07 09:40:52 +02:00
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
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