Erik Montnemery
683c2f8d22
Add service for getting a weather forecast ( #97078 )
...
* Add service for getting a weather forecast
* Fix translations
* Improve service description
* Improve error handling
* Adjust typing
* Adjust typing
* Adjust service response format
2023-08-07 14:05:37 +02:00
G Johansson
4e30056830
Add new Forecasting to Weather ( #75219 )
...
* Add new Forecasting to Weather
* Add is_daytime for forecast_twice_daily
* Fix test
* Fix demo test
* Adjust tests
* Fix typing
* Add demo
* Mod demo more realistic
* Fix test
* Remove one weather
* Fix weather example
* kitchen_sink
* Reverse demo partially
* mod kitchen sink
* Fix twice_daily
* kitchen_sink
* Add test weathers
* Add twice daily to demo
* dt_util
* Fix names
* Expose forecast via WS instead of as state attributes
* Regularly update demo + kitchen_sink weather forecasts
* Run linters
* Fix rebase mistake
* Improve demo test coverage
* Improve weather test coverage
* Exclude kitchen_sink weather from test coverage
* Rename async_update_forecast to async_update_listeners
* Add async_has_listeners helper
* Revert "Add async_has_listeners helper"
This reverts commit 52af3664bb06d9feac2c5ff963ee0022077c23ba.
* Fix rebase mistake
---------
Co-authored-by: Erik <erik@montnemery.com>
2023-07-21 17:30:48 +02:00
G Johansson
58ce357870
Add uv_index to Weather Entity ( #96951 )
...
* Add uv_index to Weather Entity
* translation
* Update homeassistant/components/weather/__init__.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-07-21 14:07:10 +02:00
G Johansson
5d365ecb6b
Implement Wind Gust speed in Weather entity component ( #95065 )
...
* Weather wind gust speed
* strings
* No compat
2023-06-23 08:22:46 +02:00
Arjan
29ef925d73
Add humidity to weather forecast ( #95064 )
...
* allow humidty in forecast
* Add tests
* float
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-06-23 00:22:07 +02:00
G Johansson
893b74d77e
Add missing test for Apparent temperature in Weather component ( #95080 )
2023-06-22 23:19:51 +02:00
G Johansson
eafddaae83
Implement Cloud coverage in Weather entity component ( #95068 )
2023-06-22 23:10:36 +02:00
G Johansson
b8de7df609
Implement dew point in weather entity component ( #95072 )
2023-06-22 21:34:23 +02:00
G Johansson
6ad3b60adf
Implement Apparent temperature in Weather entity component ( #95070 )
2023-06-22 19:52:14 +02:00
epenet
aa50096a31
Add type hints to integration tests (part 24) ( #88307 )
2023-02-17 16:34:53 +01:00
Franck Nijhof
d3ed8de232
Update Ruff to v0.0.247 ( #88210 )
...
* Update Ruff to v0.0.247
* Fix new found violations
2023-02-15 16:46:03 -05:00
Franck Nijhof
e4a78420b8
Enable Ruff PT013 ( #86757 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-27 09:09:46 +01:00
Michael
9828b2d13f
Replace the usage of unit constants by enumerations in Tests [v-z] ( #85938 )
...
replace unit conts by enums v-z
2023-01-15 20:14:02 +02:00
Michael
b20eb54800
Replace deprecated unit converter utils ( #85927 )
2023-01-15 14:41:59 +01:00
epenet
e84e5f134e
Use US_CUSTOMARY_SYSTEM in tests ( #80658 )
...
* Use US_CUSTOMARY_SYSTEM in tests
* Don't update test_unit_system
2022-10-20 15:42:23 +02:00
G Johansson
90e1fb6ce2
Weather unit conversion ( #73441 )
...
Co-authored-by: Erik <erik@montnemery.com>
2022-06-23 10:48:30 +02:00
rianadon
3b3ab2c19c
Handle None values in weather entity forecast ( #61467 )
2021-12-16 22:01:32 +01:00
rianadon
09af85c6a4
Add native unit types for weather entities ( #59533 )
...
* Add native unit types for weather entities
* Update weatherentity and change precision in climacell test
* Move weather test to demo tests
* Add weather test for temperature conversion
* Add more unit conversion tests
* Remove extra native_ methods
* Remove extra properties and save precision change for another PR
* Remove visibility_unit from metoffice component
The vibility values given by metoffice are formatted into strings,
which means they can't automatically be converted.
* Improve docstrings and convert pressures in forecast
* Add precipitation and wind speed units
* Clean up tests
* Round converted weather values
* Round weather values to 2 decimal places
* Move number of rounding decimal places to constant
* Docstring and styles
2021-11-29 14:44:44 +01:00