Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

MQTT trigger doesnt work

$
0
0

@dinth wrote:

Ive got MQTT messages like this:

zwave/Kitchen/Remote/91/1/1 "Pressed 2 Times"
zwave/Kitchen/Remote/91/1/1 "Inactive"

and wanted them to trigger an automation:

  - id: kitchen_remote_front_garden_light_on
    alias: Kitchen remote front garden light on
    trigger:
      platform: mqtt
      topic: zwave/Kitchen/Remote/91/1/1
      payload: "Pressed 2 Times"

Unfortunatelly this automation never gets triggered. Triggering it by the service works, so the automation works fine, just doesnt trigger.
I bet it has something to do with spaces with payload, but how can i fix that?

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>