I went from 1.09 to 1.14 and since the the input boolean condition I am checking is giving me errors
- id: '1600641383986'
alias: AanLux
description: ''
trigger:
- below: '30'
entity_id: sensor.luxwk
platform: numeric_state
condition:
- condition: state
entity_id: input_boolean.first_run
state: 'off'
action:
- data:
entity_id: input_boolean.first_run
service: input_boolean.turn_on
mode: single
Error: Invalid config for [automation]: required key not provided @ data[‘trigger’]. Got None.
The script was checking LUX value in the living room. Turns on the light if it get below 30, but only if the boolean is off and when its turning the light on, the boolean is turned on.
Next morning on sun up, there is a other script that turns the bollean off again.
This was working before my upgrade and every example I can find on HA website en community website got the same boolean condition script.
What am I doing wrong ?