diff --git a/src/data/mqtt.ts b/src/data/mqtt.ts index 9c744085fd78..7d66e062f5b1 100644 --- a/src/data/mqtt.ts +++ b/src/data/mqtt.ts @@ -22,6 +22,7 @@ export interface MQTTEntityDebugInfo { entity_id: string; discovery_data: MQTTDiscoveryDebugInfo; subscriptions: MQTTTopicDebugInfo[]; + transmitted: MQTTTopicDebugInfo[]; } export interface MQTTTriggerDebugInfo { diff --git a/src/panels/config/devices/device-detail/integration-elements/mqtt/dialog-mqtt-device-debug-info.ts b/src/panels/config/devices/device-detail/integration-elements/mqtt/dialog-mqtt-device-debug-info.ts index dd85ebe90fe5..5488cdcec8c7 100644 --- a/src/panels/config/devices/device-detail/integration-elements/mqtt/dialog-mqtt-device-debug-info.ts +++ b/src/panels/config/devices/device-detail/integration-elements/mqtt/dialog-mqtt-device-debug-info.ts @@ -164,6 +164,7 @@ class DialogMQTTDeviceDebugInfo extends LitElement { ${topic.topic} - + + + ` + )} + + Transmitted messages: +