upd: new home-page and prep notify
This commit is contained in:
@@ -1205,6 +1205,10 @@ variables:
|
|||||||
weather_icon_lightning: "55"
|
weather_icon_lightning: "55"
|
||||||
weather_icon_wind: "56"
|
weather_icon_wind: "56"
|
||||||
|
|
||||||
|
# humidity_pic
|
||||||
|
humidity_pic_on: "115"
|
||||||
|
humidity_pic_blank: "51"
|
||||||
|
|
||||||
# hotw_bt_pic
|
# hotw_bt_pic
|
||||||
hotw_bt_blank: "100"
|
hotw_bt_blank: "100"
|
||||||
hotw_bt_off: "101"
|
hotw_bt_off: "101"
|
||||||
@@ -1214,6 +1218,11 @@ variables:
|
|||||||
heating_bt_pic_off: "103"
|
heating_bt_pic_off: "103"
|
||||||
heating_bt_pic_on: "104"
|
heating_bt_pic_on: "104"
|
||||||
|
|
||||||
|
# home_buttons
|
||||||
|
home_button_blank: "116"
|
||||||
|
home_button_notify_white: "117"
|
||||||
|
home_button_notify_red: "118"
|
||||||
|
|
||||||
###### NEXTION COLOR MAPPING #####
|
###### NEXTION COLOR MAPPING #####
|
||||||
button_color_1: "65535"
|
button_color_1: "65535"
|
||||||
button_color_2: "10597"
|
button_color_2: "10597"
|
||||||
@@ -1235,6 +1244,7 @@ variables:
|
|||||||
page_buttonpage02: "buttonpage02"
|
page_buttonpage02: "buttonpage02"
|
||||||
page_buttonpage03: "buttonpage03"
|
page_buttonpage03: "buttonpage03"
|
||||||
page_buttonpage04: "buttonpage04"
|
page_buttonpage04: "buttonpage04"
|
||||||
|
page_notification: "notification"
|
||||||
|
|
||||||
|
|
||||||
##### MUI Multilingual User Interface (DE/EN) #####
|
##### MUI Multilingual User Interface (DE/EN) #####
|
||||||
@@ -2423,6 +2433,11 @@ action:
|
|||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ humidity is match "sensor." and states(humidity).state != "unavailable" }}'
|
value_template: '{{ humidity is match "sensor." and states(humidity).state != "unavailable" }}'
|
||||||
then:
|
then:
|
||||||
|
- delay:
|
||||||
|
milliseconds: "{{ delay_value }}"
|
||||||
|
- service: "{{ command_printf }}"
|
||||||
|
data:
|
||||||
|
cmd: home.humidity_pic.pic={{ humidity_pic_on }}
|
||||||
- delay:
|
- delay:
|
||||||
milliseconds: "{{ delay_value }}"
|
milliseconds: "{{ delay_value }}"
|
||||||
- service: "{{ command_text_printf }}"
|
- service: "{{ command_text_printf }}"
|
||||||
@@ -3869,6 +3884,11 @@ action:
|
|||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ humidity is match "sensor." and states(humidity).state != "unavailable" }}'
|
value_template: '{{ humidity is match "sensor." and states(humidity).state != "unavailable" }}'
|
||||||
then:
|
then:
|
||||||
|
- delay:
|
||||||
|
milliseconds: "{{ delay_value }}"
|
||||||
|
- service: "{{ command_printf }}"
|
||||||
|
data:
|
||||||
|
cmd: home.humidity_pic.pic={{ humidity_pic_on }}
|
||||||
- delay:
|
- delay:
|
||||||
milliseconds: "{{ delay_value }}"
|
milliseconds: "{{ delay_value }}"
|
||||||
- service: "{{ command_text_printf }}"
|
- service: "{{ command_text_printf }}"
|
||||||
@@ -5389,6 +5409,9 @@ action:
|
|||||||
component: "bpage04_label"
|
component: "bpage04_label"
|
||||||
message: "{{ button_page04_label }}"
|
message: "{{ button_page04_label }}"
|
||||||
|
|
||||||
|
## PAGE NOTIFICATION ##
|
||||||
|
- conditions: '{{ trigger.event.data.new_state.state == page_notification }}'
|
||||||
|
sequence:
|
||||||
|
|
||||||
##### Open Climate Settings #####
|
##### Open Climate Settings #####
|
||||||
- conditions:
|
- conditions:
|
||||||
|
|||||||
Reference in New Issue
Block a user