Commit Graph

16 Commits (aa9b99713c70935c8c0b2cda436b8eb5d214d984)

Author SHA1 Message Date
Maciej Bieniek f212049fc2
Add constructor return type in integrations O-S (#50896) 2021-05-20 15:58:17 +02:00
epenet d6c99a3db9
Enable strict type checks for onewire (#50422) 2021-05-11 17:28:17 +02:00
Ville Skyttä 44a790ab47
Entity.device_info typing fixes (#49974) 2021-05-10 22:11:51 -07: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
Erik Montnemery a09c8eecb7
Fix some sensor classes (#48254)
* Fix some sensor classes

* Tweak

* Tweak
2021-03-23 15:56:33 +01:00
Marc Mueller 3d2b81a401
Update typing 11 (#48072) 2021-03-18 13:21:46 +01:00
Erik Montnemery 14a59d290a
Update integrations j-o to override extra_state_attributes() (#47758) 2021-03-11 20:11:25 +01:00
epenet 55edc9f858
Cleanup unique_id on onewire integration (#43783)
* Update construction of unique_id

* Move shared logic into OneWireBaseEntity
2020-12-02 15:11:20 +01:00
epenet 7716740c18
Update inheritance for onewire entities (#43019) 2020-11-09 23:21:16 +01:00
epenet 7c397a02b7
Add onewire switches (#42962)
* Add support for switches

* Fix stale comment
2020-11-08 12:06:41 -06:00
epenet 2b2d7558de
Add binary_sensor platform to onewire integration (#42832)
* Add binary_sensor platform to onewire integration

* Keep the same name

* Rework tests

* Rework tests
2020-11-07 20:42:20 -06:00
epenet c7cdad2b5a
Default some entities to disabled (#42797) 2020-11-04 10:08:50 +01:00
epenet 79b10a8efd
Update definition of onewire device specifications (#42460)
* Update definition of device specifications

* If set, sensor_name doesn't need to be capitalized
2020-11-03 18:12:01 +01:00
epenet 744e4378ff
Remove unnecessary onewire variable (#42704) 2020-11-03 09:07:22 +01:00
epenet c8735edb7f
Optimise onewire sensor update method (#42690) 2020-10-31 14:46:31 -10:00
epenet 08342a1e05
Move onewire entity classes to separate module (#42445) 2020-10-27 14:34:25 +01:00