epenet
ac3534cba1
Import number constants from root ( #78248 )
2022-09-12 18:14:49 +02:00
epenet
5287980f48
Remove template from mypy ignore list ( #74426 )
2022-07-14 21:15:37 +02:00
Erik Montnemery
7a82794ad7
Migrate template NumberEntity to native_value ( #73537 )
2022-06-15 17:06:44 +02:00
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
Erik Montnemery
66ec4564f4
Support this variable in template number actions ( #71797 )
2022-05-13 09:33:00 -07:00
epenet
47d6f75c17
Enable basic type checking in template ( #66222 )
...
* Fix binary_sensor
* Adjust button
* Adjust fan
* Adjust select
* Adjust template_entity
* Adjust trigger_entity
* Adjust weather
* Adjust init
* Adjust number
* Adjust None check
2022-02-10 10:59:54 +01:00
Erik Montnemery
e9a9b119c4
Teach TemplateEntity unique_id ( #64837 )
2022-01-24 23:16:31 +01:00
epenet
78e92d1662
Adjust pylint plugin to enforce platform type hints ( #64836 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 18:51:06 +01:00
Erik Montnemery
321f54494e
Teach TemplateEntity entity name ( #62175 )
...
* Teach TemplateEntity entity name
* Remove default name from number and select config schemas
* Re-add default name to number and select config schemas
* Set name to None if name template fails to render
* Update template button
2022-01-24 15:44:05 +01:00
Erik Montnemery
bb3a3bbc1b
Minor refactor of template number ( #61863 )
2021-12-16 16:22:17 +01:00
Michael
90e52cd3ad
Use relative imports [S-Z] ( #61576 )
2021-12-13 09:39:13 +01:00
epenet
b6dc89b4b7
Add max/min/step to NumberEntityDescription ( #61100 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-06 09:56:46 -08:00
Erik Montnemery
3d909b00d5
Remove unneeded dynamic lookup of domain ( #59423 )
2021-11-09 07:41:45 -08:00
Jeff Irion
15a8f6741b
Enable template icons for template numbers ( #56154 )
2021-10-01 09:35:44 -07:00
Raman Gupta
e9625e4b7a
Add number platform to template integration ( #54789 )
2021-08-25 11:34:20 -07:00