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

Reference input_text value in button press

$
0
0

I have a button that when pressed, will set an IR blasters text input to a value that I have saved in an input_text helper.

The code I have so far does not appear to pass the input_text value but rather the explicit code instead.

type: custom:mushroom-template-card
primary: Fireplace Power
secondary: ""
icon: mdi:fireplace
layout: vertical
grid_options:
  columns: 4
  rows: auto
tap_action:
  action: perform-action
  perform_action: text.set_value
  target:
    device_id: 9b4c36f6d974198686b2c14c98f263bc
  data:
    value: "{{states('input_text.fireplace_power')}}"
icon_color: "#ffdb6b"
entity: input_text.fireplace_power

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106217

Trending Articles



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