mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +00:00
Remove AEMET daily precipitation sensor test (#100118)
This commit is contained in:
parent
d8445a79fc
commit
9c65e59cc8
@ -6,7 +6,6 @@ from homeassistant.components.weather import (
|
|||||||
ATTR_CONDITION_PARTLYCLOUDY,
|
ATTR_CONDITION_PARTLYCLOUDY,
|
||||||
ATTR_CONDITION_SNOWY,
|
ATTR_CONDITION_SNOWY,
|
||||||
)
|
)
|
||||||
from homeassistant.const import STATE_UNKNOWN
|
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
import homeassistant.util.dt as dt_util
|
import homeassistant.util.dt as dt_util
|
||||||
|
|
||||||
@ -26,9 +25,6 @@ async def test_aemet_forecast_create_sensors(
|
|||||||
state = hass.states.get("sensor.aemet_daily_forecast_condition")
|
state = hass.states.get("sensor.aemet_daily_forecast_condition")
|
||||||
assert state.state == ATTR_CONDITION_PARTLYCLOUDY
|
assert state.state == ATTR_CONDITION_PARTLYCLOUDY
|
||||||
|
|
||||||
state = hass.states.get("sensor.aemet_daily_forecast_precipitation")
|
|
||||||
assert state.state == STATE_UNKNOWN
|
|
||||||
|
|
||||||
state = hass.states.get("sensor.aemet_daily_forecast_precipitation_probability")
|
state = hass.states.get("sensor.aemet_daily_forecast_precipitation_probability")
|
||||||
assert state.state == "30"
|
assert state.state == "30"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user