- alias: If Door open and below 200lm then turn on GW Light
trigger:
platform: state
entity_id: binary_sensor.door_window_sensor_XXXXXX
from: 'off'
to: 'on'
condition:
condition: numeric_state
entity_id: sensor.illumination_XXXXXX
below: 200
action:
- service: light.turn_on
entity_id: light.gateway_light_XXXXXX
rgb_color: [0,0,255]
HA log里报错:
2018-03-10 21:48:33 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: message=Invalid config for [automation]: [rgb_color] is an invalid option for [automation]. Check: automation->action->0->rgb_color.