wifi:
  ssid: MySSID
  password: password1

safe_mode:
  boot_is_good_after: 2min
  num_attempts: 3
  reboot_timeout: 2min
  on_safe_mode:
    - logger.log: Time for safe mode

button:
  - platform: safe_mode
    name: Safe Mode Button

switch:
  - platform: safe_mode
    name: Safe Mode Switch