I know that I’m trying to subtract and string and a number (i think) but with all my research I can not figure out how to. I’ve tried several different things I’ve found searching and can not get anything to work. I keep getting error: expected int for dictionary value @ data[‘below’]. Got None.
Here is the input: code
vent_open_fan: name: Vent Open During Fan Circulation default: 97 selector: number: min: 3 max: 97
and the line that keeps giving me the error I removed everything I’ve tried and just left the !input and number I want to subtract
- condition: device domain: cover entity_id: !input room_vent device_id: !input room_vent type: is_position below: !input vent_open_fan - 10
Any help is much appreciated. Still trying different things.