Commit Graph

15 Commits (30628766aeb476aca394d28c20b93e63cd4a4e63)

Author SHA1 Message Date
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 2406b235b4
Name unnamed binary sensors by their device class (#92940)
* Name unnamed binary sensors by their device class

* Update type annotations

* Fix loading of entity component translations

* Add test

* Update integrations

* Set abode and rfxtrx binary_sensor name to None

* Revert changes in homekit_controller
2023-06-13 19:48:54 +02:00
epenet 0e1c76f81f
Improve sensor type hints in integrations (#90031)
* Improve sensor type hints in integrations

* Improve
2023-03-21 11:39:42 +01:00
epenet 4fe025b297
Use UnitOfPower in integrations [a-g] (#83812) 2022-12-12 11:48:09 +01:00
J. Nick Koston b9526b05ee
Disable extra emonitor sensors by default (#68519) 2022-03-22 11:05:30 -10:00
J. Nick Koston cb011570e8
Seperate emonitor extra_state_attributes into their own sensors (#68479) 2022-03-21 21:20:17 -07:00
J. Nick Koston 09982afd2e
Add state class to emonitor sensors (#64934) 2022-01-25 20:36:53 -08:00
epenet d24ebc3c10
Add sensor setup type hints [e-f] (#63317)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:19:11 +01:00
epenet f512bacfc7
Use new SensorDeviceClass enum in emonitor (#61385)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-09 11:20:06 -10:00
Robert Hillis 12c067970a
Use DeviceInfo Class E (#58230) 2021-10-23 11:44:51 +02:00
Erik Montnemery 41f3c2766c
Move temperature conversions to entity base class (2/8) (#54468) 2021-08-11 18:57:12 +02:00
Franck Nijhof 258b388f41
Collection of changing entity properties to class attributes (#51248)
* 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
Michael b1138b1aab
Add constructor return type in integrations E-K (#50902) 2021-05-20 18:47:30 +03:00
Milan Meulemans 29d72714f3
Replace dict with DeviceInfo (#49950)
* Replace dict with DeviceInfo

* Clean up

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-02 00:37:19 +02:00
J. Nick Koston e925fd2228
Add emonitor integration (#48310)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-04 22:11:23 -10:00