1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-18 12:59:14 +00:00

67 Commits

Author SHA1 Message Date
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ()
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 () 2023-02-03 23:08:48 +01:00
epenet
9580c4f1ec
Use UnitOfTemperature in integrations (e-h) () 2022-12-20 18:29:16 +01:00
epenet
f988a1164d
Use UnitOfPressure in integrations () 2022-12-19 21:41:46 +01:00
epenet
418be1eeb6
Use UnitOfElectricCurrent in integrations () 2022-12-19 16:59:39 +01:00
epenet
0dd20fb309
Use UnitOfEnergy in integrations (a-n) () 2022-12-19 11:06:00 +01:00
epenet
0184aadb09
Use UnitOfElectricPotential in integrations () 2022-12-15 13:59:21 +01:00
epenet
3edb0969de
Use UnitOfPower in integrations [h-r] () 2022-12-12 11:41:58 +01:00
epenet
061cef1a5e
Use SoundPressure unit and device class in integrations ()
* Use SoundPressure unit and device class in integrations

* Adjust tests
2022-12-09 07:56:09 +01:00
Franck Nijhof
a4a80f367b
Use enum sensor device class in HomeKit Controller () 2022-12-02 14:50:01 +01:00
Jc2k
eb76f9b3cb
Set the correct state class for Eve Energy in homekit_controller () 2022-10-30 10:32:19 -05:00
Jc2k
4279d73800
Add support for Netatmo noise sensor to homekit_controller ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-24 10:31:26 -05:00
J. Nick Koston
d12cbab6c4
Bump bleak to 0.19.0 () 2022-10-15 13:57:23 -04:00
J. Nick Koston
f23b1750e8
Migrate HomeKit Controller to use stable identifiers () 2022-10-11 11:26:03 -10:00
J. Nick Koston
92612c9fe3
Add RSSI sensor to HomeKit Controller () 2022-09-25 21:31:56 -04:00
J. Nick Koston
917cf674de
Handle battery services that only report low battery in HomeKit Controller () 2022-09-25 12:08:28 -10:00
J. Nick Koston
c580bce879
Move HKC entity classes into entity.py () 2022-08-06 08:10:26 -10:00
Jc2k
aa3097a3be
Add a Thread network status sensor to homekit_controller () 2022-08-04 11:55:29 +01:00
Jc2k
72a0ca4871
Add homekit_controller thread node capabilties diagnostic sensor () 2022-08-03 22:03:10 +01:00
J. Nick Koston
759add5184
Add state class to HKC sensors () 2022-07-23 11:14:06 -05:00
J. Nick Koston
30a5df5895
Append name char value from the service to HomeKit Controller Entities () 2022-07-03 15:47:54 -05:00
Jc2k
9f5d77e0df
Add missing type hints to homekit_controller () 2022-02-01 13:30:37 -06:00
Jc2k
0f88790303
Refactor homekit_controller to prepare for more typing information () 2022-01-31 16:48:16 -06:00
Jc2k
9799965c62
Better names for energy related homekit_controller sensors () 2022-01-27 10:08:26 -06:00
Jc2k
24ee4256b9
Add additional energy sensors to Eve Energy () 2022-01-24 07:46:45 -10:00
Jc2k
5ac50a56b4
Make sensor name consistent with other homekit_controller entity names () 2022-01-23 22:42:55 -10:00
Kevin Van den Abeele
1b571db19d
Feature/voc olinc smart adapter vp3 power measurement () 2022-01-21 10:20:32 -10:00
epenet
1f35ad08e2
Add basic type hints to homekit_controller ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 18:24:40 +00:00
Ed Coen
df6fa43bff
Add connectsense to homekit_controller () 2021-12-23 19:05:36 +00:00
epenet
10f57cf1f5
Use new enums in homekit-controller ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-13 17:04:21 +01:00
Marc Mueller
eab235173b
Use assignment expressions 28 () 2021-10-22 14:06:04 +02:00
Marc Mueller
771740c5f9
Fix multiline lambda formatting - homekit_controller () 2021-10-04 16:12:22 +02:00
Marc Mueller
3976443292
Use EntityDescription - homekit_controller () 2021-10-03 13:42:25 -10:00
Marc Mueller
6a1d7c7ad9
Remove icon if device_class is defined - homekit_controller () 2021-10-02 18:59:38 -06:00
Jc2k
0065bbc56d
Add volatile organic compounds to homekit_controller () 2021-08-23 20:47:09 +02:00
Jc2k
ea8061469c
Deprecate homekit_controller's air quality entity in favor of separate sensor entities () 2021-08-17 09:29:52 -05:00
Erik Montnemery
6de6a5dc14
Move temperature conversions to sensor base class (3/8) ()
* Move temperature conversions to entity base class (3/8)

* Fix FritzBox sensor

* Fix tests
2021-08-12 14:23:56 +02:00
Jc2k
081b2d533b
Add support for Eve Degree's air pressure sensor () 2021-08-03 07:30:50 -05:00
Jc2k
d414b58769
Fix watts unit for homekit_controller power sensors () 2021-08-02 10:47:11 -07:00
Jc2k
73bc62949b
Fix error in homekit_controller causing some entities to get an incorrect unique id () 2021-08-01 20:59:32 -07:00
Jc2k
1681bbe5a5
Make sure that vocolinc flowerbud humidity sensor is exposed (via homekit_controller) ()
* Make sure that vocolinc flowerbud humidity sensor is exposed

* Was a no-op to request these from humidifier, so remove them

* Fix typo
2021-07-26 16:11:27 -05:00
Jc2k
91018d0451
Add support for power data from Koogeek SW2 via homekit_controller () 2021-07-23 07:37:18 -10:00
Jc2k
5b257d2be8
Fix homebridge devices becoming unavailable frequently ()
Update to aiohomekit 0.4.3 and make sure service type UUID is normalised before comparison

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-07-08 17:26:25 +01:00
Jc2k
42c944ce56
Add secondary temperature sensors to homekit_controller () 2021-06-28 23:48:29 +02:00
Franck Nijhof
258b388f41
Collection of changing entity properties to class attributes ()
* Collection of changing entity properties to class attributes

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-05-31 10:50:11 +02:00
Erik Montnemery
339a56e434
Migrate integrations f-h to extend SensorEntity () 2021-03-22 19:45:17 +01:00
Jc2k
3b0a440770
Add support for homekit_controller secondary entities like power usage () 2021-01-26 13:45:01 -06:00
Jc2k
3e1f2a5103
Refactor how entities are created for homekit_controller services () 2020-11-16 23:11:39 +00:00
springstan
6c8e0e20fb
Add and use light lux constant in entire code base () 2020-09-23 20:48:01 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant () 2020-09-05 21:09:14 +02:00