diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index b26b7d3..6b1ecbc 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -38,7 +38,8 @@ blueprint: model: esp32dev - integration: esphome model: NSPanel_HA_Blueprint - + - integration: esphome + model: Wall_Display multiple: false ##### SYSTEM SETTINGS ##### diff --git a/prebuilt/nspanel_esphome_prebuilt.yaml b/prebuilt/nspanel_esphome_prebuilt.yaml index 783de1b..661ab1f 100644 --- a/prebuilt/nspanel_esphome_prebuilt.yaml +++ b/prebuilt/nspanel_esphome_prebuilt.yaml @@ -8,11 +8,11 @@ ##### PLEASE only make changes if it is necessary and also the required knowledge is available. ##### ##### For normal use with the Blueprint, no changes are necessary. ##### ##################################################################################################### +--- substitutions: device_name: nspanel wifi_ssid: nspanel wifi_password: NSPanel_Blueprint - pre_built: "true" ##### External components ##### external_components: @@ -25,11 +25,6 @@ packages: core_package: !include ../esphome/nspanel_esphome_core.yaml upload_tft_package: !include ../esphome/nspanel_esphome_addon_upload_tft.yaml -esphome: - platformio_options: - build_flags: - - -D NSPANEL_HA_BLUEPRINT_PREBUILT - api: services: - service: firmware_update @@ -64,7 +59,7 @@ button: captive_portal: dashboard_import: - package_import_url: github://Blackymas/NSPanel_HA_Blueprint/prebuilt/nspanel_esphome_prebuilt.yaml@main # Must be updated + package_import_url: github://Blackymas/NSPanel_HA_Blueprint/prebuilt/nspanel_esphome_prebuilt.yaml@main import_full_config: false esp32_improv: @@ -81,6 +76,9 @@ esphome: - text.set: id: fw_url value: "https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/main/prebuilt/nspanel_esphome_prebuilt.bin" + platformio_options: + build_flags: + - -D NSPANEL_HA_BLUEPRINT_PREBUILT improv_serial: @@ -107,15 +105,15 @@ select: - "NSPanel US Landscape (CJK languages)" text: - - platform: template + - id: fw_url name: Firmware URL - id: fw_url + platform: template icon: mdi:cloud-download mode: text optimistic: true - # internal: true wifi: networks: !remove ap: {} power_save_mode: LIGHT # To make it compatible with BLE +...