Commit graph

14 commits

Author SHA1 Message Date
dougiteixeira
10edf85311
Update test_device_cleaning in Template () 2024-06-22 15:59:46 +02:00
dougiteixeira
6e32a96ff3
Add the ability to bind the template helper entity to a device () 2024-06-22 12:45:06 +02:00
epenet
3d1165519d
Fix broad-exception-raised in component tests () 2024-06-12 17:53:42 +02:00
J. Nick Koston
d321906342
Always run keyed event trackers immediately () 2024-04-04 15:30:01 -10:00
Joost Lekkerkerker
ee66f6ec8c
Use is in enum comparison in config flow tests P-T () 2024-04-02 11:21:50 -10:00
Sid
aec7a67a58
Unignore Ruff PLE, PLW in tests ()
* Unignore Ruff PLE, PLW in tests

* fix tests
2024-03-29 23:58:30 +01:00
Sid
00ec7f11f0
Enable Ruff rule PT007 ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-03-19 09:01:07 +01:00
Marc Mueller
87165c0d6e
Add empty line after module docstring [tests t-z] () 2024-03-08 14:44:56 +01:00
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