Raspberry GPIO toggle causes reboot

Just finished installing Hass Core on Raspberry Pi Buster OS.
Managed to get Switch to work to control lights connected to the on board GPIO ports.

However, the raspberry got reboot-ed after toggling the GPIO port. I can’t be sure if there is a sequence that triggers it, but the last one that I did that caused the reboot was:

  • Turn on
  • Turn off
  • Turn on

All were within few seconds apart from one another.

Below is my config:

Configure a default setup of Home Assistant (frontend, api, etc)


Text to speech


  • platform: google_translate


  • platform: rpi_gpio
    22: Top
    23: Bottom
    27: Lights

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

Can someone help me where should I start to troubleshoot this? Log files?


After few more tries, it looks like the reboot do not happen when I give more time before toggling the GPIO again.
Is this normal?