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

Log transmitted MQTT messages (#65550)

This commit is contained in:
Erik Montnemery
2022-02-04 17:35:32 +01:00
committed by GitHub
parent a95988c970
commit 8245ff7473
41 changed files with 341 additions and 177 deletions

View File

@@ -541,7 +541,14 @@ async def test_entity_id_update_discovery_update(hass, mqtt_mock):
async def test_entity_debug_info_message(hass, mqtt_mock):
"""Test MQTT debug info."""
await help_test_entity_debug_info_message(
hass, mqtt_mock, number.DOMAIN, DEFAULT_CONFIG, payload="1"
hass,
mqtt_mock,
number.DOMAIN,
DEFAULT_CONFIG,
SERVICE_SET_VALUE,
service_parameters={ATTR_VALUE: 45},
command_payload="45",
state_payload="1",
)