J. Nick Koston
5a609c34bb
Fix blocking I/O in the event loop when loading timezones ( #117721 )
2024-05-20 11:06:03 +02:00
Jan Bouwhuis
a1bc929421
Migrate Tibber notify service ( #116893 )
...
* Migrate tibber notify service
* Tests and repair flow
* Use notify repair flow helper
* Cleanup strings after using helper, use HomeAssistantError
* Add entry state assertions to unload test
* Update comment
* Update comment
2024-05-12 19:52:08 +02:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] ( #112736 )
2024-03-08 19:15:59 +01:00
Marc Mueller
8b0c9d3d18
Use builtin TimeoutError [t-z] ( #109683 )
2024-02-05 12:20:36 +01:00
Toni Juvani
f69aa7ad9d
Update pyTibber to 0.27.0 ( #86940 )
...
* Update pyTibber to 0.27.0
* Handle new exceptions
2023-03-02 10:11:34 -05:00
ztamas83
5040b94330
Retry tibber setup ( #81785 )
...
* Handle integration setup retries
* Fix black error
* Update to falsy check
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Remove duplicated log
* Update exception message
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-11-08 16:09:58 +01:00
Daniel Hjelseth Høyer
e3233f72ce
Tibber strict typing ( #79407 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-10-26 12:41:23 +02:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards ( #73806 )
2022-07-09 17:27:42 +02:00
epenet
24314f1b11
Use Platform enum in load_platform [m-z] ( #63751 )
2022-01-10 10:45:11 +01:00
epenet
a4fdaffb14
Add setup type hints [t-u] ( #63480 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 17:19:19 +01:00
epenet
e5ba34b9f9
Add init type hints [misc] ( #63261 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 12:08:14 +01:00
Franck Nijhof
eb5a321a9f
Mark removed config schemas as removed ( #61014 )
2021-12-21 12:46:10 +01:00
Marc Mueller
b79b35abb5
Use platform enum (7) [T-Z] ( #60948 )
...
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-04 14:10:01 +01:00
Daniel Hjelseth Høyer
ba6bdff04e
Re-add Tibber notify service name ( #54401 )
...
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-08-10 20:14:10 +02:00
Daniel Hjelseth Høyer
a05392fbf2
Tibber, remove yaml support ( #53235 )
2021-07-20 20:07:06 +02:00
Franck Nijhof
704a996956
Deprecate Tibber YAML configuration ( #50646 )
2021-05-15 13:17:10 +02:00
J. Nick Koston
4b74c57285
Reduce config entry setup/unload boilerplate T-U ( #49786 )
2021-04-27 22:19:57 +02:00
J. Nick Koston
1193c5360d
Fix memory leak in tibber ( #49465 )
2021-04-20 09:13:41 -07:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* 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
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements ( #39320 )
...
* Remove unnecessary exception re-wraps
* Preserve exception chains on re-raise
We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.
The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.
Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.
* Fix mistaken re-wrap in homematicip_cloud/hap.py
Missed the difference between HmipConnectionError and
HmipcConnectionError.
* Do not hide original error on plex new cert validation error
Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
Daniel Høyer Iversen
5a2528b0f1
Tibber config flow ( #34469 )
...
* tibber config, wip
* read config from yaml
* sync requirements
* style
* add model property
* unique id
* unique id
* Tibber config, unique id
* test doc
* tibber config, update title
* append _el_price
* Update homeassistant/components/tibber/__init__.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* unique id
* tibber config flow
* tibber config flow
* fix test for python 3.8
* update test imports
* move _async_current_entries
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-05-03 14:40:19 +02:00
Daniel Høyer Iversen
b5118c41a6
Add Tibber retry ( #32554 )
...
* Add retry setup to Tibber
* tibber lib
* update comment
* update comment
* increase delay for every try
* Update homeassistant/components/tibber/__init__.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-03-08 12:20:33 +01:00
Michał Mrozek
45694de2ee
move imports in tibber component ( #27584 )
2019-10-13 22:25:54 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Daniel Høyer Iversen
03052802a4
Tibber, off peak values ( #25320 )
...
* Tibber, off peak values
* style
* style
* refactor
* style
2019-07-29 09:29:45 +03:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Daniel Høyer Iversen
2e02efed10
Handle disonnect bug in Tibber library ( #22629 )
2019-04-01 10:33:38 -07:00
Daniel Høyer Iversen
77e7b63f4a
Tibber add support for Watty ( #22397 )
2019-03-26 14:02:10 +01:00
Daniel Høyer Iversen
86a510441c
Upgrade tibber libary, support solar production ( #22261 )
2019-03-21 16:46:25 -04:00
Daniel Høyer Iversen
54dfc3e2b4
Tibber, Add price level ( #22085 )
...
* Add price level to Tibber sensor
* bump pyTibber version
2019-03-17 09:34:50 +01:00
Daniel Høyer Iversen
732110b4c3
Upgrade tibber lib ( #21486 )
2019-02-27 16:33:26 -08:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
Daniel Høyer Iversen
ae84a91ea8
Upgrade tibber library ( #20504 )
...
* Upgrade tibber library
* Upgrade tibber library
2019-01-27 17:39:56 +01:00
Daniel Høyer Iversen
e4f42d1282
Update Tibber lib ( #20289 )
2019-01-21 16:12:03 +01:00
Daniel Høyer Iversen
2eb5ce9dfe
Update Tibber library ( #20273 )
2019-01-20 21:37:02 +01:00
Daniel Høyer Iversen
0987219b28
Tibber Pulse for homes without subscriptions ( #20246 )
2019-01-19 10:23:22 -08:00
Daniel Høyer Iversen
16ab799798
Upgrade tibber library ( #19768 )
2019-01-04 17:59:46 +01:00
Daniel Høyer Iversen
1428919f98
Tibber, improve server reconnection ( #19574 )
2018-12-26 13:03:06 +01:00
Daniel Høyer Iversen
a58b3aad59
Upgrade Tibber lib ( #19098 )
2018-12-07 19:33:06 +01:00
Daniel Høyer Iversen
d4c8024522
Add support for more Tibber Pulse data ( #19033 )
2018-12-06 09:30:11 +01:00
Daniel Høyer Iversen
df3c683023
Improve err handling
2018-12-03 20:53:18 +01:00
Daniel Høyer Iversen
08dbd792cd
Improve logging and error handling
2018-12-02 15:35:59 +01:00
Daniel Høyer Iversen
6b2f50b29e
Improve real time consumption for Tibber sensor ( #18517 )
2018-11-16 14:19:54 -05:00
Daniel Høyer Iversen
f0a0ce504b
Better error handling in Tibber ( #18363 )
...
* Better error handling in Tibber
* return if received error
2018-11-11 14:06:21 +01:00
Daniel Høyer Iversen
3366d2c1ad
Tibber login validate ( #18235 )
...
* tibber login validate
* requirements
2018-11-05 23:29:42 +01:00
Daniel Høyer Iversen
05d8c57212
Tibber component and notify ( #17062 )
...
* Refactor tibber, and Tibber notify
* update Tibber lib.
* tibber
* Tibber coveragerc
* Tibber upgrade lib
* style
* comments
* use async_get_service
* event
2018-10-04 09:29:49 +02:00