Anil Daoud
8eaf471dd2
Improve error handing in kaiterra data retrieval when no aqi data is present ( #112885 )
...
* Update api_data.py
change log level on typeerror on line 103 from error to debug, it occurs too often to be useful as an error
* Update api_data.py
restore error level and add a type check instead
* Update homeassistant/components/kaiterra/api_data.py
actually filter for aqi being None rather than None or 0
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-05-15 16:22:58 +02:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] ( #112736 )
2024-03-08 19:15:59 +01:00
Marc Mueller
a9147cf3dd
Use builtin TimeoutError [k-n] ( #109681 )
2024-02-05 12:08:18 +01:00
Marc Mueller
71d985e4d6
Use asyncio.timeout [i-n] ( #98450 )
2023-08-15 14:32:15 +02:00
Anil Daoud
3846efecc5
Handle kaiterra ClientConnectorError exception ( #77428 )
...
* 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
Anil Daoud
6cd3b45b74
Kaiterra type issue ( #66867 )
2022-02-19 15:44:18 +01:00
J. Nick Koston
10d6247fee
Bump to aiohttp 3.8.0 ( #58974 )
2021-11-04 10:07:50 -05:00
Marc Mueller
1bcf39517a
Use assignment expressions 13 ( #57938 )
2021-10-21 08:27:42 +02:00
Michał Mrozek
afa7e0bfe8
fix: exception after kaiterra api call timeout ( #27622 )
2019-10-13 22:01:40 -07:00
Michał Mrozek
588bc26661
Add CO2 level reading for Kaiterra integration ( #26935 )
2019-09-27 17:42:32 +02:00
Michał Mrozek
fbe85a2eb2
Add Kaiterra integration ( #26661 )
...
* 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