Enable StateStream and it will publish all events to MQTT.
Add this to your configuration.yaml file: Copy to Clipboard
mqtt_statestream:
base_topic: homeassistant
publish_attributes: true
publish_timestamps: true
https://www.home-assistant.io/integrations/mqtt_statestream/ In your MQTT client, subscribe to "#" and you will receive all events, and can parse the ones that you need. |