Add MQTT debug info for remaining MQTT integrations (#33506)
This commit is contained in:
1 parent
c63ec698a1
commit
fbd197146a
26 files changed
+170
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user