From 3f04b6a1d427cfc2a281922c435962336a1d05f8 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Mon, 19 Feb 2024 12:07:41 +0100 Subject: [PATCH] Adjust url to dev (must be reversed before release) --- prebuilt/nspanel_esphome_prebuilt.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/prebuilt/nspanel_esphome_prebuilt.yaml b/prebuilt/nspanel_esphome_prebuilt.yaml index df932ce..3aa62d0 100644 --- a/prebuilt/nspanel_esphome_prebuilt.yaml +++ b/prebuilt/nspanel_esphome_prebuilt.yaml @@ -23,8 +23,8 @@ external_components: refresh: 300s packages: - core_package: !include ../esphome/nspanel_esphome_core.yaml # Core package - upload_tft_package: !include ../esphome/nspanel_esphome_addon_upload_tft.yaml # Core package + core_package: !include ../esphome/nspanel_esphome_core.yaml + upload_tft_package: !include ../esphome/nspanel_esphome_addon_upload_tft.yaml api: services: @@ -56,18 +56,15 @@ button: static const char *const TAG = "prebuilt.button.bt_firmware_update"; ESP_LOGE(TAG, "Firmware update failed!"); -# In combination with the `ap` this allows the user -# to provision wifi credentials to the device. -captive_portal: - dashboard_import: - package_import_url: github://Blackymas/NSPanel_HA_Blueprint/esphome/nspanel_esphome_prebuilt.yaml + package_import_url: + url: https://github.com/Blackymas/NSPanel_HA_Blueprint/ + ref: dev # Must be updated + files: + - prebult/nspanel_esphome_prebuilt.yaml + refresh: 3s # Must be updated import_full_config: false -esp32: - framework: - type: esp-idf - # Sets up Bluetooth LE (Only on ESP32) to allow the user # to provision wifi credentials to the device. esp32_improv: @@ -83,7 +80,7 @@ esphome: then: - text_sensor.template.publish: id: firmware_url - state: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/main/esphome/nspanel_esphome_prebuilt.bin + state: https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/dev/prebuilt/nspanel_esphome_prebuilt.bin # Must be updated # Sets up the improv via serial client for Wi-Fi provisioning improv_serial: @@ -126,6 +123,9 @@ text_sensor: web_server: id: web_server_std + auth: + username: admin + password: !remove wifi: ap: {}