# Switch Enabled State

```yaml
## function name, you can set this to anything that is unique
func1:
  ## function type
  type: switch_enabled_state
  ## name of object to enable / disable
  object: button1
```
