esphome: name: grub-boot-switch friendly_name: GRUB boot switch esp32: board: esp32-s3-devkitc-1 framework: type: esp-idf logger: api: ota: - platform: esphome wifi: ssid: !secret wifi_ssid password: !secret wifi_password external_components: - source: type: local path: components components: [grub_boot_switch] grub_boot_switch: id: bootsw # volume_serial: 0x55AA6922 # default — matches upstream GRUB hook # volume_label: SWITCH # default initial_target: 0 # Phase 4 will add the select platform here: # # select: # - platform: grub_boot_switch # name: "Boot Target" # options: [Linux, Windows, Recovery]