Hi,
I am adding functionallity to pre heat my Audi to home assistant. It works when I set it up as an action in the visual view but I would like to be able to have input toggles to say which seats it should heat up and if it should head the windshield also. I have tried the following which looks correct in developer tools. i.e. it shows True or False which is what is expected. (There is also a VIN number but I left that out here for obvious reasons)
action: audiconnect.start_climate_control
data:
glass_heating: false
seat_fl: {{states('input_boolean.car_seat_front_left')=='on'}}
seat_fr: {{states('input_boolean.car_seat_front_right')=='on'}}
seat_rl: {{states('input_boolean.car_seat_rear_left')=='on'}}
seat_rr: {{states('input_boolean.car_seat_rear_right')=='on'}}
When I try to use this I get the following message:
Failed to perform the action script/car_heating. invalid boolean value {[object Object]": None) for dictionary
value @ data['seat_fl]
I tried to add “” or ‘’ but I guess as this is a boolean they should not be there…
All input is much appreciated, thanks!