currentpage change via preinitialize

This commit is contained in:
Blackymas
2022-11-17 23:33:30 +01:00
parent 244c30df9d
commit 7287c815ba

View File

@@ -760,7 +760,8 @@ 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"
# current_page: "sensor.{{ nspanel_name_trigger }}_current_page"
current_page: "sensor.{{ nspanel_name_trigger }}_currentpage"
hotwatercharge: !input "hotwatercharge"
heatingsystemflame: !input "heatingsystemflame"
@@ -870,22 +871,22 @@ variables:
button_color_2: "10597"
###### NEXTION PAGE MAPPING #####
page_home: "0"
page_weather01: "1"
page_weather02: "2"
page_weather03: "3"
page_weather04: "4"
page_weather05: "5"
page_climate: "6"
page_settings: "7"
page_boot: "8"
page_screensaver: "9"
page_lightsettings: "10"
page_coversettings: "11"
page_buttonpage01: "12"
page_buttonpage02: "13"
page_buttonpage03: "14"
page_buttonpage04: "15"
page_home: "home"
page_weather01: "weather01"
page_weather02: "weather02"
page_weather03: "weather03"
page_weather04: "weather04"
page_weather05: "weather05"
page_climate: "climate"
page_settings: "settings"
page_boot: "boot"
page_screensaver: "screensaver"
page_lightsettings: "lightsettings"
page_coversettings: "coversettings"
page_buttonpage01: "buttonpage01"
page_buttonpage02: "buttonpage02"
page_buttonpage03: "buttonpage03"
page_buttonpage04: "buttonpage04"
##### COLOR PICKER COLOR MAPPING - color_name #####
yellow: "yellow"