Add icon translations to GIOS (#110131)

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
This commit is contained in:
Maciej Bieniek 2024-02-09 23:28:11 +01:00 committed by GitHub
parent e81a9947e0
commit 0954e4cd73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 31 additions and 9 deletions

View file

@ -43,7 +43,7 @@ async def test_sensor(hass: HomeAssistant, entity_registry: er.EntityRegistry) -
state.attributes.get(ATTR_UNIT_OF_MEASUREMENT)
== CONCENTRATION_MICROGRAMS_PER_CUBIC_METER
)
assert state.attributes.get(ATTR_ICON) == "mdi:molecule"
assert state.attributes.get(ATTR_ICON) is None
entry = entity_registry.async_get("sensor.home_benzene")
assert entry