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

Automation: Sending Helper value through Call Service > mqtt

$
0
0

Hi, I have a value stored in a Helper name victron_acpowersetpoint that I edit through the front-end, and when it changes, the value need to be sent through MQTT. I tried the following, which is not working:

alias: Set AcPowerSetpoint
description: ''
trigger:
  - platform: state
    entity_id: input_select.victron_acpowersetpoint
condition: []
action:
  - service: mqtt.publish
    data:
      topic: input_select.victron_acpowersetpoint
      qos: '1'
      payload_template: '{{trigger.payload}},{{ input_select.victron_acpowersetpoint }}'
mode: single

Any advise?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 111905

Trending Articles



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