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:
@@ -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",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user