Index entity_registry_updated listeners (#37940)
This commit is contained in:
1 parent
9ae08585dc
commit
910b6c9c2c
4 files changed
+189
-19
No files matched your search
@@ -338,6 +338,7 @@ async def test_cleanup_device(hass, device_reg, entity_reg, mqtt_mock):
|
||||
# Verify state is removed
|
||||
state = hass.states.get("sensor.mqtt_sensor")
|
||||
assert state is None
|
||||
await hass.async_block_till_done()
|
||||
|
||||
# Verify retained discovery topic has been cleared
|
||||
mqtt_mock.async_publish.assert_called_once_with(
|
||||
|
||||
Reference in new issue
Block a user