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