Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on ESPHome – Connect ESP32 with Sensors to HomeAssistant. Parent comment
switch: - platform: gpio pin: 25 name: "Modem relay" restore_state: ALWAYS_ON id: modem_relay interval: - interval: 1min if: condition: not: wifi.connected then: - switch.turn_off: modem_relay - delay: 1s - switch.turn_on: modem_relay