https://esphome.io/cookbook/ifan02.html?highlight=on_boot