First off: Great forum! Helped me a lot during ESPHome development. But now I got a problem, I’m unable to solve myself.
I have an ESP8266 NodeMCU v2 with a SSD1306 128x32 OLED display. I’m looking for a reliable way to turn off the display when the device is booting, rebooting, or after boot.
priority ( Optional , float): The priority to execute your custom initialization code. A higher value means a high priority and thus also your code being executed earlier. Please note this is an ESPhome-internal value and any change will not be marked as a breaking change. Defaults to -10 . Priorities (you can use any value between them too):
800.0 : This is where all hardware initialization of vital components is executed. For example setting switches to their initial state.
600.0 : This is where most sensors are set up.
250.0 : At this priority, WiFi is initialized.
200.0 : Network connections like MQTT/native API are set up at this priority.
-100.0 : At this priority, pretty much everything should already be initialized.