diff --git a/Integrations/ESPHome/Core.yaml b/Integrations/ESPHome/Core.yaml index 83294d1..3dea60d 100644 --- a/Integrations/ESPHome/Core.yaml +++ b/Integrations/ESPHome/Core.yaml @@ -4,7 +4,6 @@ substitutions: device_description: ${name} made by Apollo Automation - version ${version}. esp32: - board: esp32-c6-devkitm-1 variant: esp32c6 flash_size: 8MB framework: @@ -69,6 +68,7 @@ captive_portal: web_server: port: 80 + version: 3 # Buzzer output: @@ -295,6 +295,22 @@ light: min_brightness: 50% max_brightness: 100% +text_sensor: + - platform: wifi_info + ip_address: + name: "IP Address" + id: wifi_ip + - platform: version + name: "ESPHome Version" + hide_timestamp: true + entity_category: "diagnostic" + - platform: template + name: "Apollo Firmware Version" + id: apollo_firmware_version + lambda: |- + return {"${version}"}; + entity_category: "diagnostic" + script: - id: pumpUntilFull then: diff --git a/Integrations/ESPHome/PUMP-1.yaml b/Integrations/ESPHome/PUMP-1.yaml index 1c619eb..d0214b5 100644 --- a/Integrations/ESPHome/PUMP-1.yaml +++ b/Integrations/ESPHome/PUMP-1.yaml @@ -3,9 +3,6 @@ esphome: friendly_name: Apollo PUMP-1 comment: Apollo PUMP-1 name_add_mac_suffix: true - platformio_options: - board_build.flash_mode: dio - on_boot: - priority: -10 then: @@ -48,11 +45,6 @@ update: source: https://apolloautomation.github.io/PUMP-1/firmware/manifest.json wifi: - on_connect: - - delay: 5s - - ble.disable: - on_disconnect: - - ble.enable: ap: ssid: "Apollo PUMP-1 Hotspot" diff --git a/Integrations/ESPHome/PUMP-1_Minimal.yaml b/Integrations/ESPHome/PUMP-1_Minimal.yaml index 5a5a83f..ff36804 100644 --- a/Integrations/ESPHome/PUMP-1_Minimal.yaml +++ b/Integrations/ESPHome/PUMP-1_Minimal.yaml @@ -3,9 +3,6 @@ esphome: friendly_name: Apollo PUMP-1 comment: Apollo PUMP-1 name_add_mac_suffix: true - platformio_options: - board_build.flash_mode: dio - project: name: "ApolloAutomation.PUMP-1" version: "${version}"