@Beartok wrote:
Hi there,
I’m new to home assistant and directly started with integrating schedy for my thermostats.
I want to create a custom template rule, that my thermostats are set to a specific temperature, when the humidity in one room is higher than a specific value. I found the following code snippet in the tutorial section and adapted it to my needs:
So i have some sensor templates which sum up the humidity in all rooms. I want to check if the humidity in a room is beyond a specific value and set a temperature for the thermostat:schedule_prepend: - x: "23 if not is_empty(filter_entities('sensor', state>50 , schedy_room=room_name )) else Next()"
However i get a TypeError “’>’ not supported between instances of ‘method’ and ‘int’”.
Can anyone tell me how i get this working?
Posts: 1
Participants: 1