Index entity_registry_updated listeners (#37940)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2020-07-17 21:59:18 -07:00
1 parent 9ae08585dc
commit 910b6c9c2c
4 files changed
+189 -19

No files matched your search

+1
View File
@@ -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(