News for hackers. Stuff that matters.
Re:ESPHome – Connect ESP32 with Sensors to HomeAssistant by kelvie on Thursday May 26, 2022 @07:14PM (#31524436)
FYI this could have been done really easily in esphome:

  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
Re:ESPHome – Connect ESP32 with Sensors to HomeAssistant by thedanbob on Friday May 27, 2022 @06:52AM (#31528068)
Mostly I write my own firmware to improve my C++ skills :)