Skip to content

Haspmota Button .hidden attribute help #23773

Closed Answered by sfromis
GasTurbineMan asked this question in Support request
Discussion options

You must be logged in to vote

To me, your issue does not look to be about "hidden", but about the weird things you are doing. On a detailed level, your first part (code in autoexec.be) has two unbalanced single quote making syntax invalid, hence it is not clear what your autoexec.be actually is.

Next, it just does not work using a variable name as trigger in tasmota.add_rule. What you can do is to get rid of that berry_run part, and instead assign global.p1b104.hidden more directly without that detour around a "rule" to set it. Assuming that what you posted is only two lines from your longer autoexec.be, that could be a place to do that assignment directly without that global.xyzenable.

Maybe something like global.p1b…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@GasTurbineMan
Comment options

Answer selected by GasTurbineMan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants