1
0
mirror of https://github.com/home-assistant/core.git synced 2025-08-13 07:20:01 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
Robert Svensson
b41b7aeb5b Remove validation of state==UNAVAILABLE on config entry unload in deCONZ test ()
Only test remove entry marks entities unavailable in one place
2024-07-26 10:06:58 +02:00
Robert Svensson
a8e60a6c53 Use snapshot in deCONZ number tests () 2024-07-24 17:28:47 +02:00
Robert Svensson
4ee256633b Deduplicate light data with deCONZ websocket fixture () 2024-07-23 08:40:30 +02:00
Robert Svensson
c61efe931a Deduplicate more fixture data related to deCONZ websocket sensor () 2024-07-22 21:37:58 +02:00
Robert Svensson
48661054d9 Improve fixture usage for sensor based deCONZ tests () 2024-07-21 13:56:16 +02:00
Robert Svensson
cce77affc7 Provide default values for common keys in deCONZ websocket fixture () 2024-07-06 10:52:50 +02:00
Robert Svensson
1b8944dab6 Improve deCONZ websocket fixture () 2024-07-05 22:35:06 +02:00
Robert Svensson
dcf4e91234 Use fixtures in deCONZ number tests () 2024-07-01 17:46:46 +02:00
Jan Bouwhuis
acf2f855fe Raise ServiceValidationError on number out of range exception () 2024-04-02 12:22:00 +02:00
Robert Svensson
9c2c7f1a45 Remove old update of number unique id in deCONZ () 2024-03-15 21:08:18 +02:00
Marc Mueller
38adfbf1a3 Add empty line after module docstring [tests a-e] () 2024-03-08 08:50:25 -05:00
Franck Nijhof
81909f7ddf Update deconz tests to use device & entity registry fixtures () 2023-11-09 18:06:53 +01:00
Franck Nijhof
ed79265843 Enable Ruff PT006 ()
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
9f688a564f Add type hints to integration tests (part 4) () 2023-02-11 08:26:13 +01:00
Erik Montnemery
cc564026fa Move EntityCategory to homeassistant.const ()
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
epenet
3052de3e8e Add type hints to integration tests (d-e) () 2023-02-08 13:01:44 +01:00
Robert Svensson
d75834cd1e Add presence duration number () 2022-10-23 22:30:03 +02:00
Robert Svensson
b012b79167 Adapt deCONZ number platform to align with updated design of binary sensor and sensor platforms ()
* Adapt number to align with binary sensor and sensor platforms

* Make number tests easier to expand
2022-02-08 23:03:37 +01:00
Robert Svensson
008b784fc5 Add deCONZ number config entity for Hue motion sensor delay ()
* First working draft of number platform

* Replace duration with delay for Hue motion sensors
Improve tests

* Bump dependency to v85

* Use constant for entity category

* Use type rather than using __class__

* Fix unique ID
2021-10-20 11:23:24 +02:00