Hello,
I want to start a "light show sequence on my anavi light controller.
As I understant I have to publish the corresponding topy with the right value.
This part is on the automation.yaml file.
But for the front panel part I have some trouble.
I created a boolean in the configuration.yaml:
input_boolean:
start_light_show_1:
name: light_show
initial: off
icon: mdi:stairs
Is that right ?
the name of the boolean will be input_boolean.start_light_show_1 on the front panel ? is that right.
From the automation part,
I wrote:
déclencher le light show
- id: “light_show”
alias: “Light show start”
trigger:- platform: state
entitiy_id: binary_sensor.start_light_show_1
from: “off”
to: ‘on’
action:- service: mqtt.publish
data:
topic: “cmnd/b0704d58c57d3b4bbacadaf645505c4/color”
payload: “effect: rainbow1”
- service: mqtt.publish
- platform: state
But I have an error message:
Invalid config for [automation]: [entitiy_id] is an invalid option for [automation]. Check: automation->trigger->0->entitiy_id. (See /config/configuration.yaml, line 13). Please check the docs at https://home-assistant.io/components/automation/
Line 13 is the call of the automation script.
Many thanks for your help because I don’t find a document to help me for the begining…
Best regards and thanks for the community !
Thierry