When I am creating an automation based on the following blueprint I get the error “Blueprint Time-activated Device generated invalid automation with inputs OrderedDict([(‘target_device’, ‘switch.example_switch’), (‘target_time’, ‘23:15:00’)]): expected a dictionary for dictionary value @ data[‘action’][0][‘target’]. Got None”
A bit of searching seems there is something wrong with either my spacing or the inputs, and I’ve compared with other blueprints/automations but can’t seem to find the issue. Anyone has any ideas?
Blueprint:
blueprint:
name: Time-activated Device
description: Turn on a device (switch) at a specific time
domain: automation
input:
target_device:
name: Device
selector:
entity:
domain: switch
target_time:
name: Time
selector:
time:
mode: restart
variables:
target_device: !input target_device
target_time: !input target_time
trigger:
platform: time
at: !input target_time
action:
- service: switch.turn_on
target: !input target_device
Automation (the real ID has been masked):
- id: '0000000000001'
alias: Testing Time
description: ''
use_blueprint:
path: Custom/device_on_at_time.yaml
input:
target_device: switch.example_switch
target_time: '23:15:00'