Add MQTT debug info for remaining MQTT integrations (#33506)
This commit is contained in:
parent
c63ec698a1
commit
fbd197146a
26 changed files with 170 additions and 2 deletions
|
@ -37,6 +37,7 @@ from . import (
|
|||
MqttEntityDeviceInfo,
|
||||
subscription,
|
||||
)
|
||||
from .debug_info import log_messages
|
||||
from .discovery import MQTT_DISCOVERY_NEW, clear_discovery_hash
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
@ -155,6 +156,7 @@ class MqttBinarySensor(
|
|||
self.async_write_ha_state()
|
||||
|
||||
@callback
|
||||
@log_messages(self.hass, self.entity_id)
|
||||
def state_message_received(msg):
|
||||
"""Handle a new received MQTT state message."""
|
||||
payload = msg.payload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue