Hi,
I am completely new to hassio but I was able to set it up within couple of hours and I was able to create my automations that work!
I have a humidor for cigars and I want to use a color indication to see if humidity level is OK or not.
- humidity falls below 65% the trigger calls light on - works
- humidity above 65 the trigger calls light off - works
However, I cannot implement a color change to this automation. I want red light (or any other color) to indicate the wrong humidity.
This is the automation code:
- action:
- service: light.turn_on
alias: test sensor top
condition: []
id: ‘1517091266990’
data:
brightness: 100
rgb_color: [255, 0, 0]
trigger: - below: ‘65’
entity_id: sensor.humidity_158d0001fa52e7
platform: numeric_state
- service: light.turn_on
- action:
- service: light.turn_off
alias: test sensor top off
condition: []
id: ‘1517091303881’
trigger: - above: ‘65’
entity_id: sensor.humidity_158d0001fa52e7
platform: numeric_state
- service: light.turn_off
Not sure what is wrong… can anyone support me?