Commit Graph

93 Commits (5c71ba578db1ba433c3275184016b006ec6cae67)

Author SHA1 Message Date
Zero King 9c11f6547a
Fix forecast pressure unit in OpenWeatherMap (#49069) 2021-04-12 11:56:35 +02:00
HomeAssistant Azure c7d19d5115 [ci skip] Translation update 2021-04-12 00:04:19 +00:00
Phil Hollenback e38fce98c4
Fix non-metric atmospheric pressure in Open Weather Map (#49030)
The openweathermap component retrieves atmospheric pressure from the
openweathermap api and passes it along without checking the units.
The api returns pressure in metric (hPa).  If you the use the weather
forecast card on a non-metric home assistant install, you will then
see the pressure reported as something like '1019 inHg', which is an
incorrect combination of metric value and non-metric label.

To fix this, check when retrieving the pressure if this is a metric
system.  If not, convert the value to non-metric inHg before sending
it along.

Weirdly, this isn't a problem for temperature, so I suspect temp is
getting converted somewhere else.
2021-04-11 11:13:07 +02:00
Hans Kröner 2765256b61
Account for openweathermap 'dew_point' not always being present (#48826) 2021-04-08 13:39:53 +02:00
Marc Mueller 2956eb0902
Update pylint to 2.7.3 (#48488)
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -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
Erik Montnemery c900e3030b
Migrate integrations n-q to extend SensorEntity (#48214) 2021-03-22 19:46:46 +01:00
Hans Kröner 86d3baa34e
Improve OWM Precipitation sensors (#47945) 2021-03-17 17:39:47 +01:00
HomeAssistant Azure c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Hans Kröner 362e7226e9
Additional sensors for OpenWeatherMap (#47806) 2021-03-12 12:55:13 -08:00
Erik Montnemery 14a59d290a
Update integrations j-o to override extra_state_attributes() (#47758) 2021-03-11 20:11:25 +01:00
Evgeny cf507b51cb
Add feels like temperature sensor to OpenWeatherMap (#47559) 2021-03-08 13:51:26 +01:00
Diogo Gomes d3bd2378ba
Correct weather entities forecast time (#47565) 2021-03-07 16:07:02 +01:00
N1c093 9101ed2732
Add precipitation probability forecast to owm (#47284)
* Add precipitation probability forecast to owm

* Update weather_update_coordinator.py

Reformat the code based on black
2021-03-07 00:48:22 +01: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
Fabian Affolter 5ec4360ac1
Upgrade pyowm to 3.2.0 (#47042) 2021-02-25 13:08:44 +01:00
HomeAssistant Azure 0cb1f61deb [ci skip] Translation update 2021-02-21 00:07:04 +00:00
HomeAssistant Azure c6bd5b1b71 [ci skip] Translation update 2021-02-05 00:03:54 +00:00
Paulus Schoutsen 959ed6d077 Update translations 2021-02-03 11:46:49 +01:00
Philip Allgaier 5677adc104
Fix all forecast datetime values in OpenWeatherMap (#45202) 2021-01-15 23:32:38 +01:00
bchastain 3800a4feee
Add pressure to OWM forecast data (#43843) 2021-01-14 19:47:48 +01:00
Philip Allgaier 402a0ea7da
Fix OpenWeatherMap forecast timestamp (#45124) 2021-01-14 08:47:45 +01:00
Fabian Affolter 5e0eea21d4
Upgrade pyowm to 3.1.1 (#44706) 2020-12-31 20:02:59 -10:00
HomeAssistant Azure 5bdf022bf2 [ci skip] Translation update 2020-12-20 00:04:36 +00:00
HomeAssistant Azure 9c63fbfcb1 [ci skip] Translation update 2020-12-07 00:04:18 +00:00
springstan f221bfae52
Report correct weather condition at night for OpenWeatherMap (#42982) 2020-11-30 09:32:06 +01:00
springstan dd4f41c1db
Use weather attribute conditions constants (#39945) 2020-11-20 21:04:03 +01:00
HomeAssistant Azure 262fadd9bc [ci skip] Translation update 2020-11-18 00:09:55 +00:00
Paulus Schoutsen 54f3d9078a Update translations 2020-11-11 12:10:09 +01:00
HomeAssistant Azure eebf0ef336 [ci skip] Translation update 2020-11-08 00:04:05 +00:00
Randall Wessel 239b3f059b
Change air pressure unit to hPa in OpenWeatherMap (#42801) 2020-11-07 20:29:57 +01:00
HomeAssistant Azure 57c6bb96f4 [ci skip] Translation update 2020-11-07 00:04:02 +00:00
Niccolo Zapponi 5ddf99e496
Add support for OpenWeatherMap One Call API (#39839) 2020-11-03 08:37:30 -10:00
HomeAssistant Azure aab0ff2ea5 [ci skip] Translation update 2020-11-03 00:04:39 +00:00
springstan caa378d7aa
Add mode to base strings for config flows (#42373) 2020-10-26 23:29:49 -05:00
HomeAssistant Azure ed232ac733 [ci skip] Translation update 2020-10-24 00:05:17 +00:00
HomeAssistant Azure b102ad731f [ci skip] Translation update 2020-10-22 00:09:52 +00:00
HomeAssistant Azure 81296b2b70 [ci skip] Translation update 2020-10-20 00:08:00 +00:00
HomeAssistant Azure 1a03bbda5a [ci skip] Translation update 2020-10-18 00:03:28 +00:00
Philip Allgaier dde6305549
Cleanup unused loggers (components N-Z + tests) (#41982) 2020-10-16 21:24:08 -05:00
HomeAssistant Azure 994ae09f69 [ci skip] Translation update 2020-10-15 00:03:50 +00:00
HomeAssistant Azure f787289ea0 [ci skip] Translation update 2020-10-12 00:03:31 +00:00
HomeAssistant Azure 80522f1bdc [ci skip] Translation update 2020-10-11 00:03:37 +00:00
HomeAssistant Azure 6ae12c3faf [ci skip] Translation update 2020-10-10 00:05:05 +00:00
HomeAssistant Azure 29aea5a66c [ci skip] Translation update 2020-10-09 00:04:33 +00:00
HomeAssistant Azure d73d36d0cd [ci skip] Translation update 2020-10-08 00:06:03 +00:00
Maciej Bieniek 81ceb3e499
Add already_configured_location to base strings for config flows (#41335)
* Add already_configured_location key

* Use already_configured_location in Airly

* Use already_configured_location in Flu Near You

* Use already_configured_location in OpenUV

* Use already_configured_location in Open Weather Map

* Use already_configured_location in AirVisual
2020-10-06 22:34:06 -05:00
HomeAssistant Azure 486c0b644a [ci skip] Translation update 2020-10-07 00:06:20 +00:00
HomeAssistant Azure bcfa4ac959 [ci skip] Translation update 2020-10-06 00:08:09 +00:00
HomeAssistant Azure 8d1d585b40 [ci skip] Translation update 2020-10-05 00:04:23 +00:00