Commit Graph

138 Commits (e3e93df187346c009404b7748480a12b99b541a9)

Author SHA1 Message Date
epenet 2900fa733d
Use reauth_confirm in co2signal (#124781) 2024-08-28 20:43:11 +02:00
Marc Mueller 44049c34f9
Use PEP 695 type alias for ConfigEntry types (#117632) 2024-05-17 15:42:58 +02:00
Marc Mueller 6bb2ab519f
Use runtime_data for co2signal (#116612) 2024-05-02 14:04:21 +02:00
Joost Lekkerkerker 6bb4e7d62c
Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller aa16a9d707
Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
Paulus Schoutsen f416d67d21
Remove built-in support for import_executor in manifest (#112725) 2024-03-08 12:02:32 -05:00
Marc Mueller ff3a801936
Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
J. Nick Koston ee69a3ea8a
Import co2signal in the executor to avoid blocking the event loop (#112058) 2024-03-02 15:14:04 -05:00
Erik Montnemery 6fe28d3764
Migrate integrations a-d to generic flowhandler (#111861) 2024-02-29 20:07:14 +01:00
Jan-Philipp Benecke fb878836a8
Handle no data error in Electricity Maps config flow (#110259)
Co-authored-by: Viktor Andersson <30777521+VIKTORVAV99@users.noreply.github.com>
2024-02-12 15:03:29 +01:00
Jan-Philipp Benecke fc5f4bd5b8
Bump aioelectricitymaps to 0.4.0 (#109895) 2024-02-08 08:42:22 +01:00
Jan-Philipp Benecke 1e5ab3ad47
Bump aioelectricitymaps to 0.3.1 (#109797) 2024-02-06 15:16:15 +01:00
Jan-Philipp Benecke 99fcff47f9
Bump aioelectricitymaps to 0.3.0 (#109399)
* Bump aioelectricitymaps to 0.3.0

* Fix tests
2024-02-03 00:04:41 +02:00
Jan-Philipp Benecke 7e99ddcac9
Bump aioelectricitymaps to 0.2.0 (#109150) 2024-01-30 23:48:56 -05:00
Jan-Philipp Benecke 2e19829d88
Use new config entry update/abort handler in co2signal (#108715) 2024-01-23 13:03:16 +01:00
Jan-Philipp Benecke 4d5a511001
Add icon translations to co2signal (#108611) 2024-01-21 21:23:11 +01:00
Jan-Philipp Benecke 32b6e4d5de
Bump aioelectricitymaps to v0.1.6 (#106932) 2024-01-03 08:52:41 +01:00
Marc Mueller fde03d7888
Enable strict typing for co2signal (#106888) 2024-01-02 20:41:39 +01:00
Erik Montnemery 0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Joost Lekkerkerker e4453ace88
Add country code constant (#105640) 2023-12-13 16:50:46 +01:00
Viktor Andersson 12019ec77c
Add myself as code owner for co2signal (#105302) 2023-12-08 21:22:34 +01:00
Jan-Philipp Benecke b49505b390
Add reauth flow to co2signal (#104507) 2023-11-26 20:45:45 +01:00
Jan-Philipp Benecke 724352d55c
Use AsyncMock and fixtures in co2signal tests (#104041) 2023-11-24 18:56:58 +01:00
Jan-Philipp Benecke 194104f5f8
Remove CO2Signal entity description required fields mixin (#104031) 2023-11-15 13:14:12 +01:00
Jan-Philipp Benecke 685537e475
Exchange co2signal package with aioelectricitymaps (#101955) 2023-11-13 13:48:33 -06:00
Jan-Philipp Benecke f891fb6b41
Make location types in co2signal translatable (#102127) 2023-10-16 23:13:14 +02:00
Jan-Philipp Benecke 1c60597e41
Make co2signal state attribute translatable (#101337) 2023-10-03 21:19:32 +02:00
Joost Lekkerkerker 65c8da3bf1
Correct JSONDecodeError in co2signal (#101206) 2023-10-01 18:28:53 +02:00
Jan-Philipp Benecke b9a3863645
Handle json decode exception in co2signal (#100857)
* Handle json decode exception in co2signal

* Update homeassistant/components/co2signal/coordinator.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Fix import

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-09-25 21:21:01 +02:00
Jan-Philipp Benecke 2b8690d8bc
Remove platform const in co2signal coordinator (#100592) 2023-09-19 12:44:09 +02:00
Jan-Philipp Benecke adf34bdf8b
Set co2signal integration type to service (#100543) 2023-09-18 12:56:35 +02:00
Jan-Philipp Benecke dc2afb71ae
Move co2signal coordinator to its own file (#100541)
* Move co2signal coordinator to its own file

* Fix import
2023-09-18 11:56:28 +02:00
Jan-Philipp Benecke b5c6e82374
Move co2signal models to their own file (#100478) 2023-09-16 11:49:49 +02:00
Jan-Philipp Benecke c504ca906d
Move co2signal exceptions to their own file (#100473)
* Move co2signal exceptions to their own file

* Add myself as codeowner
2023-09-16 11:18:19 +02:00
Jan Rieger 74a57e8676
Use more common translations (#100135) 2023-09-12 19:44:31 +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
Meow 024d646526
Aligned integration manifest files (#97175) 2023-07-25 08:33:56 +02:00
Mads Nedergaard 025ed3868d
Rename CO2Signal to Electricity Maps (#96252)
* Changes names and links

* Changes link to documentation

* Updates generated integration name
2023-07-13 11:57:31 -04:00
Paulus Schoutsen 7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
J. Nick Koston 7995d3777a
Fix package names to match pypi index metadata (#93883)
* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* uses _

* uses -

* fix metadata
2023-05-31 21:12:53 -04:00
Michael 03e9cb233f
Add entity name translations to CO2signal (#90877) 2023-04-06 10:39:49 +02:00
Erik Montnemery 87420e949d
Sort manifests 2 (#87023) 2023-02-08 20:16:39 +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
GitHub Action d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
Marc Mueller 1cc8feabb7
Remove unnecessary try-else (1) (#86158) 2023-01-18 14:24:52 +01:00
epenet 1766df3faa
Improve integration type hints for diagnostics (#85526) 2023-01-09 15:17:48 +01:00
GitHub Action 7f3f271a59 [ci skip] Translation update 2022-12-16 00:23:03 +00:00
GitHub Action 03154e1d83 [ci skip] Translation update 2022-12-03 00:21:50 +00:00
GitHub Action 0d1f476bee [ci skip] Translation update 2022-12-01 00:33:36 +00:00
GitHub Action 197e71203b [ci skip] Translation update 2022-11-30 00:26:16 +00:00