Enable/Disable a switch/light or any element of the interface

Alternatively you may use card-mod to disable a control:

Checkbox:

Slider:

Similarly it is possible to disable input_select, input_number (“box” mode) & input_text, but I cannot provide links to the solutions since existing solutions were provided for the obsolete Paper Elements & I have not prepared solutions for the new Material Web Components.
I only may post pictures of disabling the old Paper Elements:


Disabling a cover:

Disabling buttons may be achieved by the same approach.

1 Like