Commit graph

22 commits

Author SHA1 Message Date
G Johansson
65230908c6
Remove deprecated forecast attribute from WeatherEntity (#110761)
* Remove deprecated forecast attribute from WeatherEntity

* Fix some

* Ruff

* ipma

* buienradar

* some more

* Some more

* More and more

* strings

* attr_forecast

* Fix nws

* Fix

* remove from coverage

* Remove recorder test

* Review comments
2024-03-27 16:51:29 +01:00
G Johansson
3ba1b82723
Remove hourly weather entity from met_eireann (#112449) 2024-03-25 11:30:50 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Joost Lekkerkerker
7202126751
Add Met eireann to strict typing (#107486) 2024-01-08 09:13:15 +01:00
Jan Bouwhuis
a7c6abfed1
Use shorthand atts for met_eireann (#100335) 2023-09-13 17:11:27 -05:00
Erik Montnemery
c47983621c
Teach CoordinatorWeatherEntity about multiple coordinators (#98830) 2023-08-24 11:28:20 +02:00
Erik Montnemery
3e7ec88703
Add CoordinatorWeatherEntity (#98777) 2023-08-21 23:10:16 +02:00
Erik Montnemery
3cf86d5d1f
Create a single entity for new met_eireann config entries (#98100) 2023-08-15 20:56:19 +02:00
Marc Mueller
78ac36e3fe
Improve met_eireann generic typing (#98278) 2023-08-11 23:08:21 +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
0d55a7600e
Modernize met_eireann weather (#98030) 2023-08-08 14:21:52 +02:00
Paulus Schoutsen
86912d2409
Met Eireann: fix device info (#95683) 2023-07-02 10:31:30 -04:00
epenet
a616ac2b60
Move attribution constants to entity attributes (#90519)
* Move attribution constants to entity attributes

* Adjust meteo france

* Adjust meteoclimatic

* Adjust nws
2023-03-31 14:25:49 +02:00
epenet
c092f2be04
Use new unit enums in weather integrations (#82938) 2022-11-29 18:13:05 +01:00
donoghdb
671f129317
Fix met_eireann default wind speed unit (#77229)
Update default units
2022-08-24 08:18:10 +02:00
Erik Montnemery
1c0ece6ac1
Migrate met_eireann weather to native_* (#74391)
Co-authored-by: avee87 <6134677+avee87@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-07-04 14:20:47 +02:00
epenet
7df339f436
Add weather setup type hints (#63301)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:27:33 +01:00
Matt
dab2b17a17
Added configuration_url for Met Eireann integration (#60380) 2021-11-26 00:10:20 +01:00
Ville Skyttä
39691faccc
Use DeviceEntryType in non-typechecked code too (#58646) 2021-11-23 10:04:33 +01:00
rianadon
a102c425a9
Add speed conversion function & add speed to units system (#53846)
* Add speed conversion function

* Add test for speed utility functions

* Update unit system tests

* Fix incorrect unit conversions in tests

* Fix some test errors

* Calculate speed units from smaller set of constants

* Fix typo in speed test

* Use pytest.approx for checking floating point values

* Change other instance of speeds needing to be pytest.approx

* Revert changes to unit system

* Fix oopsie in defining in/day and in/hr

* Parametrize test

* Add comments describing calculations & remove duplicate test
2021-11-09 08:12:28 +01:00
Robert Hillis
f2a5c4602e
Use DeviceInfo Class L-M (#58312) 2021-10-25 23:26:40 +02:00
Dylan Gore
f3399aa8aa
Add a new weather integration - Met Éireann (#39429)
* Added a new weather integration - Met Éireann

* Fix codespell error

* Update met_eireann to use CoordinatorEntity

* Remove deprecated platform setup

* Fix merge conflict

* Remove unnecessary onboarding/home tracking code

* Use common strings for config flow

* Remove unnecessary code

* Switch to using unique IDs in config flow

* Use constants where possible

* Fix failing tests

* Fix isort errors

* Remove unnecessary DataUpdateCoordinator class

* Add device info

* Explicitly define forecast data

* Disable hourly forecast entity by default

* Update config flow to reflect requested changes

* Cleanup code

* Update entity naming to match other similar components

* Convert forecast time to UTC

* Fix test coverage

* Update test coverage

* Remove elevation conversion

* Update translations for additional clarity

* Remove en-GB translation
2021-04-05 23:23:57 +02:00