Add entity translations for Abode (#94169)

This commit is contained in:
Joost Lekkerkerker 2023-06-22 16:03:28 +02:00 committed by GitHub
parent 8e93045857
commit 6ceb973606
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -37,7 +37,7 @@ async def test_attributes(hass: HomeAssistant) -> None:
assert state.attributes.get(ATTR_FRIENDLY_NAME) == "Environment Sensor Humidity"
assert state.attributes.get(ATTR_DEVICE_CLASS) == SensorDeviceClass.HUMIDITY
state = hass.states.get("sensor.environment_sensor_lux")
state = hass.states.get("sensor.environment_sensor_illuminance")
assert state.state == "1.0"
assert state.attributes.get(ATTR_UNIT_OF_MEASUREMENT) == "lx"