Xiaomi Gateway LED colours

Hi everyone,

I’m trying to turn the gateway into a night light when some motion is detected. However i can’t seem to get the RBG bit working. I don’t know if there are only specific colours you can use but this is my automation config so far with no joy. I can change it in the app just not through home assistant.

- alias: Sensor one doesn't detects motion
    platform: state
    entity_id: binary_sensor.motion_sensor_158d000304223d
    to: 'off'
    - service: homeassistant.turn_off
        entity_id: light.gateway_light_04cf8c9147f5
        rgb_color: [255,47,47]
        brightness: 175

thanks for any help!

Ignore this post i put it on the turn it off part of the automation.

What a NOOB move!

1 Like