Use the default entity names in GIOS (#90700)

This commit is contained in:
Maciej Bieniek 2023-04-03 12:42:55 +02:00 committed by GitHub
parent 34041c7564
commit eb748416ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 37 deletions

View file

@ -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"