mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Rename Particulate matter sensors to PM (#91384)
This commit is contained in:
@@ -19,9 +19,7 @@ async def test_async_setup_entry(hass: HomeAssistant) -> None:
|
||||
"""Test a successful setup entry."""
|
||||
await init_integration(hass)
|
||||
|
||||
state = hass.states.get(
|
||||
"sensor.nettigo_air_monitor_sds011_particulate_matter_2_5_mm"
|
||||
)
|
||||
state = hass.states.get("sensor.nettigo_air_monitor_sds011_pm2_5")
|
||||
assert state is not None
|
||||
assert state.state != STATE_UNAVAILABLE
|
||||
assert state.state == "11.0"
|
||||
|
||||
Reference in New Issue
Block a user