Open g-kiss opened 10 months ago
The "early_pin_init: false" does not work with light component.
In this case the relay toggles "off" for a short time at boot (when relay was "on" at boot):
esp8266: board: esp01_1m early_pin_init: false output: - platform: gpio id: shelly_relay pin: GPIO4 light: - platform: binary id: shelly_light name: ${light_entity_id} output: shelly_relay restore_mode: "RESTORE_DEFAULT_OFF"
But in this case works well: the relay stays "on" state during boot:
esp8266: board: esp01_1m early_pin_init: false switch: - platform: gpio id: shelly_switch name: ${device_name}_switch pin: GPIO4 restore_mode: "RESTORE_DEFAULT_OFF"
2023.12.06
pip
No response
ESP8266
shelly
light
Hi, Same here on Sonoffs, when using light:, "early_pin_init" doesn't fulfills its role. @rainero84 would you be able to look at the code?
The problem
The "early_pin_init: false" does not work with light component.
In this case the relay toggles "off" for a short time at boot (when relay was "on" at boot):
But in this case works well: the relay stays "on" state during boot:
Which version of ESPHome has the issue?
2023.12.06
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP8266
Board
shelly
Component causing the issue
light
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response