I need help. I want that my fan is controlled with a switch and a slider. When the slider is higher then 0 the fan should turn of after …minutes(the slider goes from 0 to 10). But when the slider is on 0 I want the fan to turn on “forever”.
Invalid config for [automation]: invalid template (TemplateSyntaxError: expected token 'end of statement block', got 'int') for dictionary value @ data['action'][0]['service_template']. Got None. (See /config/configuration.yaml, line 27).
Invalid config for [automation]: [template] is an invalid option for [automation]. Check: automation->action->0->template. (See /config/configuration.yaml, line 46).