This is the automation I want to convert to a blueprint (automating open window detection with Tado):
- id: 'xxxxx'
alias: Chauffage aan als raam dicht is
description: ''
trigger:
- platform: state
entity_id: sensor.kamer_1_open_window
from: 'True'
to: 'False'
condition: []
action:
- device_id: xxxxx
domain: climate
entity_id: climate.kamer_1
type: set_hvac_mode
hvac_mode: auto
The blueprint looks like this:
blueprint:
name: Tado open window detection
description: turns the Tado off when open window is detected
domain: automation
input:
open_window_sensor:
name: Open Window Sensor
selector:
entity:
domain: sensor
target_climate:
name: Climate Device
selector:
entity:
domain: climate
trigger:
platform: state
entity_id: !input open_window_sensor
from: 'True'
to: 'False'
action:
entity_id: !input target_climate
type: set_hvac_mode
hvac_mode: auto
But when I load this in Home Assistant, I keep getting the following exceptions:
Invalid blueprint: extra keys not allowed @ data['blueprint']['action']. Got OrderedDict([('entity_id', 'target_climate'), ('type', 'set_hvac_mode'), ('hvac_mode', 'auto')])
extra keys not allowed @ data['blueprint']['trigger']. Got OrderedDict([('platform', 'state'), ('entity_id', 'open_window_sensor'), ('from', 'True'), ('to', 'False')])
The error appears as soon as I put something in the trigger of action sections. Can anyone help me with this? I already checked for wierd characters.