I want to automate ventilation. I would like to compare two temperature values. If the temperature in the garden is lower than in the cellar, something should happen.
But this dont work for me…
You are comparing values inside a trigger:. The best way is to trigger the automation every minute, for example, and compare values inside a condition:
Invalid config for [automation]: [platform] is an invalid option for [automation]. Check: automation->condition->0->platform. (See /home/pi/.homeassistant/configuration.yaml, line 75). Please check the docs at https://home-assistant.io/components/automation/
11:38 config.py (ERROR)
Any Idea?
This is my config…
- id: lueftersteuerung_keller_taupunktabhängig
alias: Lüftersteuerung Keller Taupunktabhängig
initial_state: ‘on’
trigger:
platform: time
minutes: ‘/1’
seconds: 00
condition:
platform: template
value_template: “{{ ( states.sensor.taupunkt_garten.state ) < ( states.sensor.taupunkt_keller.state ) }}”
action:
- service: switch.turn_on
entity_id: switch.lufter_keller
Hi there. I want to do a similar thing by comparing the temperature in my pools solar panel to the temp in the pool. I only want the binary sensor to be ‘on’ though if the solar panel is at least one degree above the pool temperature. How can I achieve that?
Hi Newbie here,
I’ve been following this thread with interest, but can I check the example above should platfrom not be “condition” as per the code below:
Hi.
I am totally new to home assistant and I am not programmer.
Can anybody help me to solve folowing.
I have two temperature sensors outside one on the west side and one on the east side so the temperature is different because the sun . I want to create template to compare this two sensors and the template value will be the lower temperature from both of them.