Mattie
(Mattias)
1
I have searched but I really can’t find the answer to my problem, although I think I am very close
What I want is to create a switch that does the two rows below… is it possible using template switch or script?
{{ states.climate.fujitsu.attributes.temperature + 1 }}
{{ states.climate.fujitsu.attributes.temperature - 1 }}
This switch will then be used in an automation to keep the temperature on a certain level using my airconditioner
if the climatecomponent only had the setting it would be alot easier :S
elRadix
(elRadix)
2
I’m using sensor template, hope this helps
tmp_living_calibrated:
entity_id: sensor.tmp_living
value_template: '{{ (float(states.sensor.tmp_living.state) - 1.5 ) }}'
friendly_name: 'Living'
icon_template: mdi:thermometer
unit_of_measurement: "°C"
Mattie
(Mattias)
3
cant make it work,
currently it looks like this but nothing happens when i press the script
'1538156619373':
alias: Värmepump Temp +
sequence:
- data:
entity_id: climate.fujitsu
temperature: '''( {{ states.climate.fujitsu.attributes.temperature|int + 1 }}
)'''
service: climate.set_temperature