functionpointer
5bd2d27488
Fix Tibber get_prices when called with aware datetime ( #123289 )
...
* Tibber: Add extra test to expose aware/naive datetime issue
* Tibber: Fix get_prices action not working with aware datetimes
* Tibber: Simplify comparison
* Tibber: Combine timezone tests into single parametrized one
* Tibber: Split test again to prevent if statement
2024-10-02 08:43:31 +02:00
Sebastian Nohn
dd10a833db
Fix tibber fails if power production is enabled but no power is produced ( #126209 )
...
* fix #125312 - tibber integration fails if power production is enabled but no power is produced
* fix requirements_all.txt
2024-09-19 09:11:57 +02:00
epenet
7e2e3c4780
Rename HassEnforceCoordinatorModule ( #125592 )
2024-09-10 08:40:49 +02:00
Kristian Haugene
25cdd737a9
Add current intraday price ranking to Tibber price sensor ( #124595 )
2024-08-28 18:05:27 +02:00
Erik Montnemery
38ef216894
Update icons.json to new service schema part 4 ( #124771 )
2024-08-28 13:48:13 +02:00
functionpointer
e447d83024
Use ssl util in Tibber ( #123369 )
...
Tibber: Use homeassistant.util.ssl
2024-08-28 03:04:08 +02:00
functionpointer
48292beec8
Update pyTibber to 0.30.1 ( #124407 )
...
Update to pyTibber==0.30.1
2024-08-27 13:19:15 +02:00
Michael
59d72bb4ed
Use better config validation for integrations with legacy setup method, but only config entry setup ( #123203 )
...
use config_entry_only_config_schema over cv.removed
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-08-18 00:49:39 +02:00
epenet
f03759295f
Refactor Tibber realtime entity creation ( #118031 )
2024-06-21 16:52:09 +02:00
Jirka
a3356f4ee6
Fix typo in Tibber service description ( #119354 )
2024-06-11 09:36:12 +02:00
Bas Brussee
b30a924e03
Add price service call to Tibber ( #117366 )
...
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2024-06-10 21:16:51 +02:00
Jan Bouwhuis
066cd6dbef
Improve repair issue when notify service is still being used ( #118855 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-06-05 15:41:22 +02:00
Bas Brussee
bff2d3e2ee
Revert "Fix Tibber sensors state class" ( #118409 )
...
Revert "Fix Tibber sensors state class (#117085 )"
This reverts commit 658c1f3d97
.
2024-05-31 10:50:22 -04:00
epenet
e7ce01e649
Enforce namespace import in components ( #118218 )
2024-05-27 12:50:11 +02:00
Marc Mueller
dd22ee3dac
Improve annotation styling ( #118032 )
2024-05-24 15:05:53 +02:00
epenet
d4df86da06
Move TibberDataCoordinator to separate module ( #118027 )
2024-05-24 11:05:54 +02:00
J. Nick Koston
5a609c34bb
Fix blocking I/O in the event loop when loading timezones ( #117721 )
2024-05-20 11:06:03 +02:00
Bas Brussee
658c1f3d97
Fix Tibber sensors state class ( #117085 )
...
* set correct state classes
* revert bool to pass mypy locally
2024-05-17 09:10:08 -04: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
Daniel Hjelseth Høyer
830e8d7b94
Fix statistic bug in Tibber sensor ( #116112 )
...
* Handle keyError in Tibber sensor
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
* Constant
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
---------
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2024-04-24 20:00:06 +02:00
Sid
82a60fe8ad
Enable Ruff RSE ( #113695 )
2024-03-18 00:40:38 +01:00
Joost Lekkerkerker
96cebdf096
Improve lists in integrations [T-U] ( #113243 )
2024-03-13 17:54:46 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] ( #112736 )
2024-03-08 19:15:59 +01:00
Marc Mueller
062cc4bfce
Add empty line after module docstring [t-v] ( #112705 )
2024-03-08 10:35:23 -05:00
Joakim Sørensen
e691e45017
Use description key instead of name for Tibber RT unique ID ( #112035 )
...
* Use translation key instead of name for Tibber RT unique ID
* migration
* use decription.key instead
2024-03-02 17:48:27 +01:00
Erik Montnemery
b0ed8c4961
Migrate integrations s-t to generic flowhandler ( #111865 )
2024-02-29 22:16:14 +01:00
Marc Mueller
8b0c9d3d18
Use builtin TimeoutError [t-z] ( #109683 )
2024-02-05 12:20:36 +01:00
Jan-Philipp Benecke
a6c697c80f
Add entity name translations to Tibber ( #108797 )
2024-02-02 14:03:21 +01:00
Jan-Philipp Benecke
95aea1488d
Add pylint plugin to check if coordinator is placed in its own module ( #108174 )
...
* Add pylint plugin to check if coordinator is placed in its own module
* Remove unintended changes
* Remove pylint disable and let CI only fail on W,E,F
* Make check conventional
* Apply review suggestion
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Use option instead
* Remove pylint arguments from pre-commit
* Partially revert "Remove pylint disable and let CI only fail on W,E,F"
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-01-29 10:30:19 +01:00
Daniel Hjelseth Høyer
af7155df7a
Fix link in Tibber configuration menu ( #104322 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-25 11:41:20 +01:00
Jan Rieger
74a57e8676
Use more common translations ( #100135 )
2023-09-12 19:44:31 +02:00
Daniel Hjelseth Høyer
d88ee0dbe0
Update Tibber library to 0.28.2 ( #99115 )
2023-09-02 15:08:49 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry ( #98149 )
...
* Move DeviceInfo from entity to device registry
* Update integrations
2023-08-10 22:04:26 -04:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device ( #96479 )
...
* Require keyword arguments to DeviceRegistry.async_get_device
* Update tests
* Update tests
* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Daniel Hjelseth Høyer
7e686db4be
Tibber upgrade lib, improve reconnect issues ( #96276 )
...
Tibber upgrade lib, improve recoonect issues
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2023-07-11 14:09:20 -04:00
tronikos
faacf1658f
Fix error in tibber while fetching latest statistics ( #93998 )
2023-06-03 08:25:39 -05:00
J. Nick Koston
89d8bda4ba
Bump pyTibber to 0.27.2 ( #92136 )
2023-04-27 22:00:07 +02:00
Daniel Hjelseth Høyer
9d3a0d676a
Update tibber lib to 0.27.1 ( #92016 )
2023-04-25 13:40:48 -05:00
epenet
86b4354477
Improve native_value type hints in integrations ( #90033 )
2023-03-21 11:40:06 +01:00
J. Nick Koston
5ffb233004
Avoid database executor job to fetch statistic metadata on cache hit ( #89960 )
...
* Avoid database executor job to fetch statistic metadata on cache hit
Since we will almost always have a cache hit fetching
statistic meta data we can avoid an executor job
* Avoid database executor job to fetch statistic metadata on cache hit
Since we will almost always have a cache hit fetching
statistic meta data we can avoid an executor job
* Avoid database executor job to fetch statistic metadata on cache hit
Since we will almost always have a cache hit fetching
statistic meta data we can avoid an executor job
* remove exception catch since the threading.excepthook will actually catch this in production
* fix a few missed ones
* threadsafe
* Update homeassistant/components/recorder/table_managers/statistics_meta.py
* coverage and optimistic caching
2023-03-19 22:01:16 -04:00
J. Nick Koston
a6d6807dd0
Add typing to statistics results ( #89118 )
2023-03-14 09:06:56 -10:00
ztamas83
811e286f0f
Test coverage for Tibber config flow ( #89088 )
...
* Test coverage for Tibber config flow
* Fix isort and ruff errors
2023-03-05 20:38:47 -05: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
Martin Hjelmare
08aae9cccd
Remove tibber monthly cost state class ( #88542 )
2023-02-21 15:39:15 +01:00
Daniel Hjelseth Høyer
e96210fced
Fix Tibber stats ( #88025 )
2023-02-14 08:14:10 -06:00
Daniel Hjelseth Høyer
e0235fbb30
Update tibber lib 0.26.13 ( #88018 )
2023-02-13 16:46:25 -06:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
Erik Montnemery
b0b1d8143f
Sort manifests 10 ( #87031 )
2023-02-08 20:41:50 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core ( #87543 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof
fcb612cd6f
Collection of code styling tweaks ( #87344 )
2023-02-03 23:51:27 +01:00