mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Humidifier current humidity (#94874)
This commit is contained in:
@@ -4,6 +4,7 @@ import pytest
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.humidifier import (
|
||||
ATTR_CURRENT_HUMIDITY,
|
||||
ATTR_HUMIDITY,
|
||||
ATTR_MAX_HUMIDITY,
|
||||
ATTR_MIN_HUMIDITY,
|
||||
@@ -43,6 +44,7 @@ def test_setup_params(hass: HomeAssistant) -> None:
|
||||
state = hass.states.get(ENTITY_DEHUMIDIFIER)
|
||||
assert state.state == STATE_ON
|
||||
assert state.attributes.get(ATTR_HUMIDITY) == 54
|
||||
assert state.attributes.get(ATTR_CURRENT_HUMIDITY) == 59
|
||||
|
||||
|
||||
def test_default_setup_params(hass: HomeAssistant) -> None:
|
||||
|
||||
Reference in New Issue
Block a user