I have a old automation that I had not used in awhile that sets brightness_pct and
turns on 4 lights.
It used to work perfectly but now when I run it it only turns on the first light and
does not set the brightness_pct.
If I remove the brightness_pct all 4 lights come on fine.
Have tried formatting the entity_id: in every way possible and still does not work.
Was also trying to get it to work in the Automation Editor does anyone know how
to select multiple entities in the editor.
Tried using Ctl or Shift and then clicking on multiple items but that does not work.
Running HassOS v108.6
action:
- data:
brightness_pct: 10
entity_id: light.sengled_e11g13_03092ed4_1, light.sengled_e12n14_03099ca9_1,
light.sengled_e12n14_0309bf86_1, light.sengled_e12n14_0309cda5_1
service: light.turn_on
Solved using Scene
Add scene: to your configuration.yaml
or if you want to edit in the UI create a scenes.yaml
and add a include to your configuration.yaml
- id: ‘1587454451114’
name: KitchenOn
entities:
light.sengled_e11g13_03092ed4_1:
brightness_pct: 5
friendly_name: Kitchen Island (Center) d4
state: ‘on’
supported_features: 41
light.sengled_e12n14_03099ca9_1:
brightness_pct: 5
friendly_name: Kitchen Island (Out) a9
state: ‘on’
supported_features: 41
light.sengled_e12n14_0309bf86_1:
brightness_pct: 5
friendly_name: Kitchen Island (Window) 86
state: ‘on’
supported_features: 41
light.sengled_e12n14_0309cda5_1:
brightness_pct: 5
friendly_name: Kitchen (Sink) a5
state: ‘on’
supported_features: 41
Holy crap this is annoying.
When I created it in my configuration.yaml It worked perfect.
Then added the include to be able to edit it in the UI and now nothing works.
Tried deleting the scenes.yaml and converting back to configuration.yaml
even tried changing it to scene old: and still not working.
Anyone have a idea how to make this work correctly.
I know the UI editor is a work in process but was trying to use it since dev
seams to be going that direction.
Going back to yaml for now if I can get this to work.