You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cc @lancelon
this will lock the relay instead of disabling the button. meaning, you can still receive button events if you want that edit: PR adds the underlying api. meaning, we can also add something else (MQTT, HTTP API calls) to set lock. it is not only for boot modes
and plugging #1680 again, where you can modify hardware preset and just remove button gpio in config. also, see #1505 (instead of #1322 proposal).
"input[disabled]" does just that.
However, if lock becomes togglable, message should go with relayStatus instead. Maybe even nested within new relayState: {status: [...], lock:[...]}, since processData can encounter lock before any UI is initialized (can't depend on proper key ordering)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolves #1697
relay_t::lockflag to control which target status we want. after relay changes to that status, we can no longer change itcc @goatchurchprime @xoseperez
this might interfere with planned motor changes from #1510 ?