Closed jkulker closed 2 years ago
With a number helper named leaf_aircon_temperature_helper (adjust its value on a entity card) and a button card, this works like a charm:
show_name: true show_icon: true type: button tap_action: action: call-service service: mqtt.publish data: topic: leaf/command/climate payload_template: >- startC {{ states('input_number.leaf_aircon_temperature_helper') | float | round() }} target: {} entity: sensor.leaf_climaterunningstatus icon: mdi:air-conditioner show_state: true name: AC - Start heat @ icon_height: 50px
Sorry for the poorly inserted code.
@yp87 I guess you can close this, its not an issue, its a help request and its answered :-)
Hi there,
I try this for my switch sensor but it is not working:
Any ideas how to implement this correctly