Use the default entity names in GIOS (#90700)
This commit is contained in:
parent
34041c7564
commit
eb748416ed
3 changed files with 37 additions and 37 deletions
|
@ -18,7 +18,7 @@ async def test_async_setup_entry(hass: HomeAssistant) -> None:
|
|||
"""Test a successful setup entry."""
|
||||
await init_integration(hass)
|
||||
|
||||
state = hass.states.get("sensor.home_pm2_5")
|
||||
state = hass.states.get("sensor.home_particulate_matter_2_5_mm")
|
||||
assert state is not None
|
||||
assert state.state != STATE_UNAVAILABLE
|
||||
assert state.state == "4"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue