Good day,
In ‘Developer Tools’ in services i get this code to set a temperature on a thermostat and it works fine:
- type: icon
icon: mdi:chevron-up
tap_action:
action: call-service
service: climate.set_temperature
data:
temperature: 19
target:
entity_id: climate.a_woonkamer
When i want to call the service in a icon in a ‘Picture Element’ i use this code:
- type: icon
icon: mdi:chevron-up
tap_action:
action: call-service
service: climate.set_temperature
data:
temperature: 19
target:
entity_id: climate.a_woonkamer
style:
top: 15%
left: 5%
color: white
transform: translate(-50%, -50%) scale(1, 1)
When i push the button i get this error:
can’t call climate/set_temperature. must contain at least one of temperature, target_temp_high, target_temp.
What is the problem? i use MQTT.
Thanks in advance for your time!!!
Rick