esphome rdy for climate

This commit is contained in:
Blackymas
2022-11-08 23:32:17 +01:00
parent 59701947a0
commit c195601b61
2 changed files with 4 additions and 3 deletions

View File

@@ -732,6 +732,7 @@ trigger_variables:
right_button: "binary_sensor.{{ nspanel_name_trigger }}_right_button"
weather_forcast_button: "binary_sensor.{{ nspanel_name_trigger }}_weather_forcast"
nextion_inited_trigger: "switch.{{ nspanel_name_trigger }}_nextion_inited"
current_page: "sensor.{{ nspanel_name_trigger }}_current_page"
variables:
##### GENERAL #####
@@ -1094,7 +1095,7 @@ trigger:
- platform: event
event_type: state_changed
event_data:
entity_id: "{{ last_click_weathersettings }}"
entity_id: "{{ current_page }}"
id: weather_settings
##### Page Button - Trigger "button_page" Entity sync #####
@@ -2937,7 +2938,7 @@ action:
##### Weather Page - 01 - HA DEFAULT #####
- conditions:
- condition: template
value_template: '{{ states(last_click_weathersettings) == "weather01" }}'
value_template: '{{ current_page == "1" }}'
sequence:
- variables:
# weather PIC

View File

@@ -834,7 +834,7 @@ text_sensor:
##### last click climate page, the main action variable - push to HA #####
- platform: nextion
nextion_id: disp1
name: ${device_name} last click weathersettings
name: ${device_name} last click climatesettings
id: disp1_lastclick_climatesettings
update_interval: 50ms
component_name: weathersetting