Im trying to create an rule to turn a shelly Duo RGB-bulb by a (433-)switch.
The rule I try to use is this:
- id: 'xxxxxx'
alias: UtelysOn
description: ''
trigger:
- platform: device
type: turned_on
device_id: yyyyyy
entity_id: switch.utelyssoft
domain: switch
condition: []
action:
- type: turn_on
device_id: zzzzz
entity_id: light.utelys
domain: light
data:
brightness: 130
rgb_color: [255,0,0]
HA -response:
Logger: homeassistant.config
Source: config.py:455
First occurred: 14:53:04 (1 occurrences)
Last logged: 14:53:04
Invalid config for [automation]: [data] is an invalid option for [automation]. Check: automation->data. (See /config/configuration.yaml, line 8).
I guess I need some guiding here…