reset_reason during on_boot #6514
joe-sydney
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all
During on_boot, is there a way to conditionally perform some actions based on the reset_reason? Specifically, what I wanted to do was to turn on the light with specific brightness and colour temperature if the reset_reason was a power cycle; otherwise, I want the light off by default.
Or is there another way to implement this?
Cheers
Joe
Beta Was this translation helpful? Give feedback.
All reactions