Rename Particulate matter sensors to PM (#91384)
This commit is contained in:
parent
fc8c5f1bbd
commit
ce16d8eeac
10 changed files with 67 additions and 105 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue