Sets the value of the switch.
- Parameters
-
value | A string representing the value of the switch. |
- Notes to inheritors
- You should override the on_value_changed() method and provide a conversion operation that sets the appropriate switch_setting value for your switch.