change blueprint, esphome

This commit is contained in:
Blackymas
2022-11-08 09:47:06 +01:00
parent 28d8b54749
commit 1bf8a0b941
2 changed files with 359 additions and 361 deletions

View File

@@ -771,11 +771,19 @@ variables:
right_button_name: !input "right_button_name"
##### NEXTION PIC MAPPING #####
cover_pic_closed: "106"
cover_pic_open: "107"
battery_icon: "108"
light_pic_off: "125"
light_pic_on: "126"
button_light_off: "62"
button_light_on: "63"
button_switch_off: "64"
button_switch_on: "65"
button_cover_off: "66"
button_cover_on: "67"
cover_pic_closed: "78"
cover_pic_open: "79"
battery_icon: "80"
light_pic_off: "96"
light_pic_on: "97"
hotwater_pic_off: "60"
hotwater_pic_on: "61"
weather_sunny: "2"
weather_cloudy: "3"
@@ -796,20 +804,14 @@ variables:
weather_execptional_night: "14"
weather_clear_night: "15"
weather_icon_blank: "53"
weather_icon_rain: "59"
weather_icon_sun: "60"
weather_icon_protect: "61"
weather_icon_lightning: "62"
weather_icon_wind: "63"
weather_icon_blank: "51"
weather_icon_rain: "52"
weather_icon_sun: "53"
weather_icon_protect: "54"
weather_icon_lightning: "55"
weather_icon_wind: "56"
###### NEXTION COLOR BUTTON DESIGN #####
button_light_off: "90"
button_light_on: "91"
button_switch_off: "92"
button_switch_on: "93"
button_cover_off: "94"
button_cover_on: "95"
###### NEXTION COLOR MAPPING #####
button_color_1: "65535"
button_color_2: "10597"
@@ -1735,7 +1737,7 @@ action:
milliseconds: "{{ delay_value }}"
- service: "{{ command_printf }}"
data:
cmd: home.p01.pic=68
cmd: home.p01.pic={{ hotwater_pic_on }}
- delay:
milliseconds: "{{ delay_value }}"
- service: "{{ command_text_printf }}"
@@ -1884,7 +1886,7 @@ action:
milliseconds: "{{ delay_value }}"
- service: "{{ command_text_printf }}"
data:
component: home.left_button
component: home.left_bt_text
message: "{{ left_button_name }}"
##### NSPanel boot init - Left Button #####
@@ -1892,7 +1894,7 @@ action:
milliseconds: "{{ delay_value }}"
- service: "{{ command_text_printf }}"
data:
component: home.right_button
component: home.right_bt_text
message: "{{ right_button_name }}"
##### NSPanel boot init finished #####
@@ -2765,7 +2767,7 @@ action:
milliseconds: "{{ delay_value }}"
- service: "{{ command_printf }}"
data:
cmd: home.p01.pic=68
cmd: home.p01.pic={{ hotwater_pic_on }}