Beim abspeicher bekomme ich diese Fehlermeldung
Message malformed: extra keys not allowed @ data[‘action’]
hier nochmal die Automatin, was habe ich falsch gemacht? ich habe type: turn_off gelöscht und action: light.turn_off. eingefügt
alias: Bewegungsmelder Flur
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.gruppe_bewegungsmelder_flur
to: "on"
from: "off"
id: Bewegung Flur erkannt
- platform: state
entity_id:
- binary_sensor.gruppe_bewegungsmelder_flur
from: "on"
to: "off"
id: Bewegungsmelder Flur Normal
for:
hours: 0
minutes: 2
seconds: 0
condition: []
action:
- if:
- condition: trigger
id:
- Bewegung Flur erkannt
- condition: numeric_state
entity_id: sensor.aqara_lichtsensor_t1_illuminance_lux
below: 20
then:
- data: {}
target:
entity_id: light.shellypro1_30c6f78201d0_switch_0
action: light.turn_on
- if:
- condition: trigger
id:
- Bewegungsmelder Flur Normal
then:
action: light.turn_off
device_id: 157594be82c4b1520c24bda171b1da1f
entity_id: 937c46088a09f05789bf70836bb722c8
domain: light
mode: single