Sendspin Switch
The sendspin switch platform enables and disables the Sendspin
client. The Sendspin hub must be configured on the same device.
While the switch is off, the device stops advertising itself to Sendspin servers, closes any server connection, and rejects playback and control commands from the other Sendspin components. Turning the switch on starts the client again.
The switch restores its previous state on boot and defaults to on, so a device that was disabled stays disabled after a restart.
This platform only works on ESP32-based chips.
# Example configuration entrysendspin:
switch: - platform: sendspin name: "Sendspin Enabled"Configuration Variables
Section titled “Configuration Variables”- sendspin_id (Optional, ID): The ID of the Sendspin hub to attach to. Only needed if you have more than one hub configured.
- restore_mode (Optional): Control how the switch attempts to restore state on bootup.
Defaults to
RESTORE_DEFAULT_ON. See Switch for the options. - All other options from Switch, except
inverted.