yamllint
This commit is contained in:
@@ -11,8 +11,8 @@
|
|||||||
substitutions:
|
substitutions:
|
||||||
### Local thermostat defaults ###
|
### Local thermostat defaults ###
|
||||||
# https://esphome.io/components/climate/thermostat.html
|
# https://esphome.io/components/climate/thermostat.html
|
||||||
heater_relay: "0" # Select 1 for "Relay 1", 2 for "Relay 2" or "0" to a dummy switch/disabled
|
heater_relay: "0" # Select 1 for "Relay 1", 2 for "Relay 2" or "0" to a dummy switch/disabled
|
||||||
cooler_relay: "0" # Select 1 for "Relay 1", 2 for "Relay 2" or "0" to a dummy switch/disabled
|
cooler_relay: "0" # Select 1 for "Relay 1", 2 for "Relay 2" or "0" to a dummy switch/disabled
|
||||||
min_off_time: "300"
|
min_off_time: "300"
|
||||||
min_run_time: "300"
|
min_run_time: "300"
|
||||||
min_idle_time: "30"
|
min_idle_time: "30"
|
||||||
@@ -35,9 +35,8 @@ climate:
|
|||||||
visual:
|
visual:
|
||||||
min_temperature: ${temp_min} ${temp_units}
|
min_temperature: ${temp_min} ${temp_units}
|
||||||
max_temperature: ${temp_max} ${temp_units}
|
max_temperature: ${temp_max} ${temp_units}
|
||||||
#temperature_step: ${temp_step} ${temp_units}
|
|
||||||
temperature_step:
|
temperature_step:
|
||||||
target_temperature: 0.5 #This is hard coded for now as ESPHome isn't supporting a substitution here. In contact with support.
|
target_temperature: 0.5 # This is hard coded for now as ESPHome isn't supporting a substitution here. In contact with support.
|
||||||
current_temperature: 0.1
|
current_temperature: 0.1
|
||||||
idle_action:
|
idle_action:
|
||||||
- switch.turn_off: relay_${heater_relay}
|
- switch.turn_off: relay_${heater_relay}
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ display:
|
|||||||
exit_reparse_on_start: true
|
exit_reparse_on_start: true
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- id: upload_tft_nextion #NOT IN USE FOR NOW
|
- id: upload_tft_nextion # NOT IN USE FOR NOW
|
||||||
mode: single
|
mode: single
|
||||||
parameters:
|
parameters:
|
||||||
url: string
|
url: string
|
||||||
|
|||||||
@@ -856,10 +856,6 @@ globals:
|
|||||||
initial_value: 'false'
|
initial_value: 'false'
|
||||||
|
|
||||||
##### Date/time formats #####
|
##### Date/time formats #####
|
||||||
#- id: mui_date_format
|
|
||||||
# type: std::string
|
|
||||||
# restore_value: no
|
|
||||||
# initial_value: '"%A, %d.%m"'
|
|
||||||
- id: home_date_color
|
- id: home_date_color
|
||||||
type: uint
|
type: uint
|
||||||
restore_value: true
|
restore_value: true
|
||||||
@@ -867,7 +863,7 @@ globals:
|
|||||||
|
|
||||||
- id: mui_time_format
|
- id: mui_time_format
|
||||||
type: std::string
|
type: std::string
|
||||||
restore_value: no
|
restore_value: false
|
||||||
initial_value: '"%H:%M"'
|
initial_value: '"%H:%M"'
|
||||||
- id: home_time_color
|
- id: home_time_color
|
||||||
type: uint
|
type: uint
|
||||||
@@ -918,7 +914,7 @@ globals:
|
|||||||
|
|
||||||
- id: page_names
|
- id: page_names
|
||||||
type: std::vector<std::string>
|
type: std::vector<std::string>
|
||||||
restore_value: no
|
restore_value: false
|
||||||
initial_value:
|
initial_value:
|
||||||
'{
|
'{
|
||||||
"home",
|
"home",
|
||||||
@@ -1041,7 +1037,7 @@ binary_sensor:
|
|||||||
component: "hw_bt_right"
|
component: "hw_bt_right"
|
||||||
command: "short_click"
|
command: "short_click"
|
||||||
- timing: *hold_to_restart-timing
|
- timing: *hold_to_restart-timing
|
||||||
then: #Restart the panel
|
then: # Restart the panel
|
||||||
- button.press: restart_nspanel
|
- button.press: restart_nspanel
|
||||||
|
|
||||||
##### Restart NSPanel Button - Setting Page #####
|
##### Restart NSPanel Button - Setting Page #####
|
||||||
@@ -1414,24 +1410,9 @@ text_sensor:
|
|||||||
- name: ${device_name} Current page
|
- name: ${device_name} Current page
|
||||||
id: current_page
|
id: current_page
|
||||||
platform: template
|
platform: template
|
||||||
#platform: nextion
|
|
||||||
#nextion_id: disp1
|
|
||||||
#component_name: currentpage
|
|
||||||
icon: mdi:tablet-dashboard
|
icon: mdi:tablet-dashboard
|
||||||
internal: false
|
internal: false
|
||||||
disabled_by_default: false
|
disabled_by_default: false
|
||||||
#filters:
|
|
||||||
# - lambda: |-
|
|
||||||
# x = x.c_str();
|
|
||||||
# x.shrink_to_fit();
|
|
||||||
# return x;
|
|
||||||
#on_value:
|
|
||||||
# then:
|
|
||||||
# - lambda: |-
|
|
||||||
# static const char *const TAG = "text_sensor.current_page";
|
|
||||||
# // Construct new page
|
|
||||||
# ESP_LOGV(TAG, "Construct new page");
|
|
||||||
# page_changed->execute(x.c_str());
|
|
||||||
|
|
||||||
- name: ${device_name} Notification Label
|
- name: ${device_name} Notification Label
|
||||||
platform: template
|
platform: template
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
packages:
|
packages:
|
||||||
core_package: !include advanced/esphome/nspanel_esphome_core.yaml
|
core_package: !include advanced/esphome/nspanel_esphome_core.yaml
|
||||||
upload_tft_package: !include advanced/esphome/nspanel_esphome_addon_upload_tft.yaml
|
upload_tft_package: !include advanced/esphome/nspanel_esphome_addon_upload_tft.yaml
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
substitutions:
|
substitutions:
|
||||||
### Local thermostat defaults ###
|
### Local thermostat defaults ###
|
||||||
# https://esphome.io/components/climate/thermostat.html
|
# https://esphome.io/components/climate/thermostat.html
|
||||||
cooler_relay: "0" # Select 1 for "Relay 1", 2 for "Relay 2" or "0" to a dummy switch/disabled
|
cooler_relay: "0" # Select 1 for "Relay 1", 2 for "Relay 2" or "0" to a dummy switch/disabled
|
||||||
# https://esphome.io/components/climate/index.html#base-climate-configuration
|
# https://esphome.io/components/climate/index.html#base-climate-configuration
|
||||||
temp_min: "15"
|
temp_min: "15"
|
||||||
temp_max: "45"
|
temp_max: "45"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
substitutions:
|
substitutions:
|
||||||
### Local thermostat defaults ###
|
### Local thermostat defaults ###
|
||||||
# https://esphome.io/components/climate/thermostat.html
|
# https://esphome.io/components/climate/thermostat.html
|
||||||
heater_relay: "0" # Select 1 for "Relay 1", 2 for "Relay 2" or "0" to a dummy switch/disabled
|
heater_relay: "0" # Select 1 for "Relay 1", 2 for "Relay 2" or "0" to a dummy switch/disabled
|
||||||
# https://esphome.io/components/climate/index.html#base-climate-configuration
|
# https://esphome.io/components/climate/index.html#base-climate-configuration
|
||||||
temp_min: "5"
|
temp_min: "5"
|
||||||
temp_max: "25"
|
temp_max: "25"
|
||||||
|
|||||||
Reference in New Issue
Block a user