Merge branch 'Blackymas:dev' into dev

This commit is contained in:
Chris
2022-11-12 00:41:15 +01:00
committed by GitHub
2 changed files with 78 additions and 602 deletions

View File

@@ -32,11 +32,13 @@ blueprint:
selector:
text: {}
delay:
name: Delay to avoid sync problems (coming soon)
description: 'Synchronization Problems may occur due to the NETWORK / WLAN. To avoid this problem enter your value for the delay (milliseconds)'
name: '# Delay to avoid sync problems'
description: '# Synchronization Problems may occur due to the NETWORK / WLAN. To avoid this problem enter your value for the delay (milliseconds)'
default: '10'
selector:
text: {}
number:
min: 0
max: 100
sync_value_ha:
name: Synchronization of all values from HA to NSPanel for Lightsetting and Coversetting Page.
description: 'Synchronization of values between HA and NSPanel for Lightsetting and Coversetting Page -> Maybe causes number jumps'
@@ -60,6 +62,15 @@ blueprint:
- label: 'Yes'
value: select_yes
nspnael_temp_correction:
name: 'Nspanel temperature correction'
description: 'Here the temperature of the NSPanel temperature sensor can be adjusted.'
default: '0'
selector:
number:
min: -10
max: 10
##### WEATHER #####
weather:
name: Weather Integration
@@ -748,6 +759,7 @@ variables:
time: "{{ (as_timestamp(now()) | timestamp_custom('%H:%M')) }}"
weather: !input "weather"
language: !input "language"
nspnael_temp_correction: !input "nspnael_temp_correction"
##### PUSH TO NEXTION DISPLAY #####
command_text_printf: "esphome.{{ nspanel_name }}_send_command_text_printf"
@@ -768,6 +780,7 @@ variables:
tft_path: !input "tft_path"
##### GENERAL ENTITYS #####
nspanel_temp: sensor.{{ nspanel_name }}_temperature
humidity: !input "humidity"
hotwatertemp: !input "hotwatertemp"
outdoortemp: !input "outdoortemp"
@@ -1144,7 +1157,7 @@ trigger:
- platform: event
event_type: state_changed
event_data:
entity_id: "{{ current_page }}"
entity_id: "{{ current_page in [1,2,3,4,5] }}"
id: weather_settings
##### Page Button - Trigger "button_page" Entity sync #####
@@ -1754,6 +1767,14 @@ action:
component: home.humidity_state
message: "{{ states(humidity) |round(0) }}%"
##### NSPanel boot init - NSPanel Temp #####
- delay:
milliseconds: "{{ delay_value }}"
- service: "{{ command_text_printf }}"
data:
component: home.current_temp
message: "{{ states(nspanel_temp) }}°"
##### NSPanel boot init - Hotwater #####
- if:
- condition: template