Commit Graph

27 Commits

Author SHA1 Message Date
Álvaro Fernández Rojas
5ef12c3993 Add AEMET Weather Radar images (#131386)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-12-23 15:51:21 +01:00
Álvaro Fernández Rojas
5c2d769b54 Enable AEMET data cache (#131226) 2024-12-21 11:30:46 +01:00
Álvaro Fernández Rojas
0033ce4f96 Update AEMET-OpenData to v0.6.3 (#131303) 2024-11-23 17:27:56 +01:00
epenet
fc0547ccdf Pass the config entry explicitly in aemet coordinator (#128097) 2024-11-04 19:23:48 +01:00
Marc Mueller
44049c34f9 Use PEP 695 type alias for ConfigEntry types (#117632) 2024-05-17 15:42:58 +02:00
epenet
010ed8da9c Use ConfigEntry runtime_data in aemet (#117411) 2024-05-14 10:59:55 +02:00
Álvaro Fernández Rojas
78f3f67e3a Update AEMET-OpenData to v0.5.0 (#111155)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-02-22 21:47:21 +02:00
Álvaro Fernández Rojas
b72d64a3dc Disable AEMET legacy options (#107795)
* aemet: disable legacy options

This enables proper timezone handling:
- Atlantic/Canary for the Canary Islands.
- Europe/Madrid for the Iberian Peninsula.

Also provides daily data for the current day after AEMET stops providing the
full day interval, which is normally after midday (12:00).
This is a breaking change because with the previous behaviour the daily data
for the current day wasn't available after midday and now it will be.
What the integration library does to workaround this is to fallback to the
12-24 interval data if the the 00-24 is no longer provided by the API.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* Fix AEMET tests with v0.4.8

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

---------

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-02-22 12:52:57 +01:00
Álvaro Fernández Rojas
9036d67588 Rename AEMET weather_update_coordinator (#107740)
* aemet: rename weather_update_coordinator

Use "coordinator" instead, like other integrations.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* coverage: remove AEMET coordinator

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

---------

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-01-10 20:33:44 +01:00
Álvaro Fernández Rojas
cb0517d20e Update AEMET-OpenData to v0.4.6 (#102996) 2023-10-30 18:54:50 +01:00
Álvaro Fernández Rojas
7ec2496c81 Handle timeouts on AEMET init (#102289)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-10-19 10:42:31 +02:00
Álvaro Fernández Rojas
5549f697cf Update AEMET-OpenData to v0.4.5 (#100818)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-09-24 22:18:31 +02:00
Álvaro Fernández Rojas
fae82731e1 Simplify and improve AEMET coordinator updates (#99273) 2023-08-29 08:43:14 -05:00
Álvaro Fernández Rojas
3f2d2a85b7 Update AEMET-OpenData to v0.4.0 (#99015)
* Update AEMET-OpenData to v0.4.0

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* Trigger Github CI

---------

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-08-25 12:53:26 +02:00
Álvaro Fernández Rojas
30628766ae Update AEMET-OpenData to v0.3.0 (#98810) 2023-08-22 23:21:42 +02:00
J. Nick Koston
cd03c49fc2 Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
Erik Montnemery
a7158fee67 Revert "Migrate aemet to native_*" (#74471) 2022-07-05 22:24:08 +02:00
Erik Montnemery
0768ed453d Migrate aemet to native_* (#74037) 2022-07-04 14:06:32 +02:00
Tomasz
e9f6bc7364 Add missing return type to async_unload_entry and async_setup_entry (#57115) 2021-10-06 10:48:11 +02:00
tkdrob
d1c4d0de49 Use bool annotations for setup entries (#51166) 2021-05-27 17:39:06 +02:00
tkdrob
c0656878db Normalize async_setup_entry (#51161) 2021-05-27 15:56:20 +02:00
Álvaro Fernández Rojas
9247a157d8 Add AEMET conditional station updates (#50227) 2021-05-14 13:28:48 +02:00
J. Nick Koston
51be2f860a Reduce boilerplate to setup config entry platforms A-C (#49681)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-26 07:46:55 -10:00
Franck Nijhof
bb9da22a84 Clean up superfluous integration setup - part 3 (#48484) 2021-03-29 13:23:44 -10:00
J. Nick Koston
a851bff95a Create async_config_entry_first_refresh to reduce coordinator boilerplate (#48451) 2021-03-29 12:51:39 -10: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
Álvaro Fernández Rojas
eecf07d7df Add AEMET OpenData integration (#45074)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 21:53:28 +01:00