Commit graph

33 commits

Author SHA1 Message Date
Erik Montnemery
90d7fb8418
Sort manifests 5 () 2023-02-08 20:35:25 +01:00
epenet
bb3e0633a4
Add init return type to integrations ()
Add type hints to integrations
2023-02-06 11:37:25 +01:00
epenet
a6ddac9004
Use UnitOfTemperature in integrations (i-m) () 2022-12-20 18:30:46 +01:00
epenet
448f4ee755
Improve entity type hints [j-k] () 2022-08-31 22:10:18 +02:00
Anil Daoud
3846efecc5
Handle kaiterra ClientConnectorError exception ()
* Update api_data.py

add ClientConnectorError exception

* Update api_data.py

fix ClientConnectorError exception handling

* Update api_data.py

import in alphabetical order and better exception logging
2022-08-29 10:40:24 +02:00
epenet
dff9baf880
Use _attr_should_poll in components [j-n] () 2022-08-26 21:19:37 +02:00
Michał Mrozek
5dd8dfb4dc
Update kaiterra-async-client to 1.0.0 () 2022-07-07 15:46:23 -07:00
Anil Daoud
6cd3b45b74
Kaiterra type issue () 2022-02-19 15:44:18 +01:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json () 2022-01-28 13:37:53 -08:00
epenet
f6bc21d2aa
Remove integrations from mypy ignored modules (part 3) ()
* Adjust kaiterra

* Adjust keenetic_ndms2

* Adjust kodi

* Adjust kulersky

* Adjust litejet

* Adjust motion_blinds

* Cleanup mypy_config

* Adjust kulersky

* Adjust keenetic_ndms2

* Adjust kodi

* Adjust motion_blinds

* Introduce RequiredKeysMixin in kaiterra

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-19 10:49:46 +01:00
epenet
a9901356c3
Add sensor setup type hints [i-l] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:11:50 +01:00
epenet
929da2154a
Add air_quality setup type hints ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 12:07:05 +01:00
epenet
e02f0c34e5
Add init type hints [k-l] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:34:33 +01:00
Sebastian Lövdahl
d18f1cc872
Use Platform constants all over the place 2/3 () 2021-12-28 21:23:07 +01:00
epenet
6a81821399
Refactor kaiterra to use SensorEntityDescription ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 19:20:40 +01:00
J. Nick Koston
10d6247fee
Bump to aiohttp 3.8.0 () 2021-11-04 10:07:50 -05:00
Marc Mueller
1bcf39517a
Use assignment expressions 13 () 2021-10-21 08:27:42 +02:00
Erik Montnemery
2720ba2753
Move temperature conversions to sensor base class (4/8) ()
* Move temperature conversions to entity base class (4/8)

* Fix litterrobot sensor

* Fix tests
2021-08-11 21:17:47 +02:00
Erik Montnemery
3e09787d85
Set device_class on temperature sensors F-K ()
* Set device_class on temperature sensors F-K

* Fix juicenet sensor
2021-07-12 20:32:55 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest () 2021-04-15 10:21:38 +02:00
Erik Montnemery
fdf97eaca3
Migrate integrations i-m to extend SensorEntity () 2021-03-22 19:59:03 +01:00
Erik Montnemery
14a59d290a
Update integrations j-o to override extra_state_attributes() () 2021-03-11 20:11:25 +01:00
Quentame
198ecb0945
Uniformize platform setup ()
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant () 2020-09-05 21:09:14 +02:00
springstan
541e30d155
Remove unused manifest fields v2 () 2020-04-04 22:11:33 +02:00
Paulus Schoutsen
4ebbabcdd1
Unsub dispatcher when removing entity from hass ()
* 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
springstan
f1a0ca7cd3
Add and use percentage constant ()
* Add and use percentage constant

* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
Ville Skyttä
496bd3dddf
Add and use more unit constants ()
* Add and use speed constants

* Add and use meter based volume and area constants

* Add and use more mass unit constants

* Add and use concentration unit constants

* Add and use watts per square meter constant

* Use more time constants

* Use more data constants
2020-02-24 17:52:14 -08:00
Franck Nijhof
a84741392b
Format all manifests with prettier () 2020-01-06 21:28:23 +01:00
Michał Mrozek
afa7e0bfe8 fix: exception after kaiterra api call timeout () 2019-10-13 22:01:40 -07:00
Franck Nijhof
c7da781efc Update documentation link URL for integrations in all manifests () 2019-10-02 09:25:44 -07:00
Michał Mrozek
588bc26661 Add CO2 level reading for Kaiterra integration () 2019-09-27 17:42:32 +02:00
Michał Mrozek
fbe85a2eb2 Add Kaiterra integration ()
* add Kaiterra integration

* fix: split to multiple platforms

* fix lint issues

* fix formmating

* fix: docstrings

* fix: pylint issues

* Apply suggestions from code review

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>

* Adjust code based on suggestions

* Update homeassistant/components/kaiterra/sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>
2019-09-22 23:49:09 +02:00