1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Fix cleanup of MQTT debug info (#66104)

This commit is contained in:
Erik Montnemery
2022-02-08 21:49:25 +01:00
committed by GitHub
parent 07b3d23835
commit 55d8314093
4 changed files with 16 additions and 18 deletions

View File

@@ -1766,7 +1766,7 @@ async def test_debug_info_multiple_entities_triggers(hass, mqtt_mock):
} in discovery_data
async def test_debug_info_non_mqtt(hass, device_reg, entity_reg):
async def test_debug_info_non_mqtt(hass, device_reg, entity_reg, mqtt_mock):
"""Test we get empty debug_info for a device with non MQTT entities."""
DOMAIN = "sensor"
platform = getattr(hass.components, f"test.{DOMAIN}")