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

How to change color light?

$
0
0

Excuse the use of language. Because I am using a translator: /

This my automation:

alias: Tramo Actual
description: ‘’
trigger:

  • platform: state
    entity_id: sensor.electricperiod
    condition: []
    action:
  • choose:
    • conditions:
      • condition: state
        entity_id: sensor.electricperiod
        state: Valle
        sequence:
      • type: turn_on
        device_id: 3b9501733261d7713019e95931292c2f
        entity_id: light.xiaomi_gateway_light
        domain: light
        brightness_pct: 100
    • conditions:
      • condition: state
        entity_id: sensor.electricperiod
        state: Llana
        sequence:
      • type: turn_on
        device_id: 3b9501733261d7713019e95931292c2f
        entity_id: light.xiaomi_gateway_light
        domain: light
        brightness_pct: 50
    • conditions:
      • condition: state
        entity_id: sensor.electricperiod
        state: Punta
        sequence:
      • type: turn_on
        device_id: 3b9501733261d7713019e95931292c2f
        entity_id: light.xiaomi_gateway_light
        domain: light
        brightness_pct: 10
        default: []
        mode: single

Testing: data:
rgb_color: [255,0,0]

I got an error, I can’t quite understand what I’m doing wrong …

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 107849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>