Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Use float values as states in schedy

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>