Indicate if the switch should be disabled or not.
Boolean, to be turned on or not.
Important:
Please note that if(saved.state)
will return false if data is not set. If you want to default state to be true, use this:
Boolean, true if turned on - false if turned off.
Indicate if the switch should be disabled or not.
Boolean, to be turned on or not.
Important:
Please note that if(saved.state)
will return false if data is not set. If you want to default state to be true, use this:
Boolean, true if turned on - false if turned off.