I have a WS2812 LED strip that I have partitioned off so I can use to determine status of my thermostat however it appears that
idle_action
has priority over off mode
because on bootup, even with the thermostat in OFF
mode the solenoid_status
LED of the WS2812 shows a blue LED rather than a red LED when on_boot_restore_from: memory
climate:
- platform: thermostat
name: ${name}-controller
id: controller
sensor: temp1
on_boot_restore_from: memory
setup_priority: -100
startup_delay: True
visual:
min_temperature: 0
max_temperature: 40
temperature_step: 0.1
min_cooling_off_time: 20s
min_cooling_run_time: 1s
cool_deadband: 0.01
cool_overrun: 0.1
min_idle_time: 1s
cool_action:
- switch.turn_on: relay_1
- light.turn_on:
id: solenoid_status
brightness: 20%
red: 0%
green: 10%
blue: 0%
idle_action:
- switch.turn_off: relay_1
- light.turn_on:
id: solenoid_status
brightness: 20%
red: 0%
green: 0%
blue: 10%
cool_mode:
- light.turn_on:
id: controller_status
effect: "blink green"
off_mode:
- light.turn_off:
id: controller_status
- light.turn_on:
id: solenoid_status
brightness: 20%
red: 10%
green: 0%
blue: 0%
- switch.turn_off: relay_1
It not until I cycle the thermostat between “cool” and "off that the solenoid_status
LED shows red.
BUG??? or am i missing something??