esphome rdy for climate
This commit is contained in:
@@ -732,6 +732,7 @@ trigger_variables:
|
|||||||
right_button: "binary_sensor.{{ nspanel_name_trigger }}_right_button"
|
right_button: "binary_sensor.{{ nspanel_name_trigger }}_right_button"
|
||||||
weather_forcast_button: "binary_sensor.{{ nspanel_name_trigger }}_weather_forcast"
|
weather_forcast_button: "binary_sensor.{{ nspanel_name_trigger }}_weather_forcast"
|
||||||
nextion_inited_trigger: "switch.{{ nspanel_name_trigger }}_nextion_inited"
|
nextion_inited_trigger: "switch.{{ nspanel_name_trigger }}_nextion_inited"
|
||||||
|
current_page: "sensor.{{ nspanel_name_trigger }}_current_page"
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
##### GENERAL #####
|
##### GENERAL #####
|
||||||
@@ -1094,7 +1095,7 @@ trigger:
|
|||||||
- platform: event
|
- platform: event
|
||||||
event_type: state_changed
|
event_type: state_changed
|
||||||
event_data:
|
event_data:
|
||||||
entity_id: "{{ last_click_weathersettings }}"
|
entity_id: "{{ current_page }}"
|
||||||
id: weather_settings
|
id: weather_settings
|
||||||
|
|
||||||
##### Page Button - Trigger "button_page" Entity sync #####
|
##### Page Button - Trigger "button_page" Entity sync #####
|
||||||
@@ -2937,7 +2938,7 @@ action:
|
|||||||
##### Weather Page - 01 - HA DEFAULT #####
|
##### Weather Page - 01 - HA DEFAULT #####
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ states(last_click_weathersettings) == "weather01" }}'
|
value_template: '{{ current_page == "1" }}'
|
||||||
sequence:
|
sequence:
|
||||||
- variables:
|
- variables:
|
||||||
# weather PIC
|
# weather PIC
|
||||||
|
|||||||
@@ -834,7 +834,7 @@ text_sensor:
|
|||||||
##### last click climate page, the main action variable - push to HA #####
|
##### last click climate page, the main action variable - push to HA #####
|
||||||
- platform: nextion
|
- platform: nextion
|
||||||
nextion_id: disp1
|
nextion_id: disp1
|
||||||
name: ${device_name} last click weathersettings
|
name: ${device_name} last click climatesettings
|
||||||
id: disp1_lastclick_climatesettings
|
id: disp1_lastclick_climatesettings
|
||||||
update_interval: 50ms
|
update_interval: 50ms
|
||||||
component_name: weathersetting
|
component_name: weathersetting
|
||||||
|
|||||||
Reference in New Issue
Block a user