I think i’m making things more complicated than nescessary but i need some help with the folowing:
In my bathroom i have ventilation triggered by a seperate humidity sensor. This works fine, but now i want the trigger value to change with the metrological seasons.
i made a sensor to determine the metrological season which gives me a value of summer,spring, autumn or winter.
Next i created a sensor [sensor.lv_drempelwaarde] to set the trigger value based on the season. For example: ‘winter’ gives a value of 69 and summer a value of 80.
So far so good and working.
The big question:
How do i use the value from the sensor [sensor.lv_drempelwaarde] in my automation to control the ventilation?
My current automation:
- id: '1538217836354'
alias: Badkamer Ventileren
- above: '73' ## This value has to be the value from [sensor.lv_drempelwaarde] ##
entity_id: sensor.vochtsensor_badkamer # This is my humidity sensor
- alias: ''
So to be short:
above: ‘73’ <-- the ‘73’ must become the value from my custom sensor [sensor.lv_drempelwaarde]