Patrick ZAJDA
e748f0c623
Add entity name translations to Broadlink sensors ( #90783 )
...
* Add entity name translations to Broadlink sensors
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
* Update tests
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-04-04 15:18:41 -04:00
Franck Nijhof
330e1c6cbb
Clean up unnecessary registry mocks from integration tests ( #87763 )
2023-02-09 10:43:45 +01:00
epenet
807c69f621
Add type hints to integration tests (b-c) ( #87698 )
2023-02-08 18:08:43 +01:00
Patrick ZAJDA
a717ea8afc
Migrate Broadlink to new entity naming style ( #80187 )
...
* Migrate Broadlink to new entity naming style
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
* Add some tests
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
2022-10-18 22:09:23 +02:00
Franck Nijhof
d645e80ccd
Clean up async_update_entity helper usage ( #68641 )
2022-03-25 15:22:58 -07:00
Marc Mueller
f57d42a9e8
Use platform enum (1) [A-D] ( #60908 )
...
* Use platform enum (1) [A-D]
* Fix imports
* Fix tests
* Use Platform even in tests
2021-12-03 08:51:30 -08:00
Felipe Martins Diel
6f0a7d2921
Add to the Broadlink integration support for voltage, current, overload and total consumption sensors ( #53628 )
2021-10-18 11:38:51 -10:00
Felipe Martins Diel
fca79237c3
Create dataclass to mock entry setup in Broadlink tests ( #50134 )
2021-06-14 13:28:57 +02:00
Erik Montnemery
73d7a754e8
Mark temperature sensors as STATE_CLASS_MEASUREMENT ( #50889 )
...
* Mark temperature sensors as STATE_CLASS_MEASUREMENT
* Fix broadlink tests
* Tweak Hue changes
2021-05-21 11:44:34 +02:00
Felipe Martins Diel
a7ef3ec947
Fix RM pro temperature sensor ( #50098 )
2021-05-07 14:47:51 +02:00
Ville Skyttä
2fb3be50ab
Make DeviceRegistry.async_get_device connections arg optional ( #44897 )
...
* Make async_get_device connections Optional, default None
* Remove unnecessary async_get_device connections arg usages
Some of these were using an incorrect collection type, which didn't
cause issues mostly just due to luck.
2021-01-07 13:49:45 +01:00
Chris Talkington
48cfbf8662
Improve broadlink sensor tests ( #39632 )
2020-09-03 20:01:15 -05:00
Chris Talkington
4682de5ac1
Improve patching in broadlink sensor tests ( #39366 )
...
* improve patching in broadlink sensor tests
* Update test_sensors.py
* Update test_sensors.py
2020-08-28 21:26:19 -05:00
Felipe Martins Diel
e4d29bf3ec
Add tests for Broadlink sensors ( #39230 )
...
* Add tests for Broadlink sensors
* Remove sensor.py from .coveragerc
2020-08-26 22:43:17 -05:00