Commit graph

14 commits

Author SHA1 Message Date
Erik Montnemery
2406b235b4
Name unnamed binary sensors by their device class ()
* 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 ()
* Improve sensor type hints in integrations

* Improve
2023-03-21 11:39:42 +01:00
epenet
4fe025b297
Use UnitOfPower in integrations [a-g] () 2022-12-12 11:48:09 +01:00
J. Nick Koston
b9526b05ee
Disable extra emonitor sensors by default () 2022-03-22 11:05:30 -10:00
J. Nick Koston
cb011570e8
Seperate emonitor extra_state_attributes into their own sensors () 2022-03-21 21:20:17 -07:00
J. Nick Koston
09982afd2e
Add state class to emonitor sensors () 2022-01-25 20:36:53 -08:00
epenet
d24ebc3c10
Add sensor setup type hints [e-f] ()
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 ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-09 11:20:06 -10:00
Robert Hillis
12c067970a
Use DeviceInfo Class E () 2021-10-23 11:44:51 +02:00
Erik Montnemery
41f3c2766c
Move temperature conversions to entity base class (2/8) () 2021-08-11 18:57:12 +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
Michael
b1138b1aab
Add constructor return type in integrations E-K () 2021-05-20 18:47:30 +03:00
Milan Meulemans
29d72714f3
Replace dict with DeviceInfo ()
* 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 ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-04 22:11:23 -10:00