Gets the value of the switch.
- Returns
- 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.