Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry ( #98149 )
...
* Move DeviceInfo from entity to device registry
* Update integrations
2023-08-10 22:04:26 -04:00
Erik Montnemery
43c4dec3ed
Explicitly opt-in to device name in the demo integration ( #94647 )
2023-06-19 15:56:48 +02:00
Erik Montnemery
9a3077d64a
Always setup demo platforms with device support from config entry ( #94586 )
...
* Always setup demo platforms with device support from config entry
* Adjust test fixutres
* Update tests depending on the demo integration
2023-06-14 16:50:35 +02:00
epenet
fd05d949cc
Fix device_class in demo ( #78463 )
...
Use _attr_device_class in demo
2022-09-14 20:09:31 +03:00
epenet
7eb8e1f25d
Improve type hints in demo [1/3] ( #77180 )
2022-08-28 17:51:10 -05:00
epenet
57fd84e20c
Improve type hints in demo ( #74236 )
2022-06-30 15:34:48 +02:00
epenet
fbabad1d1d
Add binary_sensor setup type hints [a-f] ( #63268 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:10:41 +01:00
Franck Nijhof
2b8f245e27
Migrate binary sensor device classes to StrEnum ( #60651 )
2021-12-01 08:12:09 +01:00
Robert Hillis
fc3e7f5b7e
Use DeviceInfo Class D ( #58218 )
2021-10-22 17:00:00 +02:00
springstan
621526bbae
Use moisture and moving device class in various integrations ( #39963 )
2020-09-13 16:33:54 +02:00
springstan
e55035b2f9
Use DEVICE_CLASS_MOTION in various integrations ( #39962 )
2020-09-12 16:20:30 -05:00
Erik Montnemery
b022e08db9
Rename BinarySensorDevice to BinarySensorEntity ( #34462 )
...
* Rename BinarySensorDevice to BinarySensorEntity
* Tweak
* Move deprecation warning to __new__, add test
* Move deprecation warning back to __init__
* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +02:00
Bas Nijholt
e4e9cdce73
use isort to sort imports according to PEP8 for demo ( #29630 )
2019-12-08 22:29:27 +05:30
Bram Kragten
15e6278a2e
Add config entry and device support to Demo ( #28702 )
...
* Add config entry and device support to Demo
* Some more devices
* Fix tests using demo
* Review comments
* Update config_flow.py
* Revert
* Disable pylint
2019-11-13 16:37:31 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ( #22096 )
...
* Consolidate
* Fix tests
* Update imports
* Fix import
* Use importlib because integration and package share name
* Fix more tests
* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00