Merge pull request #1595 from Blackymas/dev

Lint
This commit is contained in:
Edward Firmo
2024-01-11 17:57:42 +01:00
committed by GitHub
10 changed files with 56 additions and 42 deletions

View File

@@ -1,3 +1,4 @@
---
substitutions:
device_name: nspanel
wifi_ssid: "nspanel"
@@ -5,8 +6,9 @@ substitutions:
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages:
core_package: !include ../nspanel_esphome.yaml # Core package
core_package: !include ../nspanel_esphome.yaml # Core package
advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
#addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml
#addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
# addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
# addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml
# addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
...

View File

@@ -1,3 +1,4 @@
---
substitutions:
device_name: nspanel
wifi_ssid: "nspanel"
@@ -5,11 +6,11 @@ substitutions:
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages:
core_package: !include ../nspanel_esphome.yaml # Core package
core_package: !include ../nspanel_esphome.yaml # Core package
advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
#addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
# addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml
#addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
# addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
esp32:
framework:
@@ -20,3 +21,4 @@ bluetooth_proxy:
# Set Wi-Fi power save mode to "LIGHT" as required for Bluetooth on ESP32
wifi:
power_save_mode: LIGHT
...

View File

@@ -1,3 +1,4 @@
---
substitutions:
device_name: nspanel
wifi_ssid: "nspanel"
@@ -5,10 +6,10 @@ substitutions:
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages:
core_package: !include ../nspanel_esphome.yaml # Core package
#advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
#addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml
core_package: !include ../nspanel_esphome.yaml # Core package
# advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
# addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
# addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml
addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
esp32:
@@ -22,3 +23,4 @@ bluetooth_proxy:
# Set Wi-Fi power save mode to "LIGHT" as required for Bluetooth on ESP32
wifi:
power_save_mode: LIGHT
...

View File

@@ -1,3 +1,4 @@
---
substitutions:
device_name: nspanel
wifi_ssid: "nspanel"
@@ -5,8 +6,9 @@ substitutions:
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages:
core_package: !include ../nspanel_esphome.yaml # Core package
core_package: !include ../nspanel_esphome.yaml # Core package
advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cold: !include ../nspanel_esphome_addon_climate_cold.yaml
#addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
# addon_climate_cold: !include ../nspanel_esphome_addon_climate_cold.yaml
# addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
...

View File

@@ -1,14 +1,15 @@
---
substitutions:
device_name: nspanel
wifi_ssid: "nspanel"
wifi_password: "NSPanel_HA_Blueprint"
packages:
core_package: !include ../nspanel_esphome.yaml # Core package
core_package: !include ../nspanel_esphome.yaml # Core package
advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cold: !include ../nspanel_esphome_addon_climate_cold.yaml
#addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
# addon_climate_cold: !include ../nspanel_esphome_addon_climate_cold.yaml
# addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
##### Customizations from Wiki #####
api:
@@ -40,7 +41,7 @@ button:
- logger.log: Button Sleep pressed
- lambda: |-
if (id(current_page).state != "screensaver") id(disp1).goto_page("screensaver");
# Adds a button to wake-up the panel (similar to the existing service)
- name: ${device_name} Wake-up
id: force_wake_up
@@ -130,7 +131,7 @@ output:
uint8_t current_brightness = int(round(display_light->current_values.is_on() ? (display_light->current_values.get_brightness() * 100.0f) : 0.0));
ESP_LOGV("output.display_output", "current_brightness: %i%%", current_brightness);
set_brightness->execute(current_brightness);
script:
# Updates the existing `page_changed` script to update the `display_light` status when a page changes
- id: !extend page_changed
@@ -175,12 +176,6 @@ time:
- europe.pool.ntp.org
- 0.pool.ntp.org
on_time:
#- hours: 22
# minutes: 0
# seconds: 0
# then:
# - deep_sleep.enter:
# sleep_duration: 7h
# Scheduled relay
- hours: 7
minutes: 30
@@ -249,3 +244,4 @@ wifi:
priority: 0
# Set Wi-Fi power save mode to "LIGHT" as required for Bluetooth on ESP32
power_save_mode: LIGHT
...

View File

@@ -1,3 +1,4 @@
---
substitutions:
device_name: nspanel
wifi_ssid: "nspanel"
@@ -5,8 +6,9 @@ substitutions:
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages:
core_package: !include ../nspanel_esphome.yaml # Core package
#advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
#addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
core_package: !include ../nspanel_esphome.yaml # Core package
# advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
# addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml
#addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
# addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
...

View File

@@ -1,3 +1,4 @@
---
substitutions:
device_name: nspanel
wifi_ssid: "nspanel"
@@ -5,8 +6,9 @@ substitutions:
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages:
core_package: !include ../nspanel_esphome.yaml # Core package
#advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
#addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml
core_package: !include ../nspanel_esphome.yaml # Core package
# advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
# addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
# addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml
addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
...

View File

@@ -1,3 +1,4 @@
---
substitutions:
device_name: nspanel
wifi_ssid: "nspanel"
@@ -5,8 +6,9 @@ substitutions:
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages:
core_package: !include ../nspanel_esphome.yaml # Core package
#advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
core_package: !include ../nspanel_esphome.yaml # Core package
# advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml
#addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
# addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml
# addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
...

View File

@@ -1,3 +1,4 @@
---
substitutions:
device_name: nspanel
wifi_ssid: "nspanel"
@@ -5,8 +6,9 @@ substitutions:
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages:
core_package: !include ../nspanel_esphome.yaml # Core package
#advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
#addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml
#addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
core_package: !include ../nspanel_esphome.yaml # Core package
# advanced_package: !include ../advanced/esphome/nspanel_esphome_advanced.yaml
# addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
# addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml
# addon_climate_dual: !include ../nspanel_esphome_addon_climate_dual.yaml
...

View File

@@ -1,3 +1,4 @@
---
api_encryption_key: MSANehPIH8kCp/vGcpPcKPSkYnv3zchyxkXCleXJinM=
mysntpserver: 192.168.0.1
web_server_password: NotASecret01
@@ -5,3 +6,4 @@ web_server_username: NotASecret01
wifi_password: NotASecret01
wifi_password_backup: NotASecret01
wifi_ssid_backup: NotASecret01
...