#Something is wrong with my blueprint how
1 messages · Page 1 of 1 (latest)
This is what you look for...
expected dictionary @ data['action'][0]['choose'][0]['sequence'][0]. Got None expected dictionary @ data['action'][0]['default'][0]. Got None
follow that to see what step(s) are choking
You are probablty right where it's stopping
Have you made this work as an automation first
see the pins...
blueprint:
name: Motion light morning day night
domain: automation
input:
motion_sensor:
selector:
entity:
domain: binary_sensor
device_class: motion
morning_action:
default: []
selector:
action:
morning_delay:
default:
selector:
duration:
day_action:
default: []
selector:
action:
day_delay:
selector:
duration:
night_action:
default: []
selector:
action:
night_delay:
selector:
duration:
no_motion_detected:
default: []
selector:
action:
trigger:
- platform: state
entity_id: !input motion_sensor
from: "off"
to: "on"
action:
- choose:
- conditions:
- condition: and
conditions:
- condition: state
entity_id: input_boolean.nat
state: "on"
- condition: time
after: input_datetime.nat_start
before: input_datetime.morgen_start
sequence:
- choose:
- conditions: []
sequence: !input night_action
- delay: !input night_delay
- conditions:
- condition: time
after: input_datetime.dag_start
before: input_datetime.aften_start
sequence:
- choose:
- conditions: []
sequence: !input day_action
- delay: !input day_delay
default:
- choose:
- conditions: []
sequence: !input morning_action
- delay: !input morning_delay
- choose:
- conditions: []
sequence: !input no_motion_detected
mode: restart
looks like this fixes it
just using "empty" choose
The default is not lined up it looks
Start with a simplier version, get that to work. just 1 choose.
it works