mirror of
https://github.com/home-assistant/core.git
synced 2026-09-28 02:18:10 -04:00
Remove scale calculation for climacell cloud cover (#52752)
This commit is contained in:
committed by
Paulus Schoutsen
parent
edf517681c
commit
757388cc31
@@ -182,7 +182,7 @@ async def test_v4_sensor(
|
||||
check_sensor_state(hass, PRESSURE_SURFACE_LEVEL, "997.9688")
|
||||
check_sensor_state(hass, GHI, "0.0")
|
||||
check_sensor_state(hass, CLOUD_BASE, "1.1909")
|
||||
check_sensor_state(hass, CLOUD_COVER, "1.0")
|
||||
check_sensor_state(hass, CLOUD_COVER, "100")
|
||||
check_sensor_state(hass, CLOUD_CEILING, "1.1909")
|
||||
check_sensor_state(hass, WIND_GUST, "5.6506")
|
||||
check_sensor_state(hass, PRECIPITATION_TYPE, "rain")
|
||||
|
||||
@@ -228,7 +228,7 @@ async def test_v3_weather(
|
||||
assert weather_state.attributes[ATTR_WEATHER_VISIBILITY] == 9.9940
|
||||
assert weather_state.attributes[ATTR_WEATHER_WIND_BEARING] == 320.31
|
||||
assert weather_state.attributes[ATTR_WEATHER_WIND_SPEED] == 14.6289
|
||||
assert weather_state.attributes[ATTR_CLOUD_COVER] == 1
|
||||
assert weather_state.attributes[ATTR_CLOUD_COVER] == 100
|
||||
assert weather_state.attributes[ATTR_WIND_GUST] == 24.0758
|
||||
assert weather_state.attributes[ATTR_PRECIPITATION_TYPE] == "rain"
|
||||
|
||||
@@ -391,6 +391,6 @@ async def test_v4_weather(
|
||||
assert weather_state.attributes[ATTR_WEATHER_VISIBILITY] == 13.1162
|
||||
assert weather_state.attributes[ATTR_WEATHER_WIND_BEARING] == 315.14
|
||||
assert weather_state.attributes[ATTR_WEATHER_WIND_SPEED] == 15.0152
|
||||
assert weather_state.attributes[ATTR_CLOUD_COVER] == 1
|
||||
assert weather_state.attributes[ATTR_CLOUD_COVER] == 100
|
||||
assert weather_state.attributes[ATTR_WIND_GUST] == 20.3421
|
||||
assert weather_state.attributes[ATTR_PRECIPITATION_TYPE] == "rain"
|
||||
|
||||
Reference in New Issue
Block a user