Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106780

Yaml syntax for RGB/LIFX Z zones (NOT "location zones")

$
0
0

Hello,
I can specify the segments in a lifx strip by using:

      - service: lifx.set_state
        data:
          entity_id: light.lifx_z_6f8cce
          color_name: "yellow"
          brightness: 50
          zones: [0, 1]

or I can use this syntax

zones:
  - 1
  - 2

but I have 4 LIFX strips linked together to create 32 zones I was hoping to do something like specify a range to keep things small and elegant such as:

zones: [ 8 - 32 ]

However the above doesn’t work (but it does validate ok)
Is there another method to provide a range?
Thanks in advance

Cam

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106780

Trending Articles