Safe Mode Switch

The safe_mode switch allows you to remotely reboot your node into Safe Mode. This is useful in certain situations where a misbehaving component is preventing Over-The-Air updates from completing successfully.

This component requires OTA to be configured.

../../_images/safemode-ui.png
# Example configuration entry
switch:
  - platform: safe_mode
    name: "Living Room Restart (Safe Mode)"

Configuration variables:

  • name (Required, string): The name for the switch.

  • id (Optional, ID): Manually specify the ID used for code generation.

  • All other options from Switch.

See Also