Add icon translations to GIOS (#110131)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
This commit is contained in:
parent
e81a9947e0
commit
0954e4cd73
3 changed files with 31 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue