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

Automation: MQTT trigger with templatized topic

$
0
0

I cannot find an answer to this
Is it possible (and how) to use a template to describe the topic of a mqtt trigger?

I.e; is something similar to

trigger:
- platform: mqtt
  topic: "{{ stream_topic }}/sensor/#"

possible in some form?

Thanks

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106211

Trending Articles



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