1
mirror of https://github.com/home-assistant/core synced 2024-08-28 03:36:46 +02:00
Commit Graph

191 Commits

Author SHA1 Message Date
Joost Lekkerkerker
8b0c96a212
Clean up met config flow (#107480) 2024-01-08 08:11:30 +01:00
Jan-Philipp Benecke
5901f6f7e7
Move met coordinator to own module (#103546) 2023-11-08 16:55:09 +01:00
Jan Rieger
bb8375da72
Report correct weather condition at night for Met (#103334)
* Report correct weather condition at night for Met, fixes #68369, fixes #89001

* Update homeassistant/components/met/weather.py

Co-authored-by: Jan-Philipp Benecke <github@bnck.me>

---------

Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
2023-11-04 09:48:02 +01:00
G Johansson
85d49a2920
Fix Met Device Info (#103082) 2023-10-31 08:31:53 +01:00
Jan Bouwhuis
4b9296f4f1
Code quality issue met integration (#101768)
* Fix unreachable code for met integration

* Make code better readable
2023-10-10 19:58:43 +02:00
Michael Thingnes
c8eb62cf4e
Remove thimic as metno code owner (#101553) 2023-10-06 21:38:05 +02:00
Jan Bouwhuis
01410c9fbb
Shorthanded attrs for met integration (#100334) 2023-09-13 17:11:47 -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
c17f08a3f5
Create a single entity for new met.no config entries (#98098)
* Create a single entity for new met.no config entries

* Fix lying docstring

* Fix test
2023-08-17 19:41:11 +02:00
Sebastian Lövdahl
fde498586e
Expose dew point in Met.no (#98543) 2023-08-17 07:45:23 +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
3a0822e03b
Modernize met.no weather (#97952) 2023-08-07 14:06:16 +02:00
Marc Mueller
77f38e33e5
Import names from typing instead of typing_extensions [3.11] (#97065) 2023-07-22 17:03:44 -05:00
Paulus Schoutsen
c8d4225117
Met: use correct device info keys (#95644) 2023-07-01 06:05:28 -04:00
G Johansson
537cc9ed86
Use new attributes in Met (#95099) 2023-06-26 18:04:10 +02: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
Martin Malina
d2d21b4158
Show current day in met weather forecast (#91891)
Version 0.10.0 of pyMetno added the option
to defined range_start when calling get_forecast:
https://github.com/Danielhiversen/pyMetno/pull/35/files

So let's use that to include today in the forecast.
2023-05-24 16:07:59 +02: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
Chris Xiao
e617bfb1bb
Display unit of elevation in met config flow (#88283)
* display unit of elevation in met config flow

Co-authored-by: lijake8 <lijake8@users.noreply.github.com>
Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com>

* use NumberSelector for met config flow

* met remove unused is_metric param

---------

Signed-off-by: Chris Xiao <30990835+chrisx8@users.noreply.github.com>
Co-authored-by: lijake8 <lijake8@users.noreply.github.com>
2023-03-28 11:51:35 +02:00
Chris Xiao
93c681ae58
Add options flow for met (#88525)
* implement options flow for met

* add tests for met options flow

* fix met options flow tests

* fix met options flow when tracking home
2023-02-22 10:18:58 +01:00
Chris Xiao
7a884a9d61
Only do unit conversion of met elevation when set in config entry (#88491)
convert met elevation unit only when it exists in config entry

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-20 22:46:13 +01:00
Erik Montnemery
1d64ba9d34
Sort manifests 6 (#87027) 2023-02-08 20:38:43 +01:00
Marc Mueller
f7b39aa4a8
Add Self typing (3) [mypy 1.0] (#87600) 2023-02-06 22:30:07 -06: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
5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
Franck Nijhof
baef267f33
String formatting and max line length - Part 3 (#84394) 2022-12-22 13:35:47 +01:00
epenet
d72c28a135
Use UnitOfLength in integrations (#84034) 2022-12-15 12:42:53 +01:00
epenet
c092f2be04
Use new unit enums in weather integrations (#82938) 2022-11-29 18:13:05 +01:00
epenet
1445e08090
Replace is_metric with is METRIC_SYSTEM (#80262) 2022-10-14 12:22:11 +02:00
GitHub Action
7eb101b0c7 [ci skip] Translation update 2022-10-04 00:37:13 +00:00
epenet
24c26dc032
Use unit_conversion in components (#79204)
* Use unit_conversion in components

* Two more
2022-09-28 16:05:31 +02:00
G Johansson
59aef20e99
Add missing typing met config flow (#78645) 2022-09-18 11:46:43 +02:00
GitHub Action
bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
GitHub Action
32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
GitHub Action
cb46441b74 [ci skip] Translation update 2022-08-05 00:28:51 +00:00
Franck Nijhof
d6ceebbb68
Migrate Met.no to new entity naming style (#74908) 2022-07-10 13:13:22 -07:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
G Johansson
25a5ebe0c7
Met.no use native_* (#74259) 2022-06-30 10:47:29 -07:00
GitHub Action
b6b72f50ec [ci skip] Translation update 2022-05-22 00:22:43 +00:00
GitHub Action
ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
GitHub Action
348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
Simone Chemelli
0f8595e8a7
Fix retry when Met config entry fails (#70012) 2022-04-16 18:04:09 +02:00
Franck Nijhof
af6953157f
Remove deprecated YAML configuration from Met.no (#69027) 2022-03-31 13:08:51 -07:00
Marc Mueller
830cc278d3
Improve CoordinatorEntity typing (#68441) 2022-03-21 10:22:30 +01:00
Marc Mueller
db4b69663f
Fix met TypeVar usage (#68152)
* Fix met TypeVar usage

* Change format_condition
2022-03-15 15:53:40 +01:00
GitHub Action
102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00
GitHub Action
c4cc6ca0ba [ci skip] Translation update 2022-02-20 00:20:09 +00:00
GitHub Action
ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action
77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00