epenet
a6b6949793
Improve entity type hints [w] ( #77886 )
2022-09-06 13:59:37 +02:00
epenet
d8b2563b3d
Use _attr_should_poll in components [u-z] ( #77371 )
2022-08-26 21:22:27 +02:00
Franck Nijhof
15cffbe496
Clean up async_dispatcher_connect helper usage ( #68613 )
2022-03-24 13:19:11 +01:00
epenet
26819d1132
Add sensor setup type hints [w-z] ( #63308 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 18:45:33 +01:00
Robert Hillis
7764772202
Use enums in waterfurnace ( #61999 )
2021-12-16 09:21:28 +01:00
Erik Montnemery
ae507aeed1
Move temperature conversions to sensor base class (8/8) ( #54483 )
...
* Move temperature conversions to entity base class (8/8)
* Fix wallbox sensor
* Fix tests
2021-08-11 21:17:16 +02:00
Erik Montnemery
e563dc0d7b
Set device_class on additional temperature sensors ( #52960 )
...
* Set device_class on additional temperature sensors
* Apply suggestions from code review
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
* Set device class for greeneye_monitor sensor
* Set device class for bme280 and bme680 sensor
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-07-13 14:20:47 +02:00
Marc Mueller
8e2b5b36b5
Bump pyupgrade to 2.12.0 ( #48943 )
2021-04-09 09:58:27 -07:00
Erik Montnemery
0c086b5067
Migrate integrations w-z to extend SensorEntity ( #48217 )
2021-03-22 19:50:29 +01:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
springstan
f839ba00eb
Use POWER_WATT constant ( #33984 )
2020-04-11 15:40:59 +02:00
Paulus Schoutsen
4ebbabcdd1
Unsub dispatcher when removing entity from hass ( #33510 )
...
* Unsub dispatcher when removing entity from hass
* Update homeassistant/components/plaato/sensor.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/volvooncall/__init__.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-02 09:25:33 -07:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ( #33508 )
...
* Directly call async_write_ha_state
* Address comments
* Fix tests
2020-04-01 14:19:51 -07:00
springstan
f1a0ca7cd3
Add and use percentage constant ( #32094 )
...
* Add and use percentage constant
* Fix pylint error and broken test
2020-02-28 11:46:48 -08: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
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Paulus Schoutsen
e2d3c27e85
Embed all platforms into components ( #20677 )
...
* Consolidate all components with platforms
* Organize tests
* Fix more tests
* Fix Verisure tests
* one final test fix
* Add change
* Fix coverage
2019-02-02 07:13:16 -08:00