Commit graph

6 commits

Author SHA1 Message Date
Jan Bouwhuis
861bb48ab6
Assign specific error code for HomeAssistantError on websocket_api connection exceptions ()
Assign specific error code for HomeAssistantError
2023-11-29 13:07:52 +01:00
Erik Montnemery
c9a6ea94a7
Send template render errors to template helper preview () 2023-09-06 16:07:05 +02:00
Erik Montnemery
cdca4591a4
Include template listener info in template preview () 2023-09-06 09:49:42 +02:00
Erik Montnemery
f36a300651
Improve template sensor config flow validation () 2023-08-31 15:16:32 +02:00
Erik Montnemery
501d5db375
Add config flow for template binary sensor () 2023-08-30 17:28:56 +02:00
Erik Montnemery
63c538b024
Add config flow for template sensor ()
* Add config flow for template sensor

* Tweak error reporting

* Improve validation

* Fix test

* Rename translation strings

* Improve validation

* Fix sensor async_setup_entry

* Avoid duplicating sensor device class translations

* Avoid duplicating sensor device class translations

* Add config flow tests

* Include all units from DEVICE_CLASS_UNITS in unit_of_measurement select

* Address review comments
2023-08-30 16:22:52 +02:00