Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device ( #96479 )
...
* Require keyword arguments to DeviceRegistry.async_get_device
* Update tests
* Update tests
* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Guillaume Duveau
23d5fb9622
Add more device info for SmartThings devices ( #95723 )
...
* Add more device info for SmartThings devices
* Fix binary_sensor test
* Fix binary sensor test, try 2
* Fix and add SmartsThings new device info tests
2023-07-06 14:26:46 -04:00
epenet
3a9adacdde
Add type hints to integration tests (part 20) ( #88179 )
2023-02-15 15:23:34 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
epenet
aa00114c2f
Add return type to async tests without arguments ( #87612 )
2023-02-07 10:26:56 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
mbo18
9d73f9a2c5
Move power and energy attributes to sensors for SmartThings Air conditioner ( #72594 )
...
Move power and energy attribute to sensor for Air conditioner
2022-06-29 11:02:20 +02:00
Dave T
79ef4dea98
Use new enums in smartthings tests ( #62708 )
...
* Use new enums in smartthings tests
* Convert == to is
2021-12-23 23:14:10 +01:00
Robert Hillis
85aeee7cc7
Add smartthings configuration_url ( #58676 )
2021-11-14 20:37:40 +01:00
Allen Porter
d49c5d511b
Add entity_category to SmartThings sensors ( #58375 )
2021-10-26 14:55:03 +02:00
Chris
14aa19b814
Fix unique_id conflict in smarttthings ( #55235 )
2021-08-26 13:43:26 -07:00
Chris
cfc5111561
Handle powerConsumption reports with null value ( #53888 )
2021-08-02 20:50:57 -07:00
Chris
8ac1f5d28a
Add energy consumption sensors to smartthings devices ( #53759 )
2021-08-01 20:35:03 -07:00
Michael
2b2cddb5f0
Extract smartthings switch energy attributes into sensors ( #53719 )
2021-07-29 21:50:02 -07:00
Erik Montnemery
1d9d9021de
Do not attempt to unload non loaded config entries ( #51356 )
2021-06-02 10:00:24 +02:00
Erik Montnemery
ba2978c693
Update tests p-s to use async_get() instead of async_get_registry() ( #47654 )
2021-03-09 14:28:32 +01:00
Paulus Schoutsen
9e07910ab0
Mark entities as unavailable when they are removed but are still registered ( #45528 )
...
* Mark entities as unavailable when they are removed but are still registered
* Add sync_entity_lifecycle to collection helper
* Remove debug print
* Lint
* Fix tests
* Fix tests
* Update zha
* Update zone
* Fix tests
* Update hyperion
* Update rfxtrx
* Fix tests
* Pass force_remove=True from integrations
Co-authored-by: Erik <erik@montnemery.com>
2021-02-08 10:45:46 +01: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
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
springstan
eae21be5b9
Improve string formatting v6 ( #33698 )
2020-04-07 23:14:28 +02:00
springstan
67c3a4c970
Improve string formatting v7 ( #33705 )
2020-04-05 17:34:24 -05:00
springstan
f1a0ca7cd3
Add and use percentage constant ( #32094 )
...
* Add and use percentage constant
* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
Franck Nijhof
fb35d382e1
Remove all empty *_setup_platform() from integrations ( #31025 )
...
* Remove all empty *_setup_platform() from integrations
* Fix tests for smartthings
* Fix tests for heos
2020-01-21 12:38:38 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Andrew Sayre
5ace55ea8d
Add SmartThings sensor support for Three Axis ( #21841 )
...
* Add support for Three Axis to sensor platform
* Changes per review feedback.
* Remove unnecessary KeyError except
* Fix lint issue in line wrapping
2019-03-09 18:45:15 -06:00
Andrew Sayre
3b9db88065
Add SmartThings Scene platform ( #21405 )
...
* Add SmartThings Scene platform
* Fixed failing tests after rebase
* Update cover tests.
2019-02-26 13:12:24 -08:00
Andrew Sayre
706810bbce
Add SmartThings Sensor platform ( #20848 )
...
* Add Sensor platform and update pysmartthings 0.6.0
* Add tests for Sensor platform
* Redesigned capability subscription process
* Removed redundant Entity inheritance
* Updated per review feedback.
2019-02-07 21:51:17 -07:00