hi all
actually i try to create scenes for the light but i’m struggling in setting up the magichome device. i can create the color in automation with mqtt.publish. with the following code i can control all color at the same time.
- id: '1572620519359'
alias: Licht Wohnzimmer LED Stripe EIN
description: ''
trigger:
- entity_id: switch.licht_wohnzimmer_2
platform: state
to: 'on'
condition: []
action:
- alias: ''
data:
payload: 255,50,0,255
topic: Sonoff-1111/cmnd/Color2
service: mqtt.publish
how can i implement this mqtt.publish command in a scene?