diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index a59509c..c1ba07d 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -32,7 +32,7 @@ The goal was to create a version that allows everyone to use the NSpanel fully l 🎉 Roadmap Roadmap can be found here [Roadmap](https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/roadmap) -â„šī¸ Version: v.3.1.0 +â„šī¸ Version: v.3.2 ' @@ -45,16 +45,16 @@ The goal was to create a version that allows everyone to use the NSpanel fully l ##### MAIN NAME ##### nspanel_name: name: ESPhome Node Name - description: '* *here you have to enter exactly the same **"device_name"** you entered in the Esphome file*' + description: '* *"SYSTEM" - here you have to enter exactly the same **"device_name"** you entered in the Esphome file*' default: [nspanel_name] selector: text: {} - ##### SYSTEM SETTINGS ##### + ##### SYSTEM SETTINGS ##### language: name: Language for NSPanel - description: '* *select the language for your NSPanel*' - default: 'EN' + description: '* *"SYSTEM" - select the language for your NSPanel*' + default: 'ENG' selector: select: mode: dropdown @@ -81,6 +81,8 @@ The goal was to create a version that allows everyone to use the NSpanel fully l value: GRC - label: 'Hungarian' value: HUN + - label: 'Hebrew' + value: HEB - label: 'Indonesian' value: IDN - label: 'Italian' @@ -112,20 +114,2810 @@ The goal was to create a version that allows everyone to use the NSpanel fully l - label: 'Ukrainian' value: UKR - tft_path: - name: Nextion TFT File Folder (Optional) - description: '* *TFT Path where the Nextion TFT File is stored. Attention! The **"Folder-Watcher"** must also be configured in the configuration.yaml. **Only necessary for manual upload of TFT file in ESPHome Advaced mode.** See HowTo*' - default: [] - selector: - text: {} delay: name: Delay to avoid synchronization problem - description: '* *Synchronization Problems may occur due to the **NETWORK / WLAN**. To avoid this problem enter your value for the delay (milliseconds)*' + description: '* *"SYSTEM" - Synchronization Problems may occur due to the **NETWORK / WLAN**. To avoid this problem enter your value for the delay (milliseconds)*' default: '1' selector: number: min: 0 max: 100 + + ##### PLACEHOLDER ###################################################################### + placeholder01: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ WEATHER AND TEMPERATURE ✅ ' + default: 'Weather and Temp' + selector: + select: + options: + - Weather and Temp + ##### PLACEHOLDER ###################################################################### + + ##### WEATHER - Page Home / Weather 01-04 ##### + weather: + name: Weather Integration + description: '* *"SYSTEM" - select our Weather Integration*' + default: 'Default' + selector: + select: + options: + - Default + - AccuWeather + weather_entity: + name: Weather entity from HA + description: '* *"SYSTEM" - Select your weather entity.*' + default: [] + selector: + entity: + domain: + - weather + + ##### Temp - Page Home ##### + outdoortemp: + name: Outdoor Temperature Sensor (Optional) + description: '* *Page "HOME" - If no outdoor sensor is available, leave the field empty and the value from your selected weather integration will be used automatically*' + default: [] + selector: + entity: + domain: + - sensor + home_outdoor_temp_label_color: + name: Outdoor Temperature Sensor - LABEL COLOR (Optional) + description: '* *Page "HOME" - Label color which should be displayed*' + default: 65535 #White + selector: + text: {} + indoortemp: + name: Indoor Temperature Sensor - ENTITY (Optional) + description: '* *Page "HOME" - An indoor temperature sensor is not necessary. Leave the field empty if you want to use the temperature sensor of the NSPanel. Additionally a temperature correction for the NSPanel sensor is possible under HA Devices. So everyone can adjust the sensor exactly*' + default: [] + selector: + entity: + domain: + - sensor + home_indoor_temp_icon: + name: Indoor Temperature Sensor - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed (Default #E50E)*' + default:  #E50E + selector: + text: {} + home_indoor_temp_icon_color: + name: Indoor Temperature Sensor - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed*' + default: 65535 #White + selector: + text: {} + home_indoor_temp_label_color: + name: Indoor Temperature Sensor - LABEL COLOR (Optional) + description: '* *Page "HOME" - Label color which should be displayed*' + default: 65535 #White + selector: + text: {} + + ##### PLACEHOLDER ###################################################################### + placeholder02: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ SENSOR HOME PAGE ✅ ' + default: 'sensor' + selector: + select: + options: + - sensor + ##### PLACEHOLDER ###################################################################### + + ##### Sensor - Page Home ##### + home_value01: + name: Sensor 01 - ENTITY (Optional) + description: '* *Page "HOME" - Entity which should be displayed*' + default: [] + selector: + entity: + domain: + - sensor + home_value01_icon: + name: Sensor 01 - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + home_value01_icon_color: + name: Sensor 01 - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed*' + default: 52857 #Grey super light + selector: + text: {} + home_value01_label_color: + name: Sensor 01 - LABEL COLOR (Optional) + description: '* *Page "HOME" - Label color which should be displayed*' + default: 52857 #Grey super light + selector: + text: {} + home_value02: + name: Sensor 02 - ENTITY (Optional) + description: '* *Page "HOME" - Entity which should be displayed*' + default: [] + selector: + entity: + domain: + - sensor + home_value02_icon: + name: Sensor 02 - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + home_value02_icon_color: + name: Sensor 02 - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed*' + default: 52857 #Grey super light + selector: + text: {} + home_value02_label_color: + name: Sensor 02 - LABEL COLOR (Optional) + description: '* *Page "HOME" - Label color which should be displayed*' + default: 52857 #Grey super light + selector: + text: {} + home_value03: + name: Sensor 03 - ENTITY (Optional) + description: '* *Page "HOME" - Entity which should be displayed*' + default: [] + selector: + entity: + domain: + - sensor + home_value03_icon: + name: Sensor 03 - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + home_value03_icon_color: + name: Sensor 03 - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed*' + default: 52857 #Grey super light + selector: + text: {} + home_value03_label_color: + name: Sensor 03 - LABEL COLOR (Optional) + description: '* *Page "HOME" - Label color which should be displayed*' + default: 52857 #Grey super light + selector: + text: {} + + ##### PLACEHOLDER ###################################################################### + placeholder03: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ CHIPS ✅ ' + default: 'chips' + selector: + select: + options: + - chips + ##### PLACEHOLDER ###################################################################### + + ##### Chips - Page Home ##### + chip01: + name: Chip 01 - ENTITY (Optional) + description: '* *Page "HOME" - Entity which should be displayed (ONLY light | switch | binary_sensor | sensor | with state ON/OFF)*' + default: [] + selector: + entity: + domain: + - binary_sensor + - sensor + - light + - switch + chip01_icon: + name: Chip 01 - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed when state ON (if not set, no icon is shown)*' + default: [] + selector: + text: {} + chip01_icon_color: + name: Chip 01 - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed*' + default: 33808 #Grey light + selector: + text: {} + chip02: + name: Chip 02 - ENTITY (Optional) + description: '* *Page "HOME" - Entity which should be displayed (ONLY light | switch | binary_sensor | sensor | with state ON/OFF)*' + default: [] + selector: + entity: + domain: + - binary_sensor + - sensor + - light + - switch + chip02_icon: + name: Chip 02 - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed when state ON (if not set, no icon is shown)*' + default: [] + selector: + text: {} + chip02_icon_color: + name: Chip 02 - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed*' + default: 33808 #Grey light + selector: + text: {} + chip03: + name: Chip 03 - ENTITY (Optional) + description: '* *Page "HOME" - Entity which should be displayed (ONLY light | switch | binary_sensor | sensor | with state ON/OFF)*' + default: [] + selector: + entity: + domain: + - binary_sensor + - sensor + - light + - switch + chip03_icon: + name: Chip 03 - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed when state ON (if not set, no icon is shown)*' + default: [] + selector: + text: {} + chip03_icon_color: + name: Chip 03 - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed*' + default: 33808 #Grey light + selector: + text: {} + chip04: + name: Chip 04 - ENTITY (Optional) + description: '* *Page "HOME" - Entity which should be displayed (ONLY light | switch | binary_sensor | sensor | with state ON/OFF)*' + default: [] + selector: + entity: + domain: + - binary_sensor + - sensor + - light + - switch + chip04_icon: + name: Chip 04 - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed when state ON (if not set, no icon is shown)*' + default: [] + selector: + text: {} + chip04_icon_color: + name: Chip 04 - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed*' + default: 33808 #Grey light + selector: + text: {} + chip05: + name: Chip 05 - ENTITY (Optional) + description: '* *Page "HOME" - Entity which should be displayed (ONLY light | switch | binary_sensor | sensor | with state ON/OFF)*' + default: [] + selector: + entity: + domain: + - binary_sensor + - sensor + - light + - switch + chip05_icon: + name: Chip 05 - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed when state ON (if not set, no icon is shown)*' + default: [] + selector: + text: {} + chip05_icon_color: + name: Chip 05 - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed*' + default: 33808 #Grey light + selector: + text: {} + chip06: + name: Chip 06 - ENTITY (Optional) + description: '* *Page "HOME" - Entity which should be displayed (ONLY light | switch | binary_sensor | sensor | with state ON/OFF)*' + default: [] + selector: + entity: + domain: + - binary_sensor + - sensor + - light + - switch + chip06_icon: + name: Chip 06 - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed when state ON (if not set, no icon is shown)*' + default: [] + selector: + text: {} + chip06_icon_color: + name: Chip 06 - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed*' + default: 33808 #Grey light + selector: + text: {} + chip07: + name: Chip 07 - ENTITY (Optional) + description: '* *Page "HOME" - Entity which should be displayed (ONLY light | switch | binary_sensor | sensor | with state ON/OFF)*' + default: [] + selector: + entity: + domain: + - binary_sensor + - sensor + - light + - switch + chip07_icon: + name: Chip 07 - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed when state ON (if not set, no icon is shown)*' + default: [] + selector: + text: {} + chip07_icon_color: + name: Chip 07 - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed*' + default: 33808 #Grey light + selector: + text: {} + + ##### PLACEHOLDER ###################################################################### + placeholder04: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ CLIMATE ✅ ' + default: 'climate' + selector: + select: + options: + - climate + ##### PLACEHOLDER ###################################################################### + + ##### Climate - Page Climate ##### + climate: + name: Climate to control - ENTITY (Optional) + description: '* *Page "CLIMATE" - If an entity is selected, the **"Thermostat page"** is activated and enabled. If you have **"Underfloor Heating System"** and want to switch it via the relay, you must create a separate climate in HA. See HowTo*' + default: [] + selector: + entity: + domain: climate + climate_optimistic: + name: Climate control optimistic mode - TRUE/FALSE (Optional) + default: true + description: '* *Page "CLIMATE" - Depends on your climate device and HA-Integration. If optimisitc mode is **OFF** then changes are made will wait for response from device to update temperature in the display. This can cause delays or jumping values. If **ON** the script update the display immediately but apply changes after closing climate-page* ' + selector: + boolean: + hotwatercharge: + name: Hot Water Charge Button - ENTITY (Optional) + description: '* *Page "CLIMATE" - Choose your switch to turn on/off*' + default: [] + selector: + entity: + domain: + - switch + - input_boolean + + ##### PLACEHOLDER ###################################################################### + placeholder05: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ QR CODE ✅ ' + default: 'qrcode' + selector: + select: + options: + - qrcode + ##### PLACEHOLDER ###################################################################### + + ##### QR Code - Page Home/QR Code ##### + qrcode_enabled: + name: Activate QR Code - TRUE/FALSE (Optional) + default: false + description: '* *Page "HOME" - activate QR Code page and QR Code Button on the home page* ' + selector: + boolean: + + qrcode_label: + name: QR Code page name - LABEL (Optional) + description: '* *Page "QRCODE" - Label which should be displayed*' + default: [] + selector: + text: {} + + qrcode_value: + name: QR Code content - VALUE (Optional) + description: '* *Page "QRCODE" - Value you want to display as QR code*' + default: [] + selector: + text: {} + home_button05_icon: + name: QR Code - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed (Default #E432)*' + default:  #E432 + selector: + text: {} + home_button05_icon_color: + name: QR Code - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*' + default: 52857 #Grey super light + selector: + text: {} + + ##### PLACEHOLDER ###################################################################### + placeholder06: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ HARDWARE BUTTONS ✅ ' + default: 'hardwarebuttons' + selector: + select: + options: + - hardwarebuttons + ##### PLACEHOLDER ###################################################################### + + ##### Hardware Buttons - Page Home ##### + hold_delay: + name: Delay for HW-Button hold in seconds - VALUE + description: '* *"SYSTEM" - Time in seconds to detect a hold*' + default: 1.0 + selector: + number: + min: 1.0 + max: 10.0 + step: 1.0 + unit_of_measurement: seconds + relay_1_local_fallback: + name: Activate relay 1 local fallback - TRUE/FALSE (Optional) + default: false + description: '* *"SYSTEM" - activate this to use left button to toggle relay 1 if display is offline* ' + selector: + boolean: + left_button_entity: + name: Left hardware button - ENTITY (Optional) + description: '* *"SYSTEM" - Entity which should be switched*' + default: [] + selector: + entity: + domain: + - light + - switch + - input_boolean + - cover + - automation + - button + - input_button + - scene + - script + - fan + left_button_name: + name: Left hardware button name - LABEL (Optional) + description: '* *Page "HOME" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + left_button_hold_select: + name: Left hardware button hold assignment - VALUE (Optional) + description: '* *"SYSTEM" - select what shold happen on hold*' + default: 'Default' + selector: + select: + options: + - Default + - Custom Action + left_button_hold_custom_action: + name: Left hardware button custom hold action - VALUE (Optional) + description: '*"SYSTEM" - The action(s) to launch on hold**' + default: [] + selector: + action: + left_button_color: + name: Left hardware button - LABEL COLOR (Optional) + description: '* *Page "HOME" - LABEL color which should be displayed*' + default: 52857 #Grey super light + selector: + text: {} + + relay_2_local_fallback: + name: Activate relay 2 local fallback - TRUE/FALSE (Optional) + default: false + description: '* *"SYSTEM" - activate this to use right button to toggle relay 2 if display is offline* ' + selector: + boolean: + right_button_entity: + name: Right hardware button - ENTITY (Optional) + description: '* *"SYSTEM" - Entity which should be switched*' + default: [] + selector: + entity: + domain: + - light + - switch + - input_boolean + - cover + - automation + - button + - input_button + - scene + - script + - fan + right_button_name: + name: Right hardware button name - LABEL (Optional) + description: '* *Page "HOME" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + right_button_hold_select: + name: Right button hold assignment - VALUE (Optional) + description: '* *"SYSTEM" - select what shold happen on hold*' + default: 'Default' + selector: + select: + options: + - Default + - Custom Action + right_button_hold_custom_action: + name: Right button custom hold action - VALUE (Optional) + description: '*"SYSTEM" - The action(s) to launch on hold**' + default: [] + selector: + action: + right_button_color: + name: Right hardware button - LABEL COLOR (Optional) + description: '* *Page "HOME" - LABEL color which should be displayed*' + default: 52857 #Grey super light + selector: + text: {} + + ##### PLACEHOLDER ###################################################################### + placeholder07: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ BUTTON PAGE 01 ✅ ' + default: 'buttonpage01' + selector: + select: + options: + - buttonpage01 + ##### PLACEHOLDER ###################################################################### + + ##### BUTTON Page Labels ##### + button_page01_label: + name: Button page 01 name - LABEL (Optional) + description: '* *Page "ButtonPage01" - Label which should be displayed*' + default: [] + selector: + text: {} + + button_page02_label: + name: Button page 02 name - LABEL (Optional) + description: '* *Page "ButtonPage02" - Label which should be displayed*' + default: [] + selector: + text: {} + + button_page03_label: + name: Button page 03 name - LABEL (Optional) + description: '* *Page "ButtonPage03" - Label which should be displayed*' + default: [] + selector: + text: {} + + button_page04_label: + name: Button page 04 name - LABEL (Optional) + description: '* *Page "ButtonPage04" - Label which should be displayed*' + default: [] + selector: + text: {} + + ##### BUTTONS ##### + entity01: + name: Button 01 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE01" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity01_name: + name: Button 01 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE01" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity01_icon: + name: Button 01 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity01_icon_color: + name: Button 01 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity01_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE01" - Ask for confirmation to execute **Button01** action*' + selector: + boolean: + entity02: + name: Button 02 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE01" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity02_name: + name: Button 02 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE01" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity02_icon: + name: Button 02 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity02_icon_color: + name: Button 02 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity02_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE01" - Ask for confirmation to execute **Button02** action*' + selector: + boolean: + entity03: + name: Button 03 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE01" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity03_name: + name: Button 03 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE01" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity03_icon: + name: Button 03 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity03_icon_color: + name: Button 03 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity03_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE01" - Ask for confirmation to execute **Button03** action*' + selector: + boolean: + entity04: + name: Button 04 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE01" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity04_name: + name: Button 04 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE01" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity04_icon: + name: Button 04 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity04_icon_color: + name: Button 04 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity04_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE01" - Ask for confirmation to execute **Button04** action*' + selector: + boolean: + entity05: + name: Button 05 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE01" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity05_name: + name: Button 05 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE01" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity05_icon: + name: Button 05 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity05_icon_color: + name: Button 05 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity05_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE01" - Ask for confirmation to execute **Button05** action*' + selector: + boolean: + entity06: + name: Button 06 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE01" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity06_name: + name: Button 06 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE01" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity06_icon: + name: Button 06 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity06_icon_color: + name: Button 06 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity06_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE01" - Ask for confirmation to execute **Button06** action*' + selector: + boolean: + entity07: + name: Button 07 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE01" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity07_name: + name: Button 07 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE01" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity07_icon: + name: Button 07 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity07_icon_color: + name: Button 07 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity07_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE01" - Ask for confirmation to execute **Button07** action*' + selector: + boolean: + entity08: + name: Button 08 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE01" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity08_name: + name: Button 08 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE01" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity08_icon: + name: Button 08 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity08_icon_color: + name: Button 08 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE01" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity08_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE01" - Ask for confirmation to execute **Button08** action*' + selector: + boolean: + ##### PLACEHOLDER ###################################################################### + placeholder08: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ BUTTON PAGE 02 ✅ ' + default: 'buttonpage02' + selector: + select: + options: + - buttonpage02 + ##### PLACEHOLDER ###################################################################### + entity09: + name: Button 09 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE02" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity09_name: + name: Button 09 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE02" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity09_icon: + name: Button 09 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity09_icon_color: + name: Button 09 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity09_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE02" - Ask for confirmation to execute **Button09** action*' + selector: + boolean: + entity10: + name: Button 10 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE02" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity10_name: + name: Button 10 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE02" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity10_icon: + name: Button 10 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity10_icon_color: + name: Button 10 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity10_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE02" - Ask for confirmation to execute **Button10** action*' + selector: + boolean: + entity11: + name: Button 11 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE02" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity11_name: + name: Button 11 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE02" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity11_icon: + name: Button 11 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity11_icon_color: + name: Button 11 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity11_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE02" - Ask for confirmation to execute **Button11** action*' + selector: + boolean: + entity12: + name: Button 12 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE02" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity12_name: + name: Button 12 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE02" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity12_icon: + name: Button 12 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity12_icon_color: + name: Button 12 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity12_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE02" - Ask for confirmation to execute **Button12** action*' + selector: + boolean: + entity13: + name: Button 13 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE02" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity13_name: + name: Button 13 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE02" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity13_icon: + name: Button 13 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity13_icon_color: + name: Button 13 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity13_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE02" - Ask for confirmation to execute **Button13** action*' + selector: + boolean: + entity14: + name: Button 14 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE02" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity14_name: + name: Button 14 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE02" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity14_icon: + name: Button 14 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity14_icon_color: + name: Button 14 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity14_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE02" - Ask for confirmation to execute **Button14** action*' + selector: + boolean: + entity15: + name: Button 15 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE02" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity15_name: + name: Button 15 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE02" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity15_icon: + name: Button 15 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity15_icon_color: + name: Button 15 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity15_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE02" - Ask for confirmation to execute **Button15** action*' + selector: + boolean: + entity16: + name: Button 16 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE02" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity16_name: + name: Button 16 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE02" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity16_icon: + name: Button 16 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity16_icon_color: + name: Button 16 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE02" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity16_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE02" - Ask for confirmation to execute **Button16** action*' + selector: + boolean: + ##### PLACEHOLDER ###################################################################### + placeholder09: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ BUTTON PAGE 03 ✅ ' + default: 'buttonpage03' + selector: + select: + options: + - buttonpage03 + ##### PLACEHOLDER ###################################################################### + entity17: + name: Button 17 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE03" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity17_name: + name: Button 17 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE03" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity17_icon: + name: Button 17 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity17_icon_color: + name: Button 17 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity17_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE03" - Ask for confirmation to execute **Button17** action*' + selector: + boolean: + entity18: + name: Button 18 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE03" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity18_name: + name: Button 18 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE03" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity18_icon: + name: Button 18 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity18_icon_color: + name: Button 18 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity18_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE03" - Ask for confirmation to execute **Button18** action*' + selector: + boolean: + entity19: + name: Button 19 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE03" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity19_name: + name: Button 19 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE03" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity19_icon: + name: Button 19 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity19_icon_color: + name: Button 19 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity19_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE03" - Ask for confirmation to execute **Button19** action*' + selector: + boolean: + entity20: + name: Button 20 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE03" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity20_name: + name: Button 20 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE03" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity20_icon: + name: Button 20 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity20_icon_color: + name: Button 20 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity20_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE03" - Ask for confirmation to execute **Button20** action*' + selector: + boolean: + entity21: + name: Button 21 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE03" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity21_name: + name: Button 21 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE03" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity21_icon: + name: Button 21 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity21_icon_color: + name: Button 21 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity21_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE03" - Ask for confirmation to execute **Button21** action*' + selector: + boolean: + entity22: + name: Button 22 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE03" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity22_name: + name: Button 22 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE03" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity22_icon: + name: Button 22 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity22_icon_color: + name: Button 22 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity22_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE03" - Ask for confirmation to execute **Button22** action*' + selector: + boolean: + entity23: + name: Button 23 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE03" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity23_name: + name: Button 23 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE03" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity23_icon: + name: Button 23 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity23_icon_color: + name: Button 23 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity23_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE03" - Ask for confirmation to execute **Button23** action*' + selector: + boolean: + entity24: + name: Button 24 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE03" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity24_name: + name: Button 24 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE03" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity24_icon: + name: Button 24 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity24_icon_color: + name: Button 24 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE03" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity24_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE03" - Ask for confirmation to execute **Button24** action*' + selector: + boolean: + ##### PLACEHOLDER ###################################################################### + placeholder10: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ BUTTON PAGE 04 ✅ ' + default: 'buttonpage04' + selector: + select: + options: + - buttonpage04 + ##### PLACEHOLDER ###################################################################### + entity25: + name: Button 25 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE04" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity25_name: + name: Button 25 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE04" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity25_icon: + name: Button 25 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity25_icon_color: + name: Button 25 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity25_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE04" - Ask for confirmation to execute **Button25** action*' + selector: + boolean: + entity26: + name: Button 26 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE04" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity26_name: + name: Button 26 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE04" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity26_icon: + name: Button 26 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity26_icon_color: + name: Button 26 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity26_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE04" - Ask for confirmation to execute **Button26** action*' + selector: + boolean: + entity27: + name: Button 27 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE04" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity27_name: + name: Button 27 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE04" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity27_icon: + name: Button 27 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity27_icon_color: + name: Button 27 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity27_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE04" - Ask for confirmation to execute **Button27** action*' + selector: + boolean: + entity28: + name: Button 28 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE04" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity28_name: + name: Button 28 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE04" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity28_icon: + name: Button 28 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity28_icon_color: + name: Button 28 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity28_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE04" - Ask for confirmation to execute **Button28** action*' + selector: + boolean: + entity29: + name: Button 29 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE04" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity29_name: + name: Button 29 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE04" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity29_icon: + name: Button 29 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity29_icon_color: + name: Button 29 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity29_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE04" - Ask for confirmation to execute **Button29** action*' + selector: + boolean: + entity30: + name: Button 30 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE04" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity30_name: + name: Button 30 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE04" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity30_icon: + name: Button 30 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity30_icon_color: + name: Button 30 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity30_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE04" - Ask for confirmation to execute **Button30** action*' + selector: + boolean: + entity31: + name: Button 31 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE04" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity31_name: + name: Button 31 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE04" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity31_icon: + name: Button 31 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity31_icon_color: + name: Button 31 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' + default: 1055 #Blue #Blue + selector: + text: {} + entity31_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE04" - Ask for confirmation to execute **Button31** action*' + selector: + boolean: + entity32: + name: Button 32 - ENTITY (Optional) + description: '* *Page "BUTTONPAGE04" - Entity which should be switched (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan | climate)*' + default: [] + selector: + entity: + domain: + - light + - switch + - cover + - input_boolean + - automation + - button + - input_button + - scene + - person + - script + - binary_sensor + - fan + - climate + entity32_name: + name: Button 32 name - LABEL (Optional) + description: '* *Page "BUTTONPAGE04" - Label which should be displayed (10 characters are supported)*' + default: [] + selector: + text: {} + entity32_icon: + name: Button 32 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (Default - an icon matching the entity will be set automatically)*' + default: [] + selector: + text: {} + entity32_icon_color: + name: Button 32 - ICON COLOR (Optional) + description: '* *Page "BUTTONPAGE04" - Icon color which should be displayed when button is on*' + default: 1055 #Blue + selector: + text: {} + entity32_confirm: + name: Confirm execution of the button press - TRUE/FALSE (Optional) + default: false + description: '* *Page "BUTTONPAGE04" - Ask for confirmation to execute **Button32** action*' + selector: + boolean: + + ##### PLACEHOLDER ###################################################################### + placeholder11: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ ENTITY PAGE SETTINGS ✅ ' + default: 'entitypage' + selector: + select: + options: + - entitypage + ##### PLACEHOLDER ###################################################################### + + ##### ENTITY Pages Config ##### + entitypages_enabled: + name: Activate entity page - TRUE/FALSE (Optional) + default: false + description: '* *"SYSTEM" - activate entity page and entity page Button on the home page* ' + selector: + boolean: + home_button06_icon: + name: Entity page - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed (Default #EDCF) *' + default:  #EDCF + selector: + text: {} + home_button06_icon_color: + name: Entity page - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*' + default: 52857 #Grey super light + selector: + text: {} + ##### ENTITY Page Labels ##### + ##### PLACEHOLDER ###################################################################### + placeholder12: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ ENTITY PAGE 01 ✅ ' + default: 'entitypage01' + selector: + select: + options: + - entitypage01 + ##### PLACEHOLDER ###################################################################### + entity_page01_label: + name: Entity page 01 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE01" - Label which should be displayed*' + default: [] + selector: + text: {} + entity_page02_label: + name: Entity page 02 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE02" - Label which should be displayed*' + default: [] + selector: + text: {} + entity_page03_label: + name: Entity page 03 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE03" - Label which should be displayed*' + default: [] + selector: + text: {} + entity_page04_label: + name: Entity page 04 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE04" - Label which should be displayed*' + default: [] + selector: + text: {} + + ##### ENTITIES ##### + entities_entity01: + name: Entity 01 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE01" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity01_name: + name: Entity 01 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE01" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity01_icon: + name: Entity 01 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity02: + name: Entity 02 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE01" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity02_name: + name: Entity 02 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE01" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity02_icon: + name: Entity 02 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity03: + name: Entity 03 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE01" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity03_name: + name: Entity 03 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE01" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity03_icon: + name: Entity 03 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity04: + name: Entity 04 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE01" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity04_name: + name: Entity 04 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE01" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity04_icon: + name: Entity 04 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity05: + name: Entity 05 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE01" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity05_name: + name: Entity 05 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE01" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity05_icon: + name: Entity 05 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity06: + name: Entity 06 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE01" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity06_name: + name: Entity 06 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE01" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity06_icon: + name: Entity 06 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity07: + name: Entity 07 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE01" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity07_name: + name: Entity 07 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE01" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity07_icon: + name: Entity 07 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity08: + name: Entity 08 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE01" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity08_name: + name: Entity 08 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE01" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity08_icon: + name: Entity 08 - ICON (Optional) + description: '* *Page "BUTTONPAGE01" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + ##### PLACEHOLDER ###################################################################### + placeholder13: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ ENTITY PAGE 02 ✅ ' + default: 'entitypage02' + selector: + select: + options: + - entitypage02 + ##### PLACEHOLDER ###################################################################### + entities_entity09: + name: Entity 09 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE02" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity09_name: + name: Entity 09 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE02" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity09_icon: + name: Entity 09 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity10: + name: Entity 10 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE02" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity10_name: + name: Entity 10 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE02" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity10_icon: + name: Entity 10 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity11: + name: Entity 11 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE02" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity11_name: + name: Entity 11 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE02" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity11_icon: + name: Entity 11 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity12: + name: Entity 12 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE02" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity12_name: + name: Entity 12 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE02" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity12_icon: + name: Entity 12 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity13: + name: Entity 13 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE02" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity13_name: + name: Entity 13 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE02" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity13_icon: + name: Entity 13 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity14: + name: Entity 14 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE02" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity14_name: + name: Entity 14 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE02" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity14_icon: + name: Entity 14 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity15: + name: Entity 15 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE02" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity15_name: + name: Entity 15 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE02" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity15_icon: + name: Entity 15 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity16: + name: Entity 16 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE02" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity16_name: + name: Entity 16 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE02" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity16_icon: + name: Entity 16 - ICON (Optional) + description: '* *Page "BUTTONPAGE02" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + ##### PLACEHOLDER ###################################################################### + placeholder14: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ ENTITY PAGE 03 ✅ ' + default: 'entitypage03' + selector: + select: + options: + - entitypage03 + ##### PLACEHOLDER ###################################################################### + entities_entity17: + name: Entity 17 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE03" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity17_name: + name: Entity 17 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE03" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity17_icon: + name: Entity 17 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity18: + name: Entity 18 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE03" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity18_name: + name: Entity 18 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE03" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity18_icon: + name: Entity 18 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity19: + name: Entity 19 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE03" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity19_name: + name: Entity 19 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE03" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity19_icon: + name: Entity 19 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity20: + name: Entity 20 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE03" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity20_name: + name: Entity 20 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE03" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity20_icon: + name: Entity 20 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity21: + name: Entity 21 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE03" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity21_name: + name: Entity 21 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE03" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity21_icon: + name: Entity 21 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity22: + name: Entity 22 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE03" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity22_name: + name: Entity 22 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE03" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity22_icon: + name: Entity 22 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity23: + name: Entity 23 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE03" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity23_name: + name: Entity 23 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE03" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity23_icon: + name: Entity 23 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity24: + name: Entity 24 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE03" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity24_name: + name: Entity 24 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE03" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity24_icon: + name: Entity 24 - ICON (Optional) + description: '* *Page "BUTTONPAGE03" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + ##### PLACEHOLDER ###################################################################### + placeholder15: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ ENTITY PAGE 04 ✅ ' + default: 'entitypage04' + selector: + select: + options: + - entitypage04 + ##### PLACEHOLDER ###################################################################### + entities_entity25: + name: Entity 25 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE04" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity25_name: + name: Entity 25 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE04" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity25_icon: + name: Entity 25 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity26: + name: Entity 26 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE04" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity26_name: + name: Entity 26 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE04" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity26_icon: + name: Entity 26 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity27: + name: Entity 27 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE04" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity27_name: + name: Entity 27 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE04" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity27_icon: + name: Entity 27 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity28: + name: Entity 28 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE04" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity28_name: + name: Entity 28 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE04" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity28_icon: + name: Entity 28 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity29: + name: Entity 29 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE04" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity29_name: + name: Entity 29 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE04" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity29_icon: + name: Entity 29 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity30: + name: Entity 30 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE04" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity30_name: + name: Entity 30 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE04" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity30_icon: + name: Entity 30 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity31: + name: Entity 31 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE04" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity31_name: + name: Entity 31 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE04" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity31_icon: + name: Entity 31 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + entities_entity32: + name: Entity 32 - ENTITY (Optional) + description: '* *Page "ENTITYPAGE04" - entity which should be displayed*' + default: [] + selector: + entity: + entities_entity32_name: + name: Entity 32 name - LABEL (Optional) + description: '* *Page "ENTITYPAGE04" - Label which should be displayed (replaces the **"friendly_name"** of the entity)*' + default: [] + selector: + text: {} + entities_entity32_icon: + name: Entity 32 - ICON (Optional) + description: '* *Page "BUTTONPAGE04" - Icon which should be displayed (if not set, no icon is shown)*' + default: [] + selector: + text: {} + + ##### PLACEHOLDER ###################################################################### + placeholder16: + name: 'Is only a placeholder without function for a better overview' + description: '# ✅ CUSTOM CONFIGURATION ✅ ' + default: 'configuration' + selector: + select: + options: + - configuration + ##### PLACEHOLDER ###################################################################### + + ##### General Custom Design ##### + home_button04_icon: + name: Notification - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed (Default #E1ED) *' + default:  #E1ED + selector: + text: {} + home_button04_icon_color01: + name: Notification read - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*' + default: 52857 #Grey super light + selector: + text: {} + home_button04_icon_color02: + name: Notification unread - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*' + default: 63488 #Red + selector: + text: {} + relay01_icon: + name: Relay 01 - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed (Default #E3A5) *' + default: îŽĨ #E3A5 + selector: + text: {} + relay01_icon_color: + name: Relay 01 - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*' + default: 33808 #Grey light + selector: + text: {} + relay02_icon: + name: Relay 02 - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed (Default #E3A8) *' + default:  #E3A8 + selector: + text: {} + relay02_icon_color: + name: Relay - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*' + default: 33808 #Grey light + selector: + text: {} + thermostat_icon: + name: Thermostat - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed (Default #E50E) *' + default:  #E50E + selector: + text: {} + heat_icon: + name: Thermostat - ICON (Optional) + description: '* *Page "HOME" - Icon which should be displayed (Default #E50F) *' + default:  #E50F + selector: + text: {} + thermostat_icon_color: + name: Thermostat / Heat - ICON COLOR (Optional) + description: '* *Page "HOME" - Icon color which should be displayed (default color is set)*' + default: 33808 #Grey light + selector: + text: {} + time_label_color: + name: Time - LABEL COLOR (Optional) + description: '* *Page "HOME" - Label color which should be displayed (default color is set)*' + default: 65535 #White + selector: + text: {} + date_label_color: + name: Date - LABEL COLOR (Optional) + description: '* *Page "HOME" - Label color which should be displayed (default color is set)*' + default: 65535 #White + selector: + text: {} + +###### Muss noch Raus ############################################################################################################################################################################### + hotwatertemp: + name: Hot Water Temperature Sensor (Optional) + description: '* *Choose your hot water sensor*' + default: [] + selector: + entity: + domain: + - sensor + tft_path: + name: Nextion TFT File Folder (Optional) + description: '* *TFT Path where the Nextion TFT File is stored. Attention! The **"Folder-Watcher"** must also be configured in the configuration.yaml. **Only necessary for manual upload of TFT file in ESPHome Advaced mode.** See HowTo*' + default: [] + selector: + text: {} sync_value_ha: name: Synchronization of all values (Optional) description: '* *Synchronization of values between HA and NSPanel for Lightsetting and Coversetting Page -> Maybe causes number jumps*' @@ -149,1847 +2941,11 @@ The goal was to create a version that allows everyone to use the NSpanel fully l - label: 'Yes' value: select_yes - ##### WEATHER ##### - weather: - name: Weather Integration - description: '* *select our Weather Integration*' - default: 'Default' - selector: - select: - options: - - Default - - AccuWeather - weather_entity: - name: Weather entity from HA - description: '* *Select your weather entity.*' - default: [] - selector: - entity: - domain: - - weather - - ##### GENERAL ENTITYS ##### - outdoortemp: - name: Outdoor Temperature Sensor (Optional) - description: '* *If no outdoor sensor is available, leave the field empty and the value from your selected weather integration will be used automatically.*' - default: [] - selector: - entity: - domain: - - sensor - - indoortemp: - name: Indoor Temperature Sensor (Optional) - description: '* *An indoor temperature sensor is not necessary. Leave the field empty if you want to use the temperature sensor of the NSPanel. Additionally a temperature correction for the NSPanel sensor is possible under HA Devices. So everyone can adjust the sensor exactly*' - default: [] - selector: - entity: - domain: - - sensor - - humidity: - name: Humidity Sensor (Optional) - description: '* *Choose your humidity sensor*' - default: [] - selector: - entity: - domain: - - sensor - hotwatertemp: - name: Hot Water Temperature Sensor (Optional) - description: '* *Choose your hot water sensor*' - default: [] - selector: - entity: - domain: - - sensor - hotwatercharge: - name: Hot Water Charge (Optional) - description: '* *Choose your switch to turn your hot water ON or OFF*' - default: [] - selector: - entity: - domain: - - switch - - input_boolean - heatingsystemflame: - name: Top Menu 04 (Optional) - description: '* *Top Menu 04 is a Flame icon. When your selected sensor is on, a flame icon is displayed*' - default: [] - selector: - entity: - domain: - - binary_sensor - climate: - name: Climate to control (Optional) - description: '* *If an entity is selected, the **"Thermostat page"** is activated and enabled. If you have **"Underfloor Heating System"** and want to switch it via the relay, you must create a separate climate in HA. See HowTo*' - default: [] - selector: - entity: - domain: climate - climate_optimistic: - name: Climate control optimistic mode (Optional) - default: true - description: '* *Depends on your climate device and HA-Integration. If optimisitc mode is **OFF** then changes are made will wait for response from device to update temperature in the display. This can cause delays or jumping values. If **ON** the script update the display immediately but apply changes after closing climate-page* ' - selector: - boolean: - - qrcode_state: - name: Activate QR Code (Optional) - default: false - description: '* *activate the QR code page and QR Code Button on the home page* ' - selector: - boolean: - - qrcode_label: - name: Name "QR Code Page" (Optional) - description: '* *Displayed on top of **"QR Code"***' - default: [] - selector: - text: {} - - qrcode_value: - name: QR Code content (Optional) - description: '* *Value you want to display as QR code*' - default: [] - selector: - text: {} - - ##### HARDWARE BUTTONS ##### - left_button_entity: - name: Left Button (Optional) - description: '* *Left Hardware Button - Select the entity that should be switched*' - default: [] - selector: - entity: - domain: - - light - - switch - - input_boolean - - cover - - automation - - button - - input_button - - scene - - script - - fan - left_button_name: - name: Name "Left Button" (Optional) - description: '* *Left Button label - 10 characters are supported*' - default: [] - selector: - text: {} - relay_1_local_fallback: - name: Activate Relay 1 local Fallback (Optional) - default: false - description: '* *activate this to use left button to toggle relay 1 if display is offline* ' - selector: - boolean: - right_button_entity: - name: Right Button (Optional) - description: '* *Right Hardware Button - Select the entity that should be switched*' - default: [] - selector: - entity: - domain: - - light - - switch - - input_boolean - - cover - - automation - - button - - input_button - - scene - - script - - fan - right_button_name: - name: Name "Right Button" (Optional) - description: '* *Right Button label - 10 characters are supported*' - default: [] - selector: - text: {} - relay_2_local_fallback: - name: Activate Relay 2 local Fallback (Optional) - default: false - description: '* *activate this to use right button to toggle relay 2 if display is offline* ' - selector: - boolean: - - ##### BUTTON Page Labels ##### - button_page01_label: - name: Name "Button Page 1" (Optional) - description: '* *Displayed on top of **"Button Page 1"***' - default: [] - selector: - text: {} - - button_page02_label: - name: Name "Button Page 2" (Optional) - description: '* *Displayed on top of **"Button Page 2"***' - default: [] - selector: - text: {} - - button_page03_label: - name: Name "Button Page 3" (Optional) - description: '* *Displayed on top of **"Button Page 3"***' - default: [] - selector: - text: {} - - button_page04_label: - name: Name "Button Page 4" (Optional) - description: '* *Displayed on top of **"Button Page 4"***' - default: [] - selector: - text: {} - - ##### BUTTONS ##### - entity01: - name: Button 01 (Optional) - description: '* *Displayed on **"Button Page 1"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity01_name: - name: Name "Button 01" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity01_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button01"** action*' - selector: - boolean: - entity02: - name: Button 02 (Optional) - description: '* *Displayed on **"Button Page 1"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity02_name: - name: Name "Button 02" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity02_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button02"** action*' - selector: - boolean: - entity03: - name: Button 03 (Optional) - description: '* *Displayed on **"Button Page 1"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity03_name: - name: Name "Button 03" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity03_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button03"** action*' - selector: - boolean: - entity04: - name: Button 04 (Optional) - description: '* *Displayed on **"Button Page 1"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity04_name: - name: Name "Button 04" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity04_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button04"** action*' - selector: - boolean: - entity05: - name: Button 05 (Optional) - description: '* *Displayed on **"Button Page 1"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity05_name: - name: Name "Button 05" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity05_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button05"** action*' - selector: - boolean: - entity06: - name: Button 06 (Optional) - description: '* *Displayed on **"Button Page 1"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity06_name: - name: Name "Button 06" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity06_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button06"** action*' - selector: - boolean: - entity07: - name: Button 07 (Optional) - description: '* *Displayed on **"Button Page 1"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity07_name: - name: Name "Button 07" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity07_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button07"** action*' - selector: - boolean: - entity08: - name: Button 08 (Optional) - description: '* *Displayed on **"Button Page 1"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity08_name: - name: Name "Button 08" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity08_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button08"** action*' - selector: - boolean: - entity09: - name: Button 09 (Optional) - description: '* *Displayed on **"Button Page 2"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity09_name: - name: Name "Button 09" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity09_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button09"** action*' - selector: - boolean: - entity10: - name: Button 10 (Optional) - description: '* *Displayed on **"Button Page 2"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity10_name: - name: Name "Button 10" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity10_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button10"** action*' - selector: - boolean: - entity11: - name: Button 11 (Optional) - description: '* *Displayed on **"Button Page 2"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity11_name: - name: Name "Button 11" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity11_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button11"** action*' - selector: - boolean: - entity12: - name: Button 12 (Optional) - description: '* *Displayed on **"Button Page 2"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity12_name: - name: Name "Button 12" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity12_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button12"** action*' - selector: - boolean: - entity13: - name: Button 13 (Optional) - description: '* *Displayed on **"Button Page 2"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity13_name: - name: Name "Button 13" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity13_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button13"** action*' - selector: - boolean: - entity14: - name: Button 14 (Optional) - description: '* *Displayed on **"Button Page 2"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity14_name: - name: Name "Button 14" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity14_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button14"** action*' - selector: - boolean: - entity15: - name: Button 15 (Optional) - description: '* *Displayed on **"Button Page 2"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity15_name: - name: Name "Button 15" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity15_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button15"** action*' - selector: - boolean: - entity16: - name: Button 16 (Optional) - description: '* *Displayed on **"Button Page 2"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity16_name: - name: Name "Button 16" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity16_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button16"** action*' - selector: - boolean: - entity17: - name: Button 17 (Optional) - description: '* *Displayed on **"Button Page 3"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity17_name: - name: Name "Button 17" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity17_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button17"** action*' - selector: - boolean: - entity18: - name: Button 18 (Optional) - description: '* *Displayed on **"Button Page 3"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity18_name: - name: Name "Button 18" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity18_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button18"** action*' - selector: - boolean: - entity19: - name: Button 19 (Optional) - description: '* *Displayed on **"Button Page 3"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity19_name: - name: Name "Button 19" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity19_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button19"** action*' - selector: - boolean: - entity20: - name: Button 20 (Optional) - description: '* *Displayed on **"Button Page 3"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity20_name: - name: Name "Button 20" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity20_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button20"** action*' - selector: - boolean: - entity21: - name: Button 21 (Optional) - description: '* *Displayed on **"Button Page 3"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity21_name: - name: Name "Button 21" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity21_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button21"** action*' - selector: - boolean: - entity22: - name: Button 22 (Optional) - description: '* *Displayed on **"Button Page 3"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity22_name: - name: Name "Button 22" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity22_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button22"** action*' - selector: - boolean: - entity23: - name: Button 23 (Optional) - description: '* *Displayed on **"Button Page 3"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity23_name: - name: Name "Button 23" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity23_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button23"** action*' - selector: - boolean: - entity24: - name: Button 24 (Optional) - description: '* *Displayed on **"Button Page 3"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity24_name: - name: Name "Button 24" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity24_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button24"** action*' - selector: - boolean: - entity25: - name: Button 25 (Optional) - description: '* *Displayed on **"Button Page 4"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity25_name: - name: Name "Button 25" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity25_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button25"** action*' - selector: - boolean: - entity26: - name: Button 26 (Optional) - description: '* *Displayed on **"Button Page 4"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity26_name: - name: Name "Button 26" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity26_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button26"** action*' - selector: - boolean: - entity27: - name: Button 27 (Optional) - description: '* *Displayed on **"Button Page 4"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity27_name: - name: Name "Button 27" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity27_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button27"** action*' - selector: - boolean: - entity28: - name: Button 28 (Optional) - description: '* *Displayed on **"Button Page 4"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity28_name: - name: Name "Button 28" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity28_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button28"** action*' - selector: - boolean: - entity29: - name: Button 29 (Optional) - description: '* *Displayed on **"Button Page 4"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity29_name: - name: Name "Button 29" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity29_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button29"** action*' - selector: - boolean: - entity30: - name: Button 30 (Optional) - description: '* *Displayed on **"Button Page 4"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity30_name: - name: Name "Button 30" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity30_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button30"** action*' - selector: - boolean: - entity31: - name: Button 31 (Optional) - description: '* *Displayed on **"Button Page 4"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity31_name: - name: Name "Button 31" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity31_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button31"** action*' - selector: - boolean: - entity32: - name: Button 32 (Optional) - description: '* *Displayed on **"Button Page 4"** - (ONLY light | switch | cover | input_boolean | automation | button | input_button | scene | person | script | binary_sensor | fan)*' - default: [] - selector: - entity: - domain: - - light - - switch - - cover - - input_boolean - - automation - - button - - input_button - - scene - - person - - script - - binary_sensor - - fan - entity32_name: - name: Name "Button 32" (Optional) - description: '* *Button label - 10 characters are supported*' - default: [] - selector: - text: {} - entity32_confirm: - name: Confirm execution of the button press (Optional) - default: false - description: '* *Ask for confirmation to execute **"Button32"** action*' - selector: - boolean: - - ##### ENTITY Pages Config ##### - entitypages_enabled: - name: Activate Entity Pages (Optional) - default: false - description: '* *activate the entity pages and Entity Button on the home page* ' - selector: - boolean: - - ##### ENTITY Page Labels ##### - entity_page01_label: - name: Name "Entity Page 1" (Optional) - description: '* *Displayed on top of **"Entity Page 1"***' - default: [] - selector: - text: {} - - entity_page02_label: - name: Name "Entity Page 2" (Optional) - description: '* *Displayed on top of **"Entity Page 2"***' - default: [] - selector: - text: {} - - entity_page03_label: - name: Name "Entity Page 3" (Optional) - description: '* *Displayed on top of **"Entity Page 3"***' - default: [] - selector: - text: {} - - entity_page04_label: - name: Name "Entity Page 4" (Optional) - description: '* *Displayed on top of **"Entity Page 4"***' - default: [] - selector: - text: {} - - ##### ENTITIES ##### - entities_entity01: - name: Entity 01 (Optional) - description: '* *Displayed on **"Entity Page 1"***' - default: [] - selector: - entity: - entities_entity01_name: - name: Name "Entity 01" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity01_icon: - name: Icon "Entity 01" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity02: - name: Entity 02 (Optional) - description: '* *Displayed on **"Entity Page 1"***' - default: [] - selector: - entity: - entities_entity02_name: - name: Name "Entity 02" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity02_icon: - name: Icon "Entity 02" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity03: - name: Entity 03 (Optional) - description: '* *Displayed on **"Entity Page 1"***' - default: [] - selector: - entity: - entities_entity03_name: - name: Name "Entity 03" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity03_icon: - name: Icon "Entity 03" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity04: - name: Entity 04 (Optional) - description: '* *Displayed on **"Entity Page 1"***' - default: [] - selector: - entity: - entities_entity04_name: - name: Name "Entity 04" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity04_icon: - name: Icon "Entity 04" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity05: - name: Entity 05 (Optional) - description: '* *Displayed on **"Entity Page 1"***' - default: [] - selector: - entity: - entities_entity05_name: - name: Name "Entity 05" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity05_icon: - name: Icon "Entity 05" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity06: - name: Entity 06 (Optional) - description: '* *Displayed on **"Entity Page 1"***' - default: [] - selector: - entity: - entities_entity06_name: - name: Name "Entity 06" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity06_icon: - name: Icon "Entity 06" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity07: - name: Entity 07 (Optional) - description: '* *Displayed on **"Entity Page 1"***' - default: [] - selector: - entity: - entities_entity07_name: - name: Name "Entity 07" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity07_icon: - name: Icon "Entity 07" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity08: - name: Entity 08 (Optional) - description: '* *Displayed on **"Entity Page 1"***' - default: [] - selector: - entity: - entities_entity08_name: - name: Name "Entity 08" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity08_icon: - name: Icon "Entity 08" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity09: - name: Entity 09 (Optional) - description: '* *Displayed on **"Entity Page 2"***' - default: [] - selector: - entity: - entities_entity09_name: - name: Name "Entity 09" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity09_icon: - name: Icon "Entity 09" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity10: - name: Entity 10 (Optional) - description: '* *Displayed on **"Entity Page 2"***' - default: [] - selector: - entity: - entities_entity10_name: - name: Name "Entity 10" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity10_icon: - name: Icon "Entity 10" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity11: - name: Entity 11 (Optional) - description: '* *Displayed on **"Entity Page 2"***' - default: [] - selector: - entity: - entities_entity11_name: - name: Name "Entity 11" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity11_icon: - name: Icon "Entity 11" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity12: - name: Entity 12 (Optional) - description: '* *Displayed on **"Entity Page 2"***' - default: [] - selector: - entity: - entities_entity12_name: - name: Name "Entity 12" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity12_icon: - name: Icon "Entity 12" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity13: - name: Entity 13 (Optional) - description: '* *Displayed on **"Entity Page 2"***' - default: [] - selector: - entity: - entities_entity13_name: - name: Name "Entity 13" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity13_icon: - name: Icon "Entity 13" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity14: - name: Entity 14 (Optional) - description: '* *Displayed on **"Entity Page 2"***' - default: [] - selector: - entity: - entities_entity14_name: - name: Name "Entity 14" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity14_icon: - name: Icon "Entity 14" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity15: - name: Entity 15 (Optional) - description: '* *Displayed on **"Entity Page 2"***' - default: [] - selector: - entity: - entities_entity15_name: - name: Name "Entity 15" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity15_icon: - name: Icon "Entity 15" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity16: - name: Entity 16 (Optional) - description: '* *Displayed on **"Entity Page 2"***' - default: [] - selector: - entity: - entities_entity16_name: - name: Name "Entity 16" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity16_icon: - name: Icon "Entity 16" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity17: - name: Entity 17 (Optional) - description: '* *Displayed on **"Entity Page 3"***' - default: [] - selector: - entity: - entities_entity17_name: - name: Name "Entity 17" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity17_icon: - name: Icon "Entity 17" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity18: - name: Entity 18 (Optional) - description: '* *Displayed on **"Entity Page 3"***' - default: [] - selector: - entity: - entities_entity18_name: - name: Name "Entity 18" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity18_icon: - name: Icon "Entity 18" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity19: - name: Entity 19 (Optional) - description: '* *Displayed on **"Entity Page 3"***' - default: [] - selector: - entity: - entities_entity19_name: - name: Name "Entity 19" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity19_icon: - name: Icon "Entity 19" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity20: - name: Entity 20 (Optional) - description: '* *Displayed on **"Entity Page 3"***' - default: [] - selector: - entity: - entities_entity20_name: - name: Name "Entity 20" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity20_icon: - name: Icon "Entity 20" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity21: - name: Entity 21 (Optional) - description: '* *Displayed on **"Entity Page 3"***' - default: [] - selector: - entity: - entities_entity21_name: - name: Name "Entity 21" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity21_icon: - name: Icon "Entity 21" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity22: - name: Entity 22 (Optional) - description: '* *Displayed on **"Entity Page 3"***' - default: [] - selector: - entity: - entities_entity22_name: - name: Name "Entity 22" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity22_icon: - name: Icon "Entity 22" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity23: - name: Entity 23 (Optional) - description: '* *Displayed on **"Entity Page 3"***' - default: [] - selector: - entity: - entities_entity23_name: - name: Name "Entity 23" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity23_icon: - name: Icon "Entity 23" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity24: - name: Entity 24 (Optional) - description: '* *Displayed on **"Entity Page 3"***' - default: [] - selector: - entity: - entities_entity24_name: - name: Name "Entity 24" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity24_icon: - name: Icon "Entity 24" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity25: - name: Entity 25 (Optional) - description: '* *Displayed on **"Entity Page 4"***' - default: [] - selector: - entity: - entities_entity25_name: - name: Name "Entity 25" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity25_icon: - name: Icon "Entity 25" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity26: - name: Entity 26 (Optional) - description: '* *Displayed on **"Entity Page 4"***' - default: [] - selector: - entity: - entities_entity26_name: - name: Name "Entity 26" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity26_icon: - name: Icon "Entity 26" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity27: - name: Entity 27 (Optional) - description: '* *Displayed on **"Entity Page 4"***' - default: [] - selector: - entity: - entities_entity27_name: - name: Name "Entity 27" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity27_icon: - name: Icon "Entity 27" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity28: - name: Entity 28 (Optional) - description: '* *Displayed on **"Entity Page 4"***' - default: [] - selector: - entity: - entities_entity28_name: - name: Name "Entity 28" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity28_icon: - name: Icon "Entity 28" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity29: - name: Entity 29 (Optional) - description: '* *Displayed on **"Entity Page 4"***' - default: [] - selector: - entity: - entities_entity29_name: - name: Name "Entity 29" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity29_icon: - name: Icon "Entity 29" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity30: - name: Entity 30 (Optional) - description: '* *Displayed on **"Entity Page 4"***' - default: [] - selector: - entity: - entities_entity30_name: - name: Name "Entity 30" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity30_icon: - name: Icon "Entity 30" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity31: - name: Entity 31 (Optional) - description: '* *Displayed on **"Entity Page 4"***' - default: [] - selector: - entity: - entities_entity31_name: - name: Name "Entity 31" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity31_icon: - name: Icon "Entity 31" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - entities_entity32: - name: Entity 32 (Optional) - description: '* *Displayed on **"Entity Page 4"***' - default: [] - selector: - entity: - entities_entity32_name: - name: Name "Entity 32" (Optional) - description: '* *Entity label - replaces the **"friendly_name"** of the entity*' - default: [] - selector: - text: {} - entities_entity32_icon: - name: Icon "Entity 32" (Optional) - description: '* *Entity icon - sets an icon for the entity (e.g.: ) - if not set, no icon is shown*' - default: [] - selector: - text: {} - - mode: parallel max: 5000 trace: - stored_traces: 20 + stored_traces: 10 ############################################################# ##### CLOSE - INPUT ##### @@ -2001,28 +2957,29 @@ trace: ############################################################# trigger_variables: - nspanel_name_trigger: !input "nspanel_name" - last_click: "sensor.{{ nspanel_name_trigger }}_last_click" - last_click_lightsettings: "sensor.{{ nspanel_name_trigger }}_last_click_lightsettings" - last_click_coversettings: "sensor.{{ nspanel_name_trigger }}_last_click_coversettings" - last_click_climatesettings: "sensor.{{ nspanel_name_trigger }}_last_click_climatesettings" - left_button: "binary_sensor.{{ nspanel_name_trigger }}_left_button" - 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 }}_currentpage" + nspanel_name: !input "nspanel_name" + last_click: "sensor.{{ nspanel_name }}_last_click" + last_click_lightsettings: "sensor.{{ nspanel_name }}_last_click_lightsettings" + last_click_coversettings: "sensor.{{ nspanel_name }}_last_click_coversettings" + last_click_climatesettings: "sensor.{{ nspanel_name }}_last_click_climatesettings" + left_button: "binary_sensor.{{ nspanel_name }}_left_button" + right_button: "binary_sensor.{{ nspanel_name }}_right_button" + weather_forcast_button: "binary_sensor.{{ nspanel_name }}_weather_forcast" + nextion_inited_trigger: "switch.{{ nspanel_name }}_nextion_inited" + # current_page: "sensor.{{ nspanel_name }}_current_page" + current_page: "sensor.{{ nspanel_name }}_currentpage" hotwatercharge: !input "hotwatercharge" - heatingsystemflame: !input "heatingsystemflame" - display_target_temperature: "sensor.{{ nspanel_name_trigger }}_display_target_temperature" - relay01_entity: "switch.{{ nspanel_name_trigger }}_relay_1" - relay02_entity: "switch.{{ nspanel_name_trigger }}_relay_2" - nspaneltemp: "sensor.{{ nspanel_name_trigger }}_temperature" - + display_target_temperature: "sensor.{{ nspanel_name }}_display_target_temperature" + relay01_entity: "switch.{{ nspanel_name }}_relay_1" + relay02_entity: "switch.{{ nspanel_name }}_relay_2" + nspaneltemp: "sensor.{{ nspanel_name }}_temperature" + settings_entity: "sensor.{{ nspanel_name }}_settings_entity" + reboot_button: "button.{{ nspanel_name }}_restart" + ##### notification Trigger ##### - notification_unread: "switch.{{ nspanel_name_trigger }}_notification_unread" - notification_text: "sensor.{{ nspanel_name_trigger }}_notification_text" - notification_label: "sensor.{{ nspanel_name_trigger }}_notification_label" + notification_unread: "switch.{{ nspanel_name }}_notification_unread" + notification_text: "sensor.{{ nspanel_name }}_notification_text" + notification_label: "sensor.{{ nspanel_name }}_notification_label" ##### WEATHER Trigger ##### weather: !input "weather" @@ -2031,13 +2988,12 @@ trigger_variables: variables: ##### GENERAL ##### - blueprint_version: "3.1.0" - nspanel_name: !input "nspanel_name" + blueprint_version: "3.2" time: "{{ (as_timestamp(now()) | timestamp_custom('%H:%M')) }}" language: !input "language" - notification_sound: "switch.{{ nspanel_name_trigger }}_notification_sound" - confirmation_message: "switch.{{ nspanel_name_trigger }}_confirmation_message" + notification_sound: "switch.{{ nspanel_name }}_notification_sound" + confirmation_message: "switch.{{ nspanel_name }}_confirmation_message" ##### PUSH TO NEXTION DISPLAY ##### command_text_printf: "esphome.{{ nspanel_name }}_send_command_text_printf" @@ -2049,6 +3005,8 @@ variables: command_notification_show: "esphome.{{ nspanel_name }}_notification_show" command_notification_clear: "esphome.{{ nspanel_name }}_notification_clear" command_play_rtttl: "esphome.{{ nspanel_name }}_play_rtttl" + command_set_settings_entity: "esphome.{{ nspanel_name }}_set_settings_entity" + command_show_all: "esphome.{{ nspanel_name }}_send_command_show_all" ###### SYNC SETTINGS ##### delay_boot: !input "delay" @@ -2063,14 +3021,15 @@ variables: tft_path: !input "tft_path" ##### GENERAL ENTITYS ##### - humidity: !input "humidity" + + hotwatertemp: !input "hotwatertemp" outdoortemp: !input "outdoortemp" indoortemp: !input "indoortemp" climate: !input "climate" qrcode_label: !input "qrcode_label" qrcode_value: !input "qrcode_value" - qrcode_state: !input "qrcode_state" + qrcode_enabled: !input "qrcode_enabled" relay_1_local_fallback: !input "relay_1_local_fallback" relay_2_local_fallback: !input "relay_2_local_fallback" @@ -2079,45 +3038,46 @@ variables: left_button_name: !input "left_button_name" right_button_entity: !input "right_button_entity" right_button_name: !input "right_button_name" + left_button_hold_select: !input "left_button_hold_select" + right_button_hold_select: !input "right_button_hold_select" ##### NEXTION PIC MAPPING ##### - button_light_off: "62" - button_light_on: "63" - button_switch_off: "64" - button_switch_on: "65" - button_cover_off: "66" - button_cover_on: "67" - button_automation_off: "107" - button_automation_on: "108" - button_button_off: "109" - button_button_on: "110" - button_scene_off: "113" - button_scene_on: "114" - button_person_off: "111" - button_person_on: "112" - button_script_off: "107" - button_script_on: "108" - button_binary_sensor_off: '107' - button_binary_sensor_on: '108' - button_fan_off: "121" - button_fan_on: "122" - hardware_button_pic_off: "98" - hardware_button_pic_on: "99" - 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" - flame_pic_on: "57" - # flame_pic_off: "60" - top_menu_blank: "60" - thermostat_pic_on: "58" - heat_pic_on: "59" - relay01_pic_on: "105" - relay02_pic_on: "106" + # button_light_off: "62" + # button_light_on: "63" + # button_switch_off: "64" + # button_switch_on: "65" + # button_cover_off: "66" + # button_cover_on: "67" + # button_automation_off: "107" + # button_automation_on: "108" + # button_button_off: "109" + # button_button_on: "110" + # button_scene_off: "113" + # button_scene_on: "114" + # button_person_off: "111" + # button_person_on: "112" + # button_script_off: "107" + # button_script_on: "108" + # button_binary_sensor_off: '107' + # button_binary_sensor_on: '108' + # button_fan_off: "121" + # button_fan_on: "122" + # button_climate_off: "121" + # button_climate_on: "122" + + + # cover_pic_closed: "78" + # cover_pic_open: "79" + # light_pic_off: "96" + # light_pic_on: "97" + # # hotwater_pic_off: "60" + # hotwater_pic_on: "61" + # flame_pic_on: "57" + # # flame_pic_off: "60" + # top_menu_blank: "60" + + weather_sunny: "2" @@ -2139,502 +3099,126 @@ variables: weather_execptional_night: "14" weather_clear_night: "15" - weather_icon_blank: "51" - weather_icon_rain: "52" - weather_icon_sun: "53" - weather_icon_protect: "54" - weather_icon_lightning: "55" - weather_icon_wind: "56" - - # humidity_pic - humidity_pic_on: "115" - humidity_pic_blank: "51" - - # hotw_bt_pic - hotw_bt_blank: "100" - hotw_bt_off: "101" - hotw_bt_on: "102" - - # heating_bt_pic - heating_bt_pic_off: "103" - heating_bt_pic_on: "104" - - # home_buttons - home_button_blank: "116" - home_button_notify_white: "117" - home_button_notify_red: "118" - home_button_qrcode: "123" - home_button_entities: "124" - - ###### NEXTION COLOR MAPPING ##### - button_color_1: "65535" - button_color_2: "10597" - - ###### NEXTION PAGE MAPPING ##### - 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" - page_notification: "notification" - page_qrcode: "qrcode" - page_entitypage01: "entitypage01" - page_entitypage02: "entitypage02" - page_entitypage03: "entitypage03" - page_entitypage04: "entitypage04" + hotw_bt_blank: "79" + hotw_bt_off: "80" + hotw_bt_on: "81" - ##### MUI Multilingual User Interface (DE/EN) ##### - date01_mui: >- - {%- if language == "DEU" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Montag,')| replace('Tue', 'Dienstag,')| replace('Wed', 'Mittwoch,')| replace('Thu', 'Donnerstag,')| replace('Fri', 'Freitag,')| replace('Sat', 'Samstag,')| replace('Sun', 'Sonntag,') }} - {%- elif language == "ENG" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Monday,')| replace('Tue', 'Tuesday,')| replace('Wed', 'Wednesday,')| replace('Thu', 'Thursday,')| replace('Fri', 'Friday,')| replace('Sat', 'Saturday,')| replace('Sun', 'Sunday,') }} - {%- elif language == "BGR" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€ŅĐ´Đ°,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ŅŠŅ€Ņ‚ŅŠĐē,')| replace('Fri', 'ПĐĩŅ‚ŅŠĐē,')| replace('Sat', 'ĐĄŅŠĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´ĐĩĐģŅ,') }} - {%- elif language == "DNK" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} - {%- elif language == "EST" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Esmaspäev,')| replace('Tue', 'Teisipäev,')| replace('Wed', 'Kolmapäev,')| replace('Thu', 'Neljapäev,')| replace('Fri', 'Reede,')| replace('Sat', 'Laupäev,')| replace('Sun', 'PÃŧhapäev,') }} - {%- elif language == "FIN" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maanantai,')| replace('Tue', 'Tiistai,')| replace('Wed', 'Keskiviikko,')| replace('Thu', 'Torstai,')| replace('Fri', 'Perjantai,')| replace('Sat', 'Lauantai,')| replace('Sun', 'Sunnuntai,') }} - {%- elif language == "FRA" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lundi,')| replace('Tue', 'Mardi,')| replace('Wed', 'Mercredi,')| replace('Thu', 'Jeudi,')| replace('Fri', 'Vendredi,')| replace('Sat', 'Samedi,')| replace('Sun', 'Dimanche,') }} - {%- elif language == "GRC" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ΔÎĩĪ…Ī„Î­ĪÎą,')| replace('Tue', 'Î¤ĪÎ¯Ī„Îˇ,')| replace('Wed', 'ΤÎĩĪ„ÎŦĪĪ„Îˇ,')| replace('Thu', 'ΠέÎŧĪ€Ī„Îˇ,')| replace('Fri', 'Î ÎąĪÎąĪƒÎēÎĩĪ…ÎŽ,')| replace('Sat', 'ÎŖÎŦÎ˛Î˛ÎąĪ„Îŋ,')| replace('Sun', 'ÎšĪ…ĪÎšÎąÎēÎŽ,') }} - {%- elif language == "IDN" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Senin,')| replace('Tue', 'Selasa,')| replace('Wed', 'Rabu,')| replace('Thu', 'Kamis,')| replace('Fri', 'Jumat,')| replace('Sat', 'Sabtu,')| replace('Sun', 'Minggu,') }} - {%- elif language == "ITA" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'LunedÃŦ,')| replace('Tue', 'MartedÃŦ,')| replace('Wed', 'MercoledÃŦ,')| replace('Thu', 'GiovedÃŦ,')| replace('Fri', 'VenerdÃŦ,')| replace('Sat', 'Sabato,')| replace('Sun', 'Domenica,') }} - {%- elif language == "LVA" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmdiena,')| replace('Tue', 'Otrdiena,')| replace('Wed', 'TreÅĄdiena,')| replace('Thu', 'Ceturtdiena,')| replace('Fri', 'Piektdiena,')| replace('Sat', 'Sestdiena,')| replace('Sun', 'Svētdiena,') }} - {%- elif language == "LTU" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmadienis,')| replace('Tue', 'Antradienis,')| replace('Wed', 'Trečiadienis,')| replace('Thu', 'Ketvirtadienis,')| replace('Fri', 'Penktadienis,')| replace('Sat', 'Å eÅĄtadienis,')| replace('Sun', 'Sekmadienis,') }} - {%- elif language == "NLD" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maandag,')| replace('Tue', 'Dinsdag,')| replace('Wed', 'Woensdag,')| replace('Thu', 'Donderdag,')| replace('Fri', 'Vrijdag,')| replace('Sat', 'Zaterdag,')| replace('Sun', 'Zondag,') }} - {%- elif language == "POL" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Poniedziałek,')| replace('Tue', 'Wtorek,')| replace('Wed', 'Środa,')| replace('Thu', 'Czwartek,')| replace('Fri', 'Piątek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Niedziela,') }} - {%- elif language == "PRT" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Segunda-feira,')| replace('Tue', 'Terça-feira,')| replace('Wed', 'Quarta-feira,')| replace('Thu', 'Quinta-feira,')| replace('Fri', 'Sexta-feira,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} - {%- elif language == "ROU" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Luni,')| replace('Tue', 'Marți,')| replace('Wed', 'Miercuri,')| replace('Thu', 'Joi,')| replace('Fri', 'Vineri,')| replace('Sat', 'SÃĸmbătă,')| replace('Sun', 'Duminică,') }} - {%- elif language == "SWE" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'MÃĨndag,')| replace('Tue', 'Tisdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'LÃļrdag,')| replace('Sun', 'SÃļndag,') }} - {%- elif language == "SVK" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondelok,')| replace('Tue', 'Utorok,')| replace('Wed', 'Streda,')| replace('Thu', 'Å tvrtok,')| replace('Fri', 'Piatok,')| replace('Sat', 'Sobota,')| replace('Sun', 'NedeÄža,') }} - {%- elif language == "SVN" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Ponedeljek,')| replace('Tue', 'Torek,')| replace('Wed', 'Sreda,')| replace('Thu', 'Četrtek,')| replace('Fri', 'Petek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Nedelja,') }} - {%- elif language == "ESP" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lunes,')| replace('Tue', 'Martes,')| replace('Wed', 'MiÊrcoles,')| replace('Thu', 'Jueves,')| replace('Fri', 'Viernes,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} - {%- elif language == "CZE" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondělí,')| replace('Tue', 'ÚterÃŊ,')| replace('Wed', 'Středa,')| replace('Thu', 'Čtvrtek,')| replace('Fri', 'PÃĄtek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Neděle,') }} - {%- elif language == "TUR" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pazartesi,')| replace('Tue', 'SalÄą,')| replace('Wed', 'Çarşamba,')| replace('Thu', 'Perşembe,')| replace('Fri', 'Cuma,')| replace('Sat', 'Cumartesi,')| replace('Sun', 'Pazar,') }} - {%- elif language == "UKR" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´Ņ–ĐģĐžĐē,')| replace('Tue', 'Đ’Ņ–Đ˛Ņ‚ĐžŅ€ĐžĐē,')| replace('Wed', 'ĐĄĐĩŅ€Đĩда,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ĐĩŅ€,')| replace('Fri', 'П ŅŅ‚ĐŊĐ¸Ņ†Ņ,')| replace('Sat', 'ĐĄŅƒĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´Ņ–ĐģŅ,') }} - {%- elif language == "HUN" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'HÊtfő,')| replace('Tue', 'Kedd,')| replace('Wed', 'Szerda,')| replace('Thu', 'CsÃŧtÃļrtÃļk,')| replace('Fri', 'PÊntek,')| replace('Sat', 'Szombat,')| replace('Sun', 'VasÃĄrnap,') }} - {%- elif language == "NOR" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} - {%- elif language == "RUS" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģҌĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€Đĩда,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ĐĩŅ€Đŗ,')| replace('Fri', 'ĐŸŅŅ‚ĐŊĐ¸Ņ†Đ°,')| replace('Sat', 'ĐĄŅƒĐąĐąĐžŅ‚Đ°,')| replace('Sun', 'Đ’ĐžŅĐēŅ€ĐĩҁĐĩĐŊиĐĩ,') }} - {%- endif -%} - date02_mui: >- - {%- if language == "DEU" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Montag,')| replace('Tue', 'Dienstag,')| replace('Wed', 'Mittwoch,')| replace('Thu', 'Donnerstag,')| replace('Fri', 'Freitag,')| replace('Sat', 'Samstag,')| replace('Sun', 'Sonntag,') }} - {%- elif language == "ENG" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Monday,')| replace('Tue', 'Tuesday,')| replace('Wed', 'Wednesday,')| replace('Thu', 'Thursday,')| replace('Fri', 'Friday,')| replace('Sat', 'Saturday,')| replace('Sun', 'Sunday,') }} - {%- elif language == "BGR" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€ŅĐ´Đ°,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ŅŠŅ€Ņ‚ŅŠĐē,')| replace('Fri', 'ПĐĩŅ‚ŅŠĐē,')| replace('Sat', 'ĐĄŅŠĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´ĐĩĐģŅ,') }} - {%- elif language == "DNK" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} - {%- elif language == "EST" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Esmaspäev,')| replace('Tue', 'Teisipäev,')| replace('Wed', 'Kolmapäev,')| replace('Thu', 'Neljapäev,')| replace('Fri', 'Reede,')| replace('Sat', 'Laupäev,')| replace('Sun', 'PÃŧhapäev,') }} - {%- elif language == "FIN" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maanantai,')| replace('Tue', 'Tiistai,')| replace('Wed', 'Keskiviikko,')| replace('Thu', 'Torstai,')| replace('Fri', 'Perjantai,')| replace('Sat', 'Lauantai,')| replace('Sun', 'Sunnuntai,') }} - {%- elif language == "FRA" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lundi,')| replace('Tue', 'Mardi,')| replace('Wed', 'Mercredi,')| replace('Thu', 'Jeudi,')| replace('Fri', 'Vendredi,')| replace('Sat', 'Samedi,')| replace('Sun', 'Dimanche,') }} - {%- elif language == "GRC" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ΔÎĩĪ…Ī„Î­ĪÎą,')| replace('Tue', 'Î¤ĪÎ¯Ī„Îˇ,')| replace('Wed', 'ΤÎĩĪ„ÎŦĪĪ„Îˇ,')| replace('Thu', 'ΠέÎŧĪ€Ī„Îˇ,')| replace('Fri', 'Î ÎąĪÎąĪƒÎēÎĩĪ…ÎŽ,')| replace('Sat', 'ÎŖÎŦÎ˛Î˛ÎąĪ„Îŋ,')| replace('Sun', 'ÎšĪ…ĪÎšÎąÎēÎŽ,') }} - {%- elif language == "IDN" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Senin,')| replace('Tue', 'Selasa,')| replace('Wed', 'Rabu,')| replace('Thu', 'Kamis,')| replace('Fri', 'Jumat,')| replace('Sat', 'Sabtu,')| replace('Sun', 'Minggu,') }} - {%- elif language == "ITA" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'LunedÃŦ,')| replace('Tue', 'MartedÃŦ,')| replace('Wed', 'MercoledÃŦ,')| replace('Thu', 'GiovedÃŦ,')| replace('Fri', 'VenerdÃŦ,')| replace('Sat', 'Sabato,')| replace('Sun', 'Domenica,') }} - {%- elif language == "LVA" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmdiena,')| replace('Tue', 'Otrdiena,')| replace('Wed', 'TreÅĄdiena,')| replace('Thu', 'Ceturtdiena,')| replace('Fri', 'Piektdiena,')| replace('Sat', 'Sestdiena,')| replace('Sun', 'Svētdiena,') }} - {%- elif language == "LTU" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmadienis,')| replace('Tue', 'Antradienis,')| replace('Wed', 'Trečiadienis,')| replace('Thu', 'Ketvirtadienis,')| replace('Fri', 'Penktadienis,')| replace('Sat', 'Å eÅĄtadienis,')| replace('Sun', 'Sekmadienis,') }} - {%- elif language == "NLD" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maandag,')| replace('Tue', 'Dinsdag,')| replace('Wed', 'Woensdag,')| replace('Thu', 'Donderdag,')| replace('Fri', 'Vrijdag,')| replace('Sat', 'Zaterdag,')| replace('Sun', 'Zondag,') }} - {%- elif language == "POL" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Poniedziałek,')| replace('Tue', 'Wtorek,')| replace('Wed', 'Środa,')| replace('Thu', 'Czwartek,')| replace('Fri', 'Piątek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Niedziela,') }} - {%- elif language == "PRT" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Segunda-feira,')| replace('Tue', 'Terça-feira,')| replace('Wed', 'Quarta-feira,')| replace('Thu', 'Quinta-feira,')| replace('Fri', 'Sexta-feira,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} - {%- elif language == "ROU" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Luni,')| replace('Tue', 'Marți,')| replace('Wed', 'Miercuri,')| replace('Thu', 'Joi,')| replace('Fri', 'Vineri,')| replace('Sat', 'SÃĸmbătă,')| replace('Sun', 'Duminică,') }} - {%- elif language == "SWE" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'MÃĨndag,')| replace('Tue', 'Tisdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'LÃļrdag,')| replace('Sun', 'SÃļndag,') }} - {%- elif language == "SVK" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondelok,')| replace('Tue', 'Utorok,')| replace('Wed', 'Streda,')| replace('Thu', 'Å tvrtok,')| replace('Fri', 'Piatok,')| replace('Sat', 'Sobota,')| replace('Sun', 'NedeÄža,') }} - {%- elif language == "SVN" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Ponedeljek,')| replace('Tue', 'Torek,')| replace('Wed', 'Sreda,')| replace('Thu', 'Četrtek,')| replace('Fri', 'Petek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Nedelja,') }} - {%- elif language == "ESP" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lunes,')| replace('Tue', 'Martes,')| replace('Wed', 'MiÊrcoles,')| replace('Thu', 'Jueves,')| replace('Fri', 'Viernes,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} - {%- elif language == "CZE" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondělí,')| replace('Tue', 'ÚterÃŊ,')| replace('Wed', 'Středa,')| replace('Thu', 'Čtvrtek,')| replace('Fri', 'PÃĄtek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Neděle,') }} - {%- elif language == "TUR" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pazartesi,')| replace('Tue', 'SalÄą,')| replace('Wed', 'Çarşamba,')| replace('Thu', 'Perşembe,')| replace('Fri', 'Cuma,')| replace('Sat', 'Cumartesi,')| replace('Sun', 'Pazar,') }} - {%- elif language == "UKR" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´Ņ–ĐģĐžĐē,')| replace('Tue', 'Đ’Ņ–Đ˛Ņ‚ĐžŅ€ĐžĐē,')| replace('Wed', 'ҁĐĩŅ€Đĩда,')| replace('Thu', '҇ĐĩŅ‚Đ˛ĐĩŅ€,')| replace('Fri', 'Đŋ ŅŅ‚ĐŊĐ¸Ņ†Ņ,')| replace('Sat', 'ĐĄŅƒĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´Ņ–ĐģŅ,') }} - {%- elif language == "HUN" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'HÊtfő,')| replace('Tue', 'Kedd,')| replace('Wed', 'Szerda,')| replace('Thu', 'CsÃŧtÃļrtÃļk,')| replace('Fri', 'PÊntek,')| replace('Sat', 'Szombat,')| replace('Sun', 'VasÃĄrnap,') }} - {%- elif language == "NOR" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} - {%- elif language == "RUS" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģҌĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€Đĩда,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ĐĩŅ€Đŗ,')| replace('Fri', 'ĐŸŅŅ‚ĐŊĐ¸Ņ†Đ°,')| replace('Sat', 'ĐĄŅƒĐąĐąĐžŅ‚Đ°,')| replace('Sun', 'Đ’ĐžŅĐēŅ€ĐĩҁĐĩĐŊиĐĩ,') }} - {%- endif -%} - date03_mui: >- - {%- if language == "DEU" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Montag,')| replace('Tue', 'Dienstag,')| replace('Wed', 'Mittwoch,')| replace('Thu', 'Donnerstag,')| replace('Fri', 'Freitag,')| replace('Sat', 'Samstag,')| replace('Sun', 'Sonntag,') }} - {%- elif language == "ENG" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Monday,')| replace('Tue', 'Tuesday,')| replace('Wed', 'Wednesday,')| replace('Thu', 'Thursday,')| replace('Fri', 'Friday,')| replace('Sat', 'Saturday,')| replace('Sun', 'Sunday,') }} - {%- elif language == "BGR" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€ŅĐ´Đ°,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ŅŠŅ€Ņ‚ŅŠĐē,')| replace('Fri', 'ПĐĩŅ‚ŅŠĐē,')| replace('Sat', 'ĐĄŅŠĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´ĐĩĐģŅ,') }} - {%- elif language == "DNK" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} - {%- elif language == "EST" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Esmaspäev,')| replace('Tue', 'Teisipäev,')| replace('Wed', 'Kolmapäev,')| replace('Thu', 'Neljapäev,')| replace('Fri', 'Reede,')| replace('Sat', 'Laupäev,')| replace('Sun', 'PÃŧhapäev,') }} - {%- elif language == "FIN" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maanantai,')| replace('Tue', 'Tiistai,')| replace('Wed', 'Keskiviikko,')| replace('Thu', 'Torstai,')| replace('Fri', 'Perjantai,')| replace('Sat', 'Lauantai,')| replace('Sun', 'Sunnuntai,') }} - {%- elif language == "FRA" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lundi,')| replace('Tue', 'Mardi,')| replace('Wed', 'Mercredi,')| replace('Thu', 'Jeudi,')| replace('Fri', 'Vendredi,')| replace('Sat', 'Samedi,')| replace('Sun', 'Dimanche,') }} - {%- elif language == "GRC" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ΔÎĩĪ…Ī„Î­ĪÎą,')| replace('Tue', 'Î¤ĪÎ¯Ī„Îˇ,')| replace('Wed', 'ΤÎĩĪ„ÎŦĪĪ„Îˇ,')| replace('Thu', 'ΠέÎŧĪ€Ī„Îˇ,')| replace('Fri', 'Î ÎąĪÎąĪƒÎēÎĩĪ…ÎŽ,')| replace('Sat', 'ÎŖÎŦÎ˛Î˛ÎąĪ„Îŋ,')| replace('Sun', 'ÎšĪ…ĪÎšÎąÎēÎŽ,') }} - {%- elif language == "IDN" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Senin,')| replace('Tue', 'Selasa,')| replace('Wed', 'Rabu,')| replace('Thu', 'Kamis,')| replace('Fri', 'Jumat,')| replace('Sat', 'Sabtu,')| replace('Sun', 'Minggu,') }} - {%- elif language == "ITA" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'LunedÃŦ,')| replace('Tue', 'MartedÃŦ,')| replace('Wed', 'MercoledÃŦ,')| replace('Thu', 'GiovedÃŦ,')| replace('Fri', 'VenerdÃŦ,')| replace('Sat', 'Sabato,')| replace('Sun', 'Domenica,') }} - {%- elif language == "LVA" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmdiena,')| replace('Tue', 'Otrdiena,')| replace('Wed', 'TreÅĄdiena,')| replace('Thu', 'Ceturtdiena,')| replace('Fri', 'Piektdiena,')| replace('Sat', 'Sestdiena,')| replace('Sun', 'Svētdiena,') }} - {%- elif language == "LTU" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmadienis,')| replace('Tue', 'Antradienis,')| replace('Wed', 'Trečiadienis,')| replace('Thu', 'Ketvirtadienis,')| replace('Fri', 'Penktadienis,')| replace('Sat', 'Å eÅĄtadienis,')| replace('Sun', 'Sekmadienis,') }} - {%- elif language == "NLD" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maandag,')| replace('Tue', 'Dinsdag,')| replace('Wed', 'Woensdag,')| replace('Thu', 'Donderdag,')| replace('Fri', 'Vrijdag,')| replace('Sat', 'Zaterdag,')| replace('Sun', 'Zondag,') }} - {%- elif language == "POL" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Poniedziałek,')| replace('Tue', 'Wtorek,')| replace('Wed', 'Środa,')| replace('Thu', 'Czwartek,')| replace('Fri', 'Piątek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Niedziela,') }} - {%- elif language == "PRT" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Segunda-feira,')| replace('Tue', 'Terça-feira,')| replace('Wed', 'Quarta-feira,')| replace('Thu', 'Quinta-feira,')| replace('Fri', 'Sexta-feira,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} - {%- elif language == "ROU" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Luni,')| replace('Tue', 'Marți,')| replace('Wed', 'Miercuri,')| replace('Thu', 'Joi,')| replace('Fri', 'Vineri,')| replace('Sat', 'SÃĸmbătă,')| replace('Sun', 'Duminică,') }} - {%- elif language == "SWE" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'MÃĨndag,')| replace('Tue', 'Tisdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'LÃļrdag,')| replace('Sun', 'SÃļndag,') }} - {%- elif language == "SVK" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondelok,')| replace('Tue', 'Utorok,')| replace('Wed', 'Streda,')| replace('Thu', 'Å tvrtok,')| replace('Fri', 'Piatok,')| replace('Sat', 'Sobota,')| replace('Sun', 'NedeÄža,') }} - {%- elif language == "SVN" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Ponedeljek,')| replace('Tue', 'Torek,')| replace('Wed', 'Sreda,')| replace('Thu', 'Četrtek,')| replace('Fri', 'Petek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Nedelja,') }} - {%- elif language == "ESP" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lunes,')| replace('Tue', 'Martes,')| replace('Wed', 'MiÊrcoles,')| replace('Thu', 'Jueves,')| replace('Fri', 'Viernes,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} - {%- elif language == "CZE" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondělí,')| replace('Tue', 'ÚterÃŊ,')| replace('Wed', 'Středa,')| replace('Thu', 'Čtvrtek,')| replace('Fri', 'PÃĄtek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Neděle,') }} - {%- elif language == "TUR" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pazartesi,')| replace('Tue', 'SalÄą,')| replace('Wed', 'Çarşamba,')| replace('Thu', 'Perşembe,')| replace('Fri', 'Cuma,')| replace('Sat', 'Cumartesi,')| replace('Sun', 'Pazar,') }} - {%- elif language == "UKR" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´Ņ–ĐģĐžĐē,')| replace('Tue', 'Đ’Ņ–Đ˛Ņ‚ĐžŅ€ĐžĐē,')| replace('Wed', 'ҁĐĩŅ€Đĩда,')| replace('Thu', '҇ĐĩŅ‚Đ˛ĐĩŅ€,')| replace('Fri', 'Đŋ ŅŅ‚ĐŊĐ¸Ņ†Ņ,')| replace('Sat', 'ĐĄŅƒĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´Ņ–ĐģŅ,') }} - {%- elif language == "HUN" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'HÊtfő,')| replace('Tue', 'Kedd,')| replace('Wed', 'Szerda,')| replace('Thu', 'CsÃŧtÃļrtÃļk,')| replace('Fri', 'PÊntek,')| replace('Sat', 'Szombat,')| replace('Sun', 'VasÃĄrnap,') }} - {%- elif language == "NOR" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} - {%- elif language == "RUS" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģҌĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€Đĩда,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ĐĩŅ€Đŗ,')| replace('Fri', 'ĐŸŅŅ‚ĐŊĐ¸Ņ†Đ°,')| replace('Sat', 'ĐĄŅƒĐąĐąĐžŅ‚Đ°,')| replace('Sun', 'Đ’ĐžŅĐēŅ€ĐĩҁĐĩĐŊиĐĩ,') }} - {%- endif -%} - date04_mui: >- - {%- if language == "DEU" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Montag,')| replace('Tue', 'Dienstag,')| replace('Wed', 'Mittwoch,')| replace('Thu', 'Donnerstag,')| replace('Fri', 'Freitag,')| replace('Sat', 'Samstag,')| replace('Sun', 'Sonntag,') }} - {%- elif language == "ENG" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Monday,')| replace('Tue', 'Tuesday,')| replace('Wed', 'Wednesday,')| replace('Thu', 'Thursday,')| replace('Fri', 'Friday,')| replace('Sat', 'Saturday,')| replace('Sun', 'Sunday,') }} - {%- elif language == "BGR" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€ŅĐ´Đ°,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ŅŠŅ€Ņ‚ŅŠĐē,')| replace('Fri', 'ПĐĩŅ‚ŅŠĐē,')| replace('Sat', 'ĐĄŅŠĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´ĐĩĐģŅ,') }} - {%- elif language == "DNK" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} - {%- elif language == "EST" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Esmaspäev,')| replace('Tue', 'Teisipäev,')| replace('Wed', 'Kolmapäev,')| replace('Thu', 'Neljapäev,')| replace('Fri', 'Reede,')| replace('Sat', 'Laupäev,')| replace('Sun', 'PÃŧhapäev,') }} - {%- elif language == "FIN" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maanantai,')| replace('Tue', 'Tiistai,')| replace('Wed', 'Keskiviikko,')| replace('Thu', 'Torstai,')| replace('Fri', 'Perjantai,')| replace('Sat', 'Lauantai,')| replace('Sun', 'Sunnuntai,') }} - {%- elif language == "FRA" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lundi,')| replace('Tue', 'Mardi,')| replace('Wed', 'Mercredi,')| replace('Thu', 'Jeudi,')| replace('Fri', 'Vendredi,')| replace('Sat', 'Samedi,')| replace('Sun', 'Dimanche,') }} - {%- elif language == "GRC" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ΔÎĩĪ…Ī„Î­ĪÎą,')| replace('Tue', 'Î¤ĪÎ¯Ī„Îˇ,')| replace('Wed', 'ΤÎĩĪ„ÎŦĪĪ„Îˇ,')| replace('Thu', 'ΠέÎŧĪ€Ī„Îˇ,')| replace('Fri', 'Î ÎąĪÎąĪƒÎēÎĩĪ…ÎŽ,')| replace('Sat', 'ÎŖÎŦÎ˛Î˛ÎąĪ„Îŋ,')| replace('Sun', 'ÎšĪ…ĪÎšÎąÎēÎŽ,') }} - {%- elif language == "IDN" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Senin,')| replace('Tue', 'Selasa,')| replace('Wed', 'Rabu,')| replace('Thu', 'Kamis,')| replace('Fri', 'Jumat,')| replace('Sat', 'Sabtu,')| replace('Sun', 'Minggu,') }} - {%- elif language == "ITA" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'LunedÃŦ,')| replace('Tue', 'MartedÃŦ,')| replace('Wed', 'MercoledÃŦ,')| replace('Thu', 'GiovedÃŦ,')| replace('Fri', 'VenerdÃŦ,')| replace('Sat', 'Sabato,')| replace('Sun', 'Domenica,') }} - {%- elif language == "LVA" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmdiena,')| replace('Tue', 'Otrdiena,')| replace('Wed', 'TreÅĄdiena,')| replace('Thu', 'Ceturtdiena,')| replace('Fri', 'Piektdiena,')| replace('Sat', 'Sestdiena,')| replace('Sun', 'Svētdiena,') }} - {%- elif language == "LTU" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmadienis,')| replace('Tue', 'Antradienis,')| replace('Wed', 'Trečiadienis,')| replace('Thu', 'Ketvirtadienis,')| replace('Fri', 'Penktadienis,')| replace('Sat', 'Å eÅĄtadienis,')| replace('Sun', 'Sekmadienis,') }} - {%- elif language == "NLD" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maandag,')| replace('Tue', 'Dinsdag,')| replace('Wed', 'Woensdag,')| replace('Thu', 'Donderdag,')| replace('Fri', 'Vrijdag,')| replace('Sat', 'Zaterdag,')| replace('Sun', 'Zondag,') }} - {%- elif language == "POL" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Poniedziałek,')| replace('Tue', 'Wtorek,')| replace('Wed', 'Środa,')| replace('Thu', 'Czwartek,')| replace('Fri', 'Piątek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Niedziela,') }} - {%- elif language == "PRT" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Segunda-feira,')| replace('Tue', 'Terça-feira,')| replace('Wed', 'Quarta-feira,')| replace('Thu', 'Quinta-feira,')| replace('Fri', 'Sexta-feira,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} - {%- elif language == "ROU" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Luni,')| replace('Tue', 'Marți,')| replace('Wed', 'Miercuri,')| replace('Thu', 'Joi,')| replace('Fri', 'Vineri,')| replace('Sat', 'SÃĸmbătă,')| replace('Sun', 'Duminică,') }} - {%- elif language == "SWE" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'MÃĨndag,')| replace('Tue', 'Tisdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'LÃļrdag,')| replace('Sun', 'SÃļndag,') }} - {%- elif language == "SVK" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondelok,')| replace('Tue', 'Utorok,')| replace('Wed', 'Streda,')| replace('Thu', 'Å tvrtok,')| replace('Fri', 'Piatok,')| replace('Sat', 'Sobota,')| replace('Sun', 'NedeÄža,') }} - {%- elif language == "SVN" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Ponedeljek,')| replace('Tue', 'Torek,')| replace('Wed', 'Sreda,')| replace('Thu', 'Četrtek,')| replace('Fri', 'Petek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Nedelja,') }} - {%- elif language == "ESP" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lunes,')| replace('Tue', 'Martes,')| replace('Wed', 'MiÊrcoles,')| replace('Thu', 'Jueves,')| replace('Fri', 'Viernes,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} - {%- elif language == "CZE" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondělí,')| replace('Tue', 'ÚterÃŊ,')| replace('Wed', 'Středa,')| replace('Thu', 'Čtvrtek,')| replace('Fri', 'PÃĄtek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Neděle,') }} - {%- elif language == "TUR" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pazartesi,')| replace('Tue', 'SalÄą,')| replace('Wed', 'Çarşamba,')| replace('Thu', 'Perşembe,')| replace('Fri', 'Cuma,')| replace('Sat', 'Cumartesi,')| replace('Sun', 'Pazar,') }} - {%- elif language == "UKR" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´Ņ–ĐģĐžĐē,')| replace('Tue', 'Đ’Ņ–Đ˛Ņ‚ĐžŅ€ĐžĐē,')| replace('Wed', 'ҁĐĩŅ€Đĩда,')| replace('Thu', '҇ĐĩŅ‚Đ˛ĐĩŅ€,')| replace('Fri', 'Đŋ ŅŅ‚ĐŊĐ¸Ņ†Ņ,')| replace('Sat', 'ĐĄŅƒĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´Ņ–ĐģŅ,') }} - {%- elif language == "HUN" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'HÊtfő,')| replace('Tue', 'Kedd,')| replace('Wed', 'Szerda,')| replace('Thu', 'CsÃŧtÃļrtÃļk,')| replace('Fri', 'PÊntek,')| replace('Sat', 'Szombat,')| replace('Sun', 'VasÃĄrnap,') }} - {%- elif language == "NOR" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} - {%- elif language == "RUS" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģҌĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€Đĩда,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ĐĩŅ€Đŗ,')| replace('Fri', 'ĐŸŅŅ‚ĐŊĐ¸Ņ†Đ°,')| replace('Sat', 'ĐĄŅƒĐąĐąĐžŅ‚Đ°,')| replace('Sun', 'Đ’ĐžŅĐēŅ€ĐĩҁĐĩĐŊиĐĩ,') }} - {%- endif -%} - date05_mui: >- - {%- if language == "DEU" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Montag,')| replace('Tue', 'Dienstag,')| replace('Wed', 'Mittwoch,')| replace('Thu', 'Donnerstag,')| replace('Fri', 'Freitag,')| replace('Sat', 'Samstag,')| replace('Sun', 'Sonntag,') }} - {%- elif language == "ENG" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Monday,')| replace('Tue', 'Tuesday,')| replace('Wed', 'Wednesday,')| replace('Thu', 'Thursday,')| replace('Fri', 'Friday,')| replace('Sat', 'Saturday,')| replace('Sun', 'Sunday,') }} - {%- elif language == "BGR" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€ŅĐ´Đ°,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ŅŠŅ€Ņ‚ŅŠĐē,')| replace('Fri', 'ПĐĩŅ‚ŅŠĐē,')| replace('Sat', 'ĐĄŅŠĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´ĐĩĐģŅ,') }} - {%- elif language == "DNK" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} - {%- elif language == "EST" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Esmaspäev,')| replace('Tue', 'Teisipäev,')| replace('Wed', 'Kolmapäev,')| replace('Thu', 'Neljapäev,')| replace('Fri', 'Reede,')| replace('Sat', 'Laupäev,')| replace('Sun', 'PÃŧhapäev,') }} - {%- elif language == "FIN" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maanantai,')| replace('Tue', 'Tiistai,')| replace('Wed', 'Keskiviikko,')| replace('Thu', 'Torstai,')| replace('Fri', 'Perjantai,')| replace('Sat', 'Lauantai,')| replace('Sun', 'Sunnuntai,') }} - {%- elif language == "FRA" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lundi,')| replace('Tue', 'Mardi,')| replace('Wed', 'Mercredi,')| replace('Thu', 'Jeudi,')| replace('Fri', 'Vendredi,')| replace('Sat', 'Samedi,')| replace('Sun', 'Dimanche,') }} - {%- elif language == "GRC" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ΔÎĩĪ…Ī„Î­ĪÎą,')| replace('Tue', 'Î¤ĪÎ¯Ī„Îˇ,')| replace('Wed', 'ΤÎĩĪ„ÎŦĪĪ„Îˇ,')| replace('Thu', 'ΠέÎŧĪ€Ī„Îˇ,')| replace('Fri', 'Î ÎąĪÎąĪƒÎēÎĩĪ…ÎŽ,')| replace('Sat', 'ÎŖÎŦÎ˛Î˛ÎąĪ„Îŋ,')| replace('Sun', 'ÎšĪ…ĪÎšÎąÎēÎŽ,') }} - {%- elif language == "IDN" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Senin,')| replace('Tue', 'Selasa,')| replace('Wed', 'Rabu,')| replace('Thu', 'Kamis,')| replace('Fri', 'Jumat,')| replace('Sat', 'Sabtu,')| replace('Sun', 'Minggu,') }} - {%- elif language == "ITA" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'LunedÃŦ,')| replace('Tue', 'MartedÃŦ,')| replace('Wed', 'MercoledÃŦ,')| replace('Thu', 'GiovedÃŦ,')| replace('Fri', 'VenerdÃŦ,')| replace('Sat', 'Sabato,')| replace('Sun', 'Domenica,') }} - {%- elif language == "LVA" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmdiena,')| replace('Tue', 'Otrdiena,')| replace('Wed', 'TreÅĄdiena,')| replace('Thu', 'Ceturtdiena,')| replace('Fri', 'Piektdiena,')| replace('Sat', 'Sestdiena,')| replace('Sun', 'Svētdiena,') }} - {%- elif language == "LTU" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmadienis,')| replace('Tue', 'Antradienis,')| replace('Wed', 'Trečiadienis,')| replace('Thu', 'Ketvirtadienis,')| replace('Fri', 'Penktadienis,')| replace('Sat', 'Å eÅĄtadienis,')| replace('Sun', 'Sekmadienis,') }} - {%- elif language == "NLD" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maandag,')| replace('Tue', 'Dinsdag,')| replace('Wed', 'Woensdag,')| replace('Thu', 'Donderdag,')| replace('Fri', 'Vrijdag,')| replace('Sat', 'Zaterdag,')| replace('Sun', 'Zondag,') }} - {%- elif language == "POL" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Poniedziałek,')| replace('Tue', 'Wtorek,')| replace('Wed', 'Środa,')| replace('Thu', 'Czwartek,')| replace('Fri', 'Piątek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Niedziela,') }} - {%- elif language == "PRT" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Segunda-feira,')| replace('Tue', 'Terça-feira,')| replace('Wed', 'Quarta-feira,')| replace('Thu', 'Quinta-feira,')| replace('Fri', 'Sexta-feira,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} - {%- elif language == "ROU" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Luni,')| replace('Tue', 'Marți,')| replace('Wed', 'Miercuri,')| replace('Thu', 'Joi,')| replace('Fri', 'Vineri,')| replace('Sat', 'SÃĸmbătă,')| replace('Sun', 'Duminică,') }} - {%- elif language == "SWE" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'MÃĨndag,')| replace('Tue', 'Tisdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'LÃļrdag,')| replace('Sun', 'SÃļndag,') }} - {%- elif language == "SVK" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondelok,')| replace('Tue', 'Utorok,')| replace('Wed', 'Streda,')| replace('Thu', 'Å tvrtok,')| replace('Fri', 'Piatok,')| replace('Sat', 'Sobota,')| replace('Sun', 'NedeÄža,') }} - {%- elif language == "SVN" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Ponedeljek,')| replace('Tue', 'Torek,')| replace('Wed', 'Sreda,')| replace('Thu', 'Četrtek,')| replace('Fri', 'Petek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Nedelja,') }} - {%- elif language == "ESP" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lunes,')| replace('Tue', 'Martes,')| replace('Wed', 'MiÊrcoles,')| replace('Thu', 'Jueves,')| replace('Fri', 'Viernes,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} - {%- elif language == "CZE" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondělí,')| replace('Tue', 'ÚterÃŊ,')| replace('Wed', 'Středa,')| replace('Thu', 'Čtvrtek,')| replace('Fri', 'PÃĄtek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Neděle,') }} - {%- elif language == "TUR" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pazartesi,')| replace('Tue', 'SalÄą,')| replace('Wed', 'Çarşamba,')| replace('Thu', 'Perşembe,')| replace('Fri', 'Cuma,')| replace('Sat', 'Cumartesi,')| replace('Sun', 'Pazar,') }} - {%- elif language == "UKR" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´Ņ–ĐģĐžĐē,')| replace('Tue', 'Đ’Ņ–Đ˛Ņ‚ĐžŅ€ĐžĐē,')| replace('Wed', 'ҁĐĩŅ€Đĩда,')| replace('Thu', '҇ĐĩŅ‚Đ˛ĐĩŅ€,')| replace('Fri', 'Đŋ ŅŅ‚ĐŊĐ¸Ņ†Ņ,')| replace('Sat', 'ĐĄŅƒĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´Ņ–ĐģŅ,') }} - {%- elif language == "HUN" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'HÊtfő,')| replace('Tue', 'Kedd,')| replace('Wed', 'Szerda,')| replace('Thu', 'CsÃŧtÃļrtÃļk,')| replace('Fri', 'PÊntek,')| replace('Sat', 'Szombat,')| replace('Sun', 'VasÃĄrnap,') }} - {%- elif language == "NOR" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} - {%- elif language == "RUS" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģҌĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€Đĩда,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ĐĩŅ€Đŗ,')| replace('Fri', 'ĐŸŅŅ‚ĐŊĐ¸Ņ†Đ°,')| replace('Sat', 'ĐĄŅƒĐąĐąĐžŅ‚Đ°,')| replace('Sun', 'Đ’ĐžŅĐēŅ€ĐĩҁĐĩĐŊиĐĩ,') }} - {%- endif -%} - day01_mui: >- - {%- if language == "DEU" -%} Heute - {%- elif language == "ENG" -%} Today - {%- elif language == "BGR" -%} ДĐŊĐĩҁ - {%- elif language == "DNK" -%} I dag - {%- elif language == "EST" -%} Täna - {%- elif language == "FIN" -%} Tänään - {%- elif language == "FRA" -%} Aujourd hui - {%- elif language == "GRC" -%} ÎŖÎŽÎŧÎĩĪÎą - {%- elif language == "IDN" -%} Hari ini - {%- elif language == "ITA" -%} Oggi - {%- elif language == "LVA" -%} Å odien - {%- elif language == "LTU" -%} Å iandien - {%- elif language == "NLD" -%} Vandaag - {%- elif language == "POL" -%} Dzisiaj - {%- elif language == "PRT" -%} Hoje - {%- elif language == "ROU" -%} Astăzi - {%- elif language == "SWE" -%} Idag - {%- elif language == "SVK" -%} Dnes - {%- elif language == "SVN" -%} Danes - {%- elif language == "ESP" -%} Hoy - {%- elif language == "CZE" -%} Dnes - {%- elif language == "TUR" -%} BugÃŧn - {%- elif language == "UKR" -%} ĐĄŅŒĐžĐŗĐžĐ´ĐŊŅ– - {%- elif language == "HUN" -%} Ma - {%- elif language == "NOR" -%} I dag - {%- elif language == "RUS" -%} ĐĄĐĩĐŗĐžĐ´ĐŊŅ - {%- endif -%} - day02_mui: >- - {%- if language == "DEU" -%} Morgen - {%- elif language == "ENG" -%} Tomorrow - {%- elif language == "BGR" -%} ĐŖŅ‚Ņ€Đĩ - {%- elif language == "DNK" -%} I morgen - {%- elif language == "EST" -%} Homme - {%- elif language == "FIN" -%} Huomenna - {%- elif language == "FRA" -%} Demain - {%- elif language == "GRC" -%} Î‘ĪĪÎšÎŋ - {%- elif language == "IDN" -%} Besok - {%- elif language == "ITA" -%} Domani - {%- elif language == "LVA" -%} RÄĢt - {%- elif language == "LTU" -%} Rytoj - {%- elif language == "NLD" -%} Morgen - {%- elif language == "POL" -%} Jutro - {%- elif language == "PRT" -%} AmanhÃŖ - {%- elif language == "ROU" -%} MÃĸine - {%- elif language == "SWE" -%} Imorgon - {%- elif language == "SVK" -%} Zajtra - {%- elif language == "SVN" -%} Jutri - {%- elif language == "ESP" -%} MaÃąana - {%- elif language == "CZE" -%} Zítra - {%- elif language == "TUR" -%} YarÄąn - {%- elif language == "UKR" -%} Đ—Đ°Đ˛Ņ‚Ņ€Đ° - {%- elif language == "HUN" -%} Holnap - {%- elif language == "NOR" -%} I morgen - {%- elif language == "RUS" -%} Đ—Đ°Đ˛Ņ‚Ņ€Đ° - {%- endif -%} - day03_mui: >- - {%- if language == "DEU" -%} in 2 Tagen - {%- elif language == "ENG" -%} in 2 Days - {%- elif language == "BGR" -%} Са 2 Đ´ĐŊи - {%- elif language == "DNK" -%} om 2 dage - {%- elif language == "EST" -%} 2 päeva pärast - {%- elif language == "FIN" -%} 2 päivän päästä - {%- elif language == "FRA" -%} Dans 2 jours - {%- elif language == "GRC" -%} ΃Îĩ 2 ΡÎŧÎ­ĪÎĩĪ‚ - {%- elif language == "IDN" -%} dalam 2 Hari - {%- elif language == "ITA" -%} in 2 giorni - {%- elif language == "LVA" -%} pēc 2 dienām - {%- elif language == "LTU" -%} per 2 dienas - {%- elif language == "NLD" -%} in 2 dagen - {%- elif language == "POL" -%} za 2 dni - {%- elif language == "PRT" -%} em 2 Dias - {%- elif language == "ROU" -%} ÃŽn 2 zile - {%- elif language == "SWE" -%} om 2 dagar - {%- elif language == "SVK" -%} o 2 dni - {%- elif language == "SVN" -%} v 2 dneh - {%- elif language == "ESP" -%} en 2 días - {%- elif language == "CZE" -%} za 2 dny - {%- elif language == "TUR" -%} 2 GÃŧn İçinde - {%- elif language == "UKR" -%} ҇ĐĩŅ€ĐĩС 2 Đ´ĐŊŅ– - {%- elif language == "HUN" -%} 2 nap mÃēlva - {%- elif language == "NOR" -%} om 2 dager - {%- elif language == "RUS" -%} ĐŊа 2 Đ´ĐŊŅ - {%- endif -%} - day04_mui: >- - {%- if language == "DEU" -%} in 3 Tagen - {%- elif language == "ENG" -%} in 3 Days - {%- elif language == "BGR" -%} Са 3 Đ´ĐŊи - {%- elif language == "DNK" -%} om 3 dage - {%- elif language == "EST" -%} 3 päeva pärast - {%- elif language == "FIN" -%} 3 päivän päästä - {%- elif language == "FRA" -%} Dans 3 jours - {%- elif language == "GRC" -%} ΃Îĩ 3 ΡÎŧÎ­ĪÎĩĪ‚ - {%- elif language == "IDN" -%} dalam 3 Hari - {%- elif language == "ITA" -%} in 3 giorni - {%- elif language == "LVA" -%} pēc 3 dienām - {%- elif language == "LTU" -%} per 3 dienas - {%- elif language == "NLD" -%} in 3 dagen - {%- elif language == "POL" -%} za 3 dni - {%- elif language == "PRT" -%} em 3 dias - {%- elif language == "ROU" -%} ÃŽn 3 zile - {%- elif language == "SWE" -%} om 3 dagar - {%- elif language == "SVK" -%} o 3 dni - {%- elif language == "SVN" -%} v 3 dneh - {%- elif language == "ESP" -%} en 3 Días - {%- elif language == "CZE" -%} za 3 dny - {%- elif language == "TUR" -%} 3 GÃŧn İçinde - {%- elif language == "UKR" -%} ҇ĐĩŅ€ĐĩС 3 Đ´ĐŊŅ– - {%- elif language == "HUN" -%} 3 nap mÃēlva - {%- elif language == "NOR" -%} om 3 dager - {%- elif language == "RUS" -%} ĐŊа 3 Đ´ĐŊŅ - {%- endif -%} - day05_mui: >- - {%- if language == "DEU" -%} in 4 Tagen - {%- elif language == "ENG" -%} in 4 Days - {%- elif language == "BGR" -%} Са 4 Đ´ĐŊи - {%- elif language == "DNK" -%} om 4 dage - {%- elif language == "EST" -%} 4 päeva pärast - {%- elif language == "FIN" -%} 4 päivän päästä - {%- elif language == "FRA" -%} Dans 4 jours - {%- elif language == "GRC" -%} ΃Îĩ 4 ΡÎŧÎ­ĪÎĩĪ‚ - {%- elif language == "IDN" -%} dalam 4 Hari - {%- elif language == "ITA" -%} in 4 giorni - {%- elif language == "LVA" -%} pēc 4 dienām - {%- elif language == "LTU" -%} per 4 dienas - {%- elif language == "NLD" -%} in 4 dagen - {%- elif language == "POL" -%} za 4 dni - {%- elif language == "PRT" -%} em 4 dias - {%- elif language == "ROU" -%} ÃŽn 4 zile - {%- elif language == "SWE" -%} om 4 dagar - {%- elif language == "SVK" -%} o 4 dni - {%- elif language == "SVN" -%} v 4 dneh - {%- elif language == "ESP" -%} en 4 Días - {%- elif language == "CZE" -%} za 4 dny - {%- elif language == "TUR" -%} 4 GÃŧn İçinde - {%- elif language == "UKR" -%} ҇ĐĩŅ€ĐĩС 2 Đ´ĐŊŅ– - {%- elif language == "HUN" -%} 4 nap mÃēlva - {%- elif language == "NOR" -%} om 4 dager - {%- elif language == "RUS" -%} ĐŊа 4 Đ´ĐŊŅ - {%- endif -%} - on_mui: >- - {%- if language == "DEU" -%} ein - {%- elif language == "ENG" -%} on - {%- elif language == "BGR" -%} ĐŊа - {%- elif language == "DNK" -%} pÃĨ - {%- elif language == "EST" -%} aadressil - {%- elif language == "FIN" -%} osoitteessa - {%- elif language == "FRA" -%} on - {%- elif language == "GRC" -%} ΕÎŊÎĩĪÎŗĪŒ - {%- elif language == "IDN" -%} on - {%- elif language == "ITA" -%} on - {%- elif language == "LVA" -%} vietnē - {%- elif language == "LTU" -%} svetainėje - {%- elif language == "NLD" -%} aan - {%- elif language == "POL" -%} na - {%- elif language == "PRT" -%} em - {%- elif language == "ROU" -%} pe - {%- elif language == "SWE" -%} pÃĨ - {%- elif language == "SVK" -%} zapnutÊ - {%- elif language == "SVN" -%} na - {%- elif language == "ESP" -%} on - {%- elif language == "CZE" -%} zapnuto - {%- elif language == "TUR" -%} Ãŧzerinde - {%- elif language == "UKR" -%} ŅƒĐ˛Ņ–ĐŧĐē - {%- elif language == "HUN" -%} a oldalon - {%- elif language == "NOR" -%} pÃĨ - {%- elif language == "RUS" -%} вĐēĐģŅŽŅ‡ĐĩĐŊĐž - {%- endif -%} - off_mui: >- - {%- if language == "DEU" -%} aus - {%- elif language == "ENG" -%} off - {%- elif language == "BGR" -%} иСĐēĐģŅŽŅ‡Đ˛Đ°ĐŊĐĩ - {%- elif language == "DNK" -%} off - {%- elif language == "EST" -%} välja - {%- elif language == "FIN" -%} off - {%- elif language == "FRA" -%} off - {%- elif language == "GRC" -%} ΑÎŊÎĩÎŊÎĩĪÎŗĪŒ - {%- elif language == "IDN" -%} off - {%- elif language == "ITA" -%} off - {%- elif language == "LVA" -%} izslēgts - {%- elif language == "LTU" -%} iÅĄjungta - {%- elif language == "NLD" -%} uit - {%- elif language == "POL" -%} off - {%- elif language == "PRT" -%} off - {%- elif language == "ROU" -%} off - {%- elif language == "SWE" -%} av - {%- elif language == "SVK" -%} vypnutÊ - {%- elif language == "SVN" -%} izklop - {%- elif language == "ESP" -%} off - {%- elif language == "CZE" -%} vypnuto - {%- elif language == "TUR" -%} kapalÄą - {%- elif language == "UKR" -%} виĐŧĐē - {%- elif language == "HUN" -%} off - {%- elif language == "NOR" -%} av - {%- elif language == "RUS" -%} Đ˛Ņ‹ĐēĐģŅŽŅ‡ĐĩĐŊĐž - {%- endif -%} - heat_mui: >- - {%- if language == "DEU" -%} heizen - {%- elif language == "ENG" -%} heat - {%- elif language == "BGR" -%} Ņ‚ĐžĐŋĐģиĐŊа - {%- elif language == "DNK" -%} varme - {%- elif language == "EST" -%} soojus - {%- elif language == "FIN" -%} lämpÃļ - {%- elif language == "FRA" -%} Chaleur - {%- elif language == "GRC" -%} Î˜Î­ĪÎŧÎąÎŊĪƒÎˇ - {%- elif language == "IDN" -%} panas - {%- elif language == "ITA" -%} caldo - {%- elif language == "LVA" -%} siltums - {%- elif language == "LTU" -%} ÅĄiluma - {%- elif language == "NLD" -%} verwarm - {%- elif language == "POL" -%} ciepło - {%- elif language == "PRT" -%} calor - {%- elif language == "ROU" -%} căldură - {%- elif language == "SWE" -%} värme - {%- elif language == "SVK" -%} kÃērenie - {%- elif language == "SVN" -%} toplota - {%- elif language == "ESP" -%} calor - {%- elif language == "CZE" -%} topení - {%- elif language == "TUR" -%} ÄąsÄą - {%- elif language == "UKR" -%} ĐŊĐ°ĐŗŅ€Ņ–Đ˛ - {%- elif language == "HUN" -%} hő - {%- elif language == "NOR" -%} varme - {%- elif language == "RUS" -%} ĐŊĐ°ĐŗŅ€Đĩв - {%- endif -%} - please_confirm_mui: >- - {%- if language == "DEU" -%} Bitte bestätigen - {%- elif language == "ENG" -%} Please confirm - {%- elif language == "BGR" -%} МоĐģŅ, ĐŋĐžŅ‚Đ˛ŅŠŅ€Đ´ĐĩŅ‚Đĩ - {%- elif language == "DNK" -%} BekrÃĻft venligst - {%- elif language == "EST" -%} Palun kinnitage - {%- elif language == "FIN" -%} Vahvistakaa - {%- elif language == "FRA" -%} Veuillez confirmer - {%- elif language == "GRC" -%} Î ÎąĪÎąÎēÎąÎģĪŽ ÎĩĪ€ÎšÎ˛ÎĩÎ˛ÎąÎšĪŽĪƒĪ„Îĩ - {%- elif language == "IDN" -%} Mohon konfirmasi - {%- elif language == "ITA" -%} Confermare - {%- elif language == "LVA" -%} LÅĢdzu, apstipriniet - {%- elif language == "LTU" -%} PraÅĄome patvirtinti - {%- elif language == "NLD" -%} Bevestig alstublieft - {%- elif language == "POL" -%} Proszę o potwierdzenie - {%- elif language == "PRT" -%} Favor confirmar - {%- elif language == "ROU" -%} Vă rugăm să confirmați - {%- elif language == "SWE" -%} PVänligen bekräfta - {%- elif language == "SVK" -%} Potvrďte, prosím - {%- elif language == "SVN" -%} Prosimo, potrdite - {%- elif language == "ESP" -%} Por favor, confirme - {%- elif language == "CZE" -%} Potvrďte prosím - {%- elif language == "TUR" -%} LÃŧtfen onaylayÄąn - {%- elif language == "UKR" -%} Đ‘ŅƒĐ´ŅŒ ĐģĐ°ŅĐēа, ĐŋŅ–Đ´Ņ‚Đ˛ĐĩŅ€Đ´Ņ–Ņ‚ŅŒ - {%- elif language == "HUN" -%} KÊrjÃŧk, erősítse meg - {%- elif language == "NOR" -%} Vennligst bekreft - {%- elif language == "RUS" -%} ПоĐļаĐģŅƒĐšŅŅ‚Đ°, ĐŋĐžĐ´Ņ‚Đ˛ĐĩŅ€Đ´Đ¸Ņ‚Đĩ - {%- endif -%} - - ##### FORCAST ACCUWEATHER - DAY 0 ##### - accuweather_realfeel_temperature_min_0d: "sensor.{{ accuweather_name }}_realfeel_temperature_min_0d" - accuweather_realfeel_temperature_max_0d: "sensor.{{ accuweather_name }}_realfeel_temperature_max_0d" - accuweather_hours_of_sun_0d: "sensor.{{ accuweather_name }}_hours_of_sun_0d" - accuweather_uv_index_0d: "sensor.{{ accuweather_name }}_uv_index_0d" - accuweather_thunderstorm_probability_day_0d: "sensor.{{ accuweather_name }}_thunderstorm_probability_day_0d" - accuweather_thunderstorm_probability_night_0d: "sensor.{{ accuweather_name }}_thunderstorm_probability_night_0d" - accuweather_wind_day_0d: "sensor.{{ accuweather_name }}_wind_day_0d" - accuweather_wind_night_0d: "sensor.{{ accuweather_name }}_wind_night_0d" - ##### FORCAST ACCUWEATHER - DAY 1 ##### - accuweather_realfeel_temperature_min_1d: "sensor.{{ accuweather_name }}_realfeel_temperature_min_1d" - accuweather_realfeel_temperature_max_1d: "sensor.{{ accuweather_name }}_realfeel_temperature_max_1d" - accuweather_hours_of_sun_1d: "sensor.{{ accuweather_name }}_hours_of_sun_1d" - accuweather_uv_index_1d: "sensor.{{ accuweather_name }}_uv_index_1d" - accuweather_thunderstorm_probability_day_1d: "sensor.{{ accuweather_name }}_thunderstorm_probability_day_1d" - accuweather_thunderstorm_probability_night_1d: "sensor.{{ accuweather_name }}_thunderstorm_probability_night_1d" - accuweather_wind_day_1d: "sensor.{{ accuweather_name }}_wind_day_1d" - accuweather_wind_night_1d: "sensor.{{ accuweather_name }}_wind_night_1d" - ##### FORCAST ACCUWEATHER - DAY 2 ##### - accuweather_realfeel_temperature_min_2d: "sensor.{{ accuweather_name }}_realfeel_temperature_min_2d" - accuweather_realfeel_temperature_max_2d: "sensor.{{ accuweather_name }}_realfeel_temperature_max_2d" - accuweather_hours_of_sun_2d: "sensor.{{ accuweather_name }}_hours_of_sun_2d" - accuweather_uv_index_2d: "sensor.{{ accuweather_name }}_uv_index_2d" - accuweather_thunderstorm_probability_day_2d: "sensor.{{ accuweather_name }}_thunderstorm_probability_day_2d" - accuweather_thunderstorm_probability_night_2d: "sensor.{{ accuweather_name }}_thunderstorm_probability_night_2d" - accuweather_wind_day_2d: "sensor.{{ accuweather_name }}_wind_day_2d" - accuweather_wind_night_2d: "sensor.{{ accuweather_name }}_wind_night_2d" - ##### FORCAST ACCUWEATHER - DAY 3 ##### - accuweather_realfeel_temperature_min_3d: "sensor.{{ accuweather_name }}_realfeel_temperature_min_3d" - accuweather_realfeel_temperature_max_3d: "sensor.{{ accuweather_name }}_realfeel_temperature_max_3d" - accuweather_hours_of_sun_3d: "sensor.{{ accuweather_name }}_hours_of_sun_3d" - accuweather_uv_index_3d: "sensor.{{ accuweather_name }}_uv_index_3d" - accuweather_thunderstorm_probability_day_3d: "sensor.{{ accuweather_name }}_thunderstorm_probability_day_3d" - accuweather_thunderstorm_probability_night_3d: "sensor.{{ accuweather_name }}_thunderstorm_probability_night_3d" - accuweather_wind_day_3d: "sensor.{{ accuweather_name }}_wind_day_3d" - accuweather_wind_night_3d: "sensor.{{ accuweather_name }}_wind_night_3d" - ##### FORCAST ACCUWEATHER - DAY 4 ##### - accuweather_realfeel_temperature_min_4d: "sensor.{{ accuweather_name }}_realfeel_temperature_min_4d" - accuweather_realfeel_temperature_max_4d: "sensor.{{ accuweather_name }}_realfeel_temperature_max_4d" - accuweather_hours_of_sun_4d: "sensor.{{ accuweather_name }}_hours_of_sun_4d" - accuweather_uv_index_4d: "sensor.{{ accuweather_name }}_uv_index_4d" - accuweather_thunderstorm_probability_day_4d: "sensor.{{ accuweather_name }}_thunderstorm_probability_day_4d" - accuweather_thunderstorm_probability_night_4d: "sensor.{{ accuweather_name }}_thunderstorm_probability_night_4d" - accuweather_wind_day_4d: "sensor.{{ accuweather_name }}_wind_day_4d" - accuweather_wind_night_4d: "sensor.{{ accuweather_name }}_wind_night_4d" +##### CHANGE ME START ########################################################################################################## + ###### GENERAL - NEXTION COLOR MAPPING ##### + color_01: "65535" #White + color_02: "10597" #Grey dark + color_03: "33808" #Grey light + color_04: "1055" #Blue + color_05: "63488" #Red + color_06: "52857" #Grey super light + color_07: "65472" #Yellow + + ###### "GENERAL" NEXTION FONT ICON MAPPING ##### + blank_icon: "\U0000FFFF" #blank macbook bug + battery_icon: "\U0000F2A1" #F2A1 + battery_icon_color: "52857" #Grey super light + + ###### "BUTTON" NEXTION FONT ICON MAPPING ##### + button_icon_unknown: "\U00000E27" #E027 + button_icon_light: "\U0000E334" #E334 + button_icon_switch: "\U0000E97D" #E97D + button_icon_input_boolan: "\U0000EA19" #EA19 + button_icon_cover: "\U0000E0AB" #E0AB + button_icon_automation: "\U0000F6FC" #F6FC + button_icon_button: "\U0000ED76" #ED76 + button_icon_input_button: "\U0000F2A7" #F2A7 + button_icon_scene: "\U0000EE0B" #EE0B + button_icon_script: "\U0000F45D" #F45D + button_icon_person: "\U0000E003" #E003 + button_icon_binary_sensor: "\U0000E7C0" #E7C0 + button_icon_fan: "\U0000E20F" #E20F + button_icon_climate: "\U0000E392" #E392 + + ###### "Weather" NEXTION FONT ICON MAPPING ##### + weather_icon_rain: "\U0000E595" #E595 + weather_icon_sun: "\U0000E5A7" #E5A7 + weather_icon_protect: "\U0000F05C" #F05C + weather_icon_lightning: "\U0000E592" #E592 + weather_icon_wind: "\U0000E59C" #E59C + +##### CHANGE ME END ########################################################################################################## + + + + ### Home Page - Feature Buttons ### + home_button01_icon: "" + home_button01_icon_color01: "" + home_button02_icon: "" + home_button02_icon_color02: "" + home_button03_icon: "" + home_button03_icon_color03: "" + home_button04_icon: !input "home_button04_icon" #E1ED + home_button04_icon_color01: !input "home_button04_icon_color01" # Notification + home_button04_icon_color02: "63488" # RED Notification + home_button05_icon: !input "home_button05_icon" #E432 + home_button05_icon_color: !input "home_button05_icon_color" + home_button06_icon: !input "home_button06_icon" #EDCF + home_button06_icon_color: !input "home_button06_icon_color" + home_button07_icon: "" + home_button07_icon_color: "" + + ### Home Page - Value 01 - 03 + home_value01: !input "home_value01" + home_value01_icon: !input "home_value01_icon" + home_value01_icon_color: !input "home_value01_icon_color" + home_value01_label_color: !input "home_value01_label_color" + home_value02: !input "home_value02" + home_value02_icon: !input "home_value02_icon" + home_value02_icon_color: !input "home_value02_icon_color" + home_value02_label_color: !input "home_value02_label_color" + home_value03: !input "home_value03" + home_value03_icon: !input "home_value03_icon" + home_value03_icon_color: !input "home_value03_icon_color" + home_value03_label_color: !input "home_value03_label_color" + + ### Home Page - Chips ### + chip01: !input "chip01" + chip01_icon: !input "chip01_icon" + chip01_icon_color: !input "chip01_icon_color" + chip02: !input "chip02" + chip02_icon: !input "chip02_icon" + chip02_icon_color: !input "chip02_icon_color" + chip03: !input "chip03" + chip03_icon: !input "chip03_icon" + chip03_icon_color: !input "chip03_icon_color" + chip04: !input "chip04" + chip04_icon: !input "chip04_icon" + chip04_icon_color: !input "chip04_icon_color" + chip05: !input "chip05" + chip05_icon: !input "chip05_icon" + chip05_icon_color: !input "chip05_icon_color" + chip06: !input "chip06" + chip06_icon: !input "chip06_icon" + chip06_icon_color: !input "chip06_icon_color" + chip07: !input "chip07" + chip07_icon: !input "chip07_icon" + chip07_icon_color: !input "chip07_icon_color" + + ### Home Page - Chips General ### + relay01_icon: !input "relay01_icon" #E3A5 + relay01_icon_color: !input "relay01_icon_color" + relay02_icon: !input "relay02_icon" #E3A8 + relay02_icon_color: !input "relay02_icon_color" + thermostat_icon: !input "thermostat_icon" #E50E + thermostat_icon_color: !input "thermostat_icon_color" + heat_icon: !input "heat_icon" #\U0000E50F + + ### Home Page - General ### + home_indoor_temp_icon: !input "home_indoor_temp_icon" #E50E + home_indoor_temp_icon_color: !input "home_indoor_temp_icon_color" + home_indoor_temp_label_color: !input "home_indoor_temp_label_color" + home_outdoor_temp_label_color: !input "home_outdoor_temp_label_color" + time_label_color: !input "time_label_color" + date_label_color: !input "date_label_color" + right_button_color: !input "right_button_color" + left_button_color: !input "left_button_color" ##### BUTTON Page Labels ##### button_page01_label: !input button_page01_label @@ -2645,103 +3229,196 @@ variables: ##### BUTTONS 1- 32 ##### entity01: !input "entity01" entity01_name: !input "entity01_name" + entity01_icon: !input "entity01_icon" + entity01_icon_color: !input "entity01_icon_color" + entity01_confirm: !input "entity01_confirm" + entity02: !input "entity02" entity02_name: !input "entity02_name" + entity02_icon: !input "entity02_icon" + entity02_icon_color: !input "entity02_icon_color" + entity02_confirm: !input "entity02_confirm" + entity03: !input "entity03" entity03_name: !input "entity03_name" + entity03_icon: !input "entity03_icon" + entity03_icon_color: !input "entity03_icon_color" + entity03_confirm: !input "entity03_confirm" + entity04: !input "entity04" entity04_name: !input "entity04_name" + entity04_icon: !input "entity04_icon" + entity04_icon_color: !input "entity04_icon_color" + entity04_confirm: !input "entity04_confirm" + entity05: !input "entity05" entity05_name: !input "entity05_name" + entity05_icon: !input "entity05_icon" + entity05_icon_color: !input "entity05_icon_color" + entity05_confirm: !input "entity05_confirm" + entity06: !input "entity06" entity06_name: !input "entity06_name" + entity06_icon: !input "entity06_icon" + entity06_icon_color: !input "entity06_icon_color" + entity06_confirm: !input "entity06_confirm" + entity07: !input "entity07" entity07_name: !input "entity07_name" + entity07_icon: !input "entity07_icon" + entity07_icon_color: !input "entity07_icon_color" + entity07_confirm: !input "entity07_confirm" + entity08: !input "entity08" entity08_name: !input "entity08_name" + entity08_icon: !input "entity08_icon" + entity08_icon_color: !input "entity08_icon_color" + entity08_confirm: !input "entity08_confirm" + entity09: !input "entity09" entity09_name: !input "entity09_name" + entity09_icon: !input "entity09_icon" + entity09_icon_color: !input "entity09_icon_color" + entity09_confirm: !input "entity09_confirm" + entity10: !input "entity10" entity10_name: !input "entity10_name" + entity10_icon: !input "entity10_icon" + entity10_icon_color: !input "entity10_icon_color" + entity10_confirm: !input "entity10_confirm" + entity11: !input "entity11" entity11_name: !input "entity11_name" + entity11_icon: !input "entity11_icon" + entity11_icon_color: !input "entity11_icon_color" + entity11_confirm: !input "entity11_confirm" + entity12: !input "entity12" entity12_name: !input "entity12_name" + entity12_icon: !input "entity12_icon" + entity12_icon_color: !input "entity12_icon_color" + entity12_confirm: !input "entity12_confirm" + entity13: !input "entity13" entity13_name: !input "entity13_name" + entity13_icon: !input "entity13_icon" + entity13_icon_color: !input "entity13_icon_color" + entity13_confirm: !input "entity13_confirm" + entity14: !input "entity14" entity14_name: !input "entity14_name" + entity14_icon: !input "entity14_icon" + entity14_icon_color: !input "entity14_icon_color" + entity14_confirm: !input "entity14_confirm" + entity15: !input "entity15" entity15_name: !input "entity15_name" + entity15_icon: !input "entity15_icon" + entity15_icon_color: !input "entity15_icon_color" + entity15_confirm: !input "entity15_confirm" + entity16: !input "entity16" entity16_name: !input "entity16_name" + entity16_icon: !input "entity16_icon" + entity16_icon_color: !input "entity16_icon_color" + entity16_confirm: !input "entity16_confirm" + entity17: !input "entity17" entity17_name: !input "entity17_name" + entity17_icon: !input "entity17_icon" + entity17_icon_color: !input "entity17_icon_color" + entity17_confirm: !input "entity17_confirm" + entity18: !input "entity18" entity18_name: !input "entity18_name" + entity18_icon: !input "entity18_icon" + entity18_icon_color: !input "entity18_icon_color" + entity18_confirm: !input "entity18_confirm" + entity19: !input "entity19" entity19_name: !input "entity19_name" + entity19_icon: !input "entity19_icon" + entity19_icon_color: !input "entity19_icon_color" + entity19_confirm: !input "entity19_confirm" + entity20: !input "entity20" entity20_name: !input "entity20_name" + entity20_icon: !input "entity20_icon" + entity20_icon_color: !input "entity20_icon_color" + entity20_confirm: !input "entity20_confirm" + entity21: !input "entity21" entity21_name: !input "entity21_name" + entity21_icon: !input "entity21_icon" + entity21_icon_color: !input "entity21_icon_color" + entity21_confirm: !input "entity21_confirm" + entity22: !input "entity22" entity22_name: !input "entity22_name" + entity22_icon: !input "entity22_icon" + entity22_icon_color: !input "entity22_icon_color" + entity22_confirm: !input "entity22_confirm" + entity23: !input "entity23" entity23_name: !input "entity23_name" + entity23_icon: !input "entity23_icon" + entity23_icon_color: !input "entity23_icon_color" + entity23_confirm: !input "entity23_confirm" + entity24: !input "entity24" entity24_name: !input "entity24_name" + entity24_icon: !input "entity24_icon" + entity24_icon_color: !input "entity24_icon_color" + entity24_confirm: !input "entity24_confirm" + entity25: !input "entity25" entity25_name: !input "entity25_name" + entity25_icon: !input "entity25_icon" + entity25_icon_color: !input "entity25_icon_color" + entity25_confirm: !input "entity25_confirm" + entity26: !input "entity26" entity26_name: !input "entity26_name" + entity26_icon: !input "entity26_icon" + entity26_icon_color: !input "entity26_icon_color" + entity26_confirm: !input "entity26_confirm" + entity27: !input "entity27" entity27_name: !input "entity27_name" + entity27_icon: !input "entity27_icon" + entity27_icon_color: !input "entity27_icon_color" + entity27_confirm: !input "entity27_confirm" + entity28: !input "entity28" entity28_name: !input "entity28_name" + entity28_icon: !input "entity28_icon" + entity28_icon_color: !input "entity28_icon_color" + entity28_confirm: !input "entity28_confirm" + entity29: !input "entity29" entity29_name: !input "entity29_name" + entity29_icon: !input "entity29_icon" + entity29_icon_color: !input "entity29_icon_color" + entity29_confirm: !input "entity29_confirm" + entity30: !input "entity30" entity30_name: !input "entity30_name" + entity30_icon: !input "entity30_icon" + entity30_icon_color: !input "entity30_icon_color" + entity30_confirm: !input "entity30_confirm" + entity31: !input "entity31" entity31_name: !input "entity31_name" + entity31_icon: !input "entity31_icon" + entity31_icon_color: !input "entity31_icon_color" + entity31_confirm: !input "entity31_confirm" + entity32: !input "entity32" entity32_name: !input "entity32_name" - - entity01_confirm: !input "entity01_confirm" - entity02_confirm: !input "entity02_confirm" - entity03_confirm: !input "entity03_confirm" - entity04_confirm: !input "entity04_confirm" - entity05_confirm: !input "entity05_confirm" - entity06_confirm: !input "entity06_confirm" - entity07_confirm: !input "entity07_confirm" - entity08_confirm: !input "entity08_confirm" - entity09_confirm: !input "entity09_confirm" - entity10_confirm: !input "entity10_confirm" - entity11_confirm: !input "entity11_confirm" - entity12_confirm: !input "entity12_confirm" - entity13_confirm: !input "entity13_confirm" - entity14_confirm: !input "entity14_confirm" - entity15_confirm: !input "entity15_confirm" - entity16_confirm: !input "entity16_confirm" - entity17_confirm: !input "entity17_confirm" - entity18_confirm: !input "entity18_confirm" - entity19_confirm: !input "entity19_confirm" - entity20_confirm: !input "entity20_confirm" - entity21_confirm: !input "entity21_confirm" - entity22_confirm: !input "entity22_confirm" - entity23_confirm: !input "entity23_confirm" - entity24_confirm: !input "entity24_confirm" - entity25_confirm: !input "entity25_confirm" - entity26_confirm: !input "entity26_confirm" - entity27_confirm: !input "entity27_confirm" - entity28_confirm: !input "entity28_confirm" - entity29_confirm: !input "entity29_confirm" - entity30_confirm: !input "entity30_confirm" - entity31_confirm: !input "entity31_confirm" + entity32_icon: !input "entity32_icon" + entity32_icon_color: !input "entity32_icon_color" entity32_confirm: !input "entity32_confirm" - ##### ENTITIES ##### entitypages_enabled: !input "entitypages_enabled" @@ -2861,6 +3538,498 @@ variables: entities_entity31_icon: !input "entities_entity31_icon" entities_entity32_icon: !input "entities_entity32_icon" + ###### NEXTION PIC MAPPING ##### + hardware_button_pic_off: "77" + hardware_button_pic_on: "78" + button_off: "101" + button_on: "102" + heating_bt_pic_off: "82" + heating_bt_pic_on: "83" + + ###### NEXTION PAGE MAPPING ##### + 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" + page_notification: "notification" + page_qrcode: "qrcode" + page_entitypage01: "entitypage01" + page_entitypage02: "entitypage02" + page_entitypage03: "entitypage03" + page_entitypage04: "entitypage04" + + + + + ##### MUI Multilingual User Interface (DE/EN) ##### + date01_mui: >- + {%- if language == "DEU" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Montag,')| replace('Tue', 'Dienstag,')| replace('Wed', 'Mittwoch,')| replace('Thu', 'Donnerstag,')| replace('Fri', 'Freitag,')| replace('Sat', 'Samstag,')| replace('Sun', 'Sonntag,') }} + {%- elif language == "ENG" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Monday,')| replace('Tue', 'Tuesday,')| replace('Wed', 'Wednesday,')| replace('Thu', 'Thursday,')| replace('Fri', 'Friday,')| replace('Sat', 'Saturday,')| replace('Sun', 'Sunday,') }} + {%- elif language == "BGR" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€ŅĐ´Đ°,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ŅŠŅ€Ņ‚ŅŠĐē,')| replace('Fri', 'ПĐĩŅ‚ŅŠĐē,')| replace('Sat', 'ĐĄŅŠĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´ĐĩĐģŅ,') }} + {%- elif language == "DNK" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} + {%- elif language == "EST" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Esmaspäev,')| replace('Tue', 'Teisipäev,')| replace('Wed', 'Kolmapäev,')| replace('Thu', 'Neljapäev,')| replace('Fri', 'Reede,')| replace('Sat', 'Laupäev,')| replace('Sun', 'PÃŧhapäev,') }} + {%- elif language == "FIN" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maanantai,')| replace('Tue', 'Tiistai,')| replace('Wed', 'Keskiviikko,')| replace('Thu', 'Torstai,')| replace('Fri', 'Perjantai,')| replace('Sat', 'Lauantai,')| replace('Sun', 'Sunnuntai,') }} + {%- elif language == "FRA" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lundi,')| replace('Tue', 'Mardi,')| replace('Wed', 'Mercredi,')| replace('Thu', 'Jeudi,')| replace('Fri', 'Vendredi,')| replace('Sat', 'Samedi,')| replace('Sun', 'Dimanche,') }} + {%- elif language == "GRC" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ΔÎĩĪ…Ī„Î­ĪÎą,')| replace('Tue', 'Î¤ĪÎ¯Ī„Îˇ,')| replace('Wed', 'ΤÎĩĪ„ÎŦĪĪ„Îˇ,')| replace('Thu', 'ΠέÎŧĪ€Ī„Îˇ,')| replace('Fri', 'Î ÎąĪÎąĪƒÎēÎĩĪ…ÎŽ,')| replace('Sat', 'ÎŖÎŦÎ˛Î˛ÎąĪ„Îŋ,')| replace('Sun', 'ÎšĪ…ĪÎšÎąÎēÎŽ,') }} + {%- elif language == "IDN" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Senin,')| replace('Tue', 'Selasa,')| replace('Wed', 'Rabu,')| replace('Thu', 'Kamis,')| replace('Fri', 'Jumat,')| replace('Sat', 'Sabtu,')| replace('Sun', 'Minggu,') }} + {%- elif language == "ITA" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'LunedÃŦ,')| replace('Tue', 'MartedÃŦ,')| replace('Wed', 'MercoledÃŦ,')| replace('Thu', 'GiovedÃŦ,')| replace('Fri', 'VenerdÃŦ,')| replace('Sat', 'Sabato,')| replace('Sun', 'Domenica,') }} + {%- elif language == "LVA" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmdiena,')| replace('Tue', 'Otrdiena,')| replace('Wed', 'TreÅĄdiena,')| replace('Thu', 'Ceturtdiena,')| replace('Fri', 'Piektdiena,')| replace('Sat', 'Sestdiena,')| replace('Sun', 'Svētdiena,') }} + {%- elif language == "LTU" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmadienis,')| replace('Tue', 'Antradienis,')| replace('Wed', 'Trečiadienis,')| replace('Thu', 'Ketvirtadienis,')| replace('Fri', 'Penktadienis,')| replace('Sat', 'Å eÅĄtadienis,')| replace('Sun', 'Sekmadienis,') }} + {%- elif language == "NLD" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maandag,')| replace('Tue', 'Dinsdag,')| replace('Wed', 'Woensdag,')| replace('Thu', 'Donderdag,')| replace('Fri', 'Vrijdag,')| replace('Sat', 'Zaterdag,')| replace('Sun', 'Zondag,') }} + {%- elif language == "POL" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Poniedziałek,')| replace('Tue', 'Wtorek,')| replace('Wed', 'Środa,')| replace('Thu', 'Czwartek,')| replace('Fri', 'Piątek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Niedziela,') }} + {%- elif language == "PRT" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Segunda-feira,')| replace('Tue', 'Terça-feira,')| replace('Wed', 'Quarta-feira,')| replace('Thu', 'Quinta-feira,')| replace('Fri', 'Sexta-feira,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} + {%- elif language == "ROU" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Luni,')| replace('Tue', 'Marți,')| replace('Wed', 'Miercuri,')| replace('Thu', 'Joi,')| replace('Fri', 'Vineri,')| replace('Sat', 'SÃĸmbătă,')| replace('Sun', 'Duminică,') }} + {%- elif language == "SWE" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'MÃĨndag,')| replace('Tue', 'Tisdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'LÃļrdag,')| replace('Sun', 'SÃļndag,') }} + {%- elif language == "SVK" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondelok,')| replace('Tue', 'Utorok,')| replace('Wed', 'Streda,')| replace('Thu', 'Å tvrtok,')| replace('Fri', 'Piatok,')| replace('Sat', 'Sobota,')| replace('Sun', 'NedeÄža,') }} + {%- elif language == "SVN" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Ponedeljek,')| replace('Tue', 'Torek,')| replace('Wed', 'Sreda,')| replace('Thu', 'Četrtek,')| replace('Fri', 'Petek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Nedelja,') }} + {%- elif language == "ESP" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lunes,')| replace('Tue', 'Martes,')| replace('Wed', 'MiÊrcoles,')| replace('Thu', 'Jueves,')| replace('Fri', 'Viernes,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} + {%- elif language == "CZE" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondělí,')| replace('Tue', 'ÚterÃŊ,')| replace('Wed', 'Středa,')| replace('Thu', 'Čtvrtek,')| replace('Fri', 'PÃĄtek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Neděle,') }} + {%- elif language == "TUR" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pazartesi,')| replace('Tue', 'SalÄą,')| replace('Wed', 'Çarşamba,')| replace('Thu', 'Perşembe,')| replace('Fri', 'Cuma,')| replace('Sat', 'Cumartesi,')| replace('Sun', 'Pazar,') }} + {%- elif language == "UKR" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´Ņ–ĐģĐžĐē,')| replace('Tue', 'Đ’Ņ–Đ˛Ņ‚ĐžŅ€ĐžĐē,')| replace('Wed', 'ĐĄĐĩŅ€Đĩда,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ĐĩŅ€,')| replace('Fri', 'П ŅŅ‚ĐŊĐ¸Ņ†Ņ,')| replace('Sat', 'ĐĄŅƒĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´Ņ–ĐģŅ,') }} + {%- elif language == "HUN" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'HÊtfő,')| replace('Tue', 'Kedd,')| replace('Wed', 'Szerda,')| replace('Thu', 'CsÃŧtÃļrtÃļk,')| replace('Fri', 'PÊntek,')| replace('Sat', 'Szombat,')| replace('Sun', 'VasÃĄrnap,') }} + {%- elif language == "HEB" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ינש,')| replace('Tue', 'ישילש,')| replace('Wed', 'י×ĸיבר,')| replace('Thu', 'ישימח,')| replace('Fri', 'ישיש,')| replace('Sat', '×Ēבש,')| replace('Sun', 'ןושאר,') }} + {%- elif language == "NOR" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} + {%- elif language == "RUS" -%} {{ ((as_timestamp(now())) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģҌĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€Đĩда,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ĐĩŅ€Đŗ,')| replace('Fri', 'ĐŸŅŅ‚ĐŊĐ¸Ņ†Đ°,')| replace('Sat', 'ĐĄŅƒĐąĐąĐžŅ‚Đ°,')| replace('Sun', 'Đ’ĐžŅĐēŅ€ĐĩҁĐĩĐŊиĐĩ,') }} + {%- endif -%} + date02_mui: >- + {%- if language == "DEU" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Montag,')| replace('Tue', 'Dienstag,')| replace('Wed', 'Mittwoch,')| replace('Thu', 'Donnerstag,')| replace('Fri', 'Freitag,')| replace('Sat', 'Samstag,')| replace('Sun', 'Sonntag,') }} + {%- elif language == "ENG" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Monday,')| replace('Tue', 'Tuesday,')| replace('Wed', 'Wednesday,')| replace('Thu', 'Thursday,')| replace('Fri', 'Friday,')| replace('Sat', 'Saturday,')| replace('Sun', 'Sunday,') }} + {%- elif language == "BGR" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€ŅĐ´Đ°,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ŅŠŅ€Ņ‚ŅŠĐē,')| replace('Fri', 'ПĐĩŅ‚ŅŠĐē,')| replace('Sat', 'ĐĄŅŠĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´ĐĩĐģŅ,') }} + {%- elif language == "DNK" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} + {%- elif language == "EST" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Esmaspäev,')| replace('Tue', 'Teisipäev,')| replace('Wed', 'Kolmapäev,')| replace('Thu', 'Neljapäev,')| replace('Fri', 'Reede,')| replace('Sat', 'Laupäev,')| replace('Sun', 'PÃŧhapäev,') }} + {%- elif language == "FIN" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maanantai,')| replace('Tue', 'Tiistai,')| replace('Wed', 'Keskiviikko,')| replace('Thu', 'Torstai,')| replace('Fri', 'Perjantai,')| replace('Sat', 'Lauantai,')| replace('Sun', 'Sunnuntai,') }} + {%- elif language == "FRA" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lundi,')| replace('Tue', 'Mardi,')| replace('Wed', 'Mercredi,')| replace('Thu', 'Jeudi,')| replace('Fri', 'Vendredi,')| replace('Sat', 'Samedi,')| replace('Sun', 'Dimanche,') }} + {%- elif language == "GRC" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ΔÎĩĪ…Ī„Î­ĪÎą,')| replace('Tue', 'Î¤ĪÎ¯Ī„Îˇ,')| replace('Wed', 'ΤÎĩĪ„ÎŦĪĪ„Îˇ,')| replace('Thu', 'ΠέÎŧĪ€Ī„Îˇ,')| replace('Fri', 'Î ÎąĪÎąĪƒÎēÎĩĪ…ÎŽ,')| replace('Sat', 'ÎŖÎŦÎ˛Î˛ÎąĪ„Îŋ,')| replace('Sun', 'ÎšĪ…ĪÎšÎąÎēÎŽ,') }} + {%- elif language == "IDN" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Senin,')| replace('Tue', 'Selasa,')| replace('Wed', 'Rabu,')| replace('Thu', 'Kamis,')| replace('Fri', 'Jumat,')| replace('Sat', 'Sabtu,')| replace('Sun', 'Minggu,') }} + {%- elif language == "ITA" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'LunedÃŦ,')| replace('Tue', 'MartedÃŦ,')| replace('Wed', 'MercoledÃŦ,')| replace('Thu', 'GiovedÃŦ,')| replace('Fri', 'VenerdÃŦ,')| replace('Sat', 'Sabato,')| replace('Sun', 'Domenica,') }} + {%- elif language == "LVA" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmdiena,')| replace('Tue', 'Otrdiena,')| replace('Wed', 'TreÅĄdiena,')| replace('Thu', 'Ceturtdiena,')| replace('Fri', 'Piektdiena,')| replace('Sat', 'Sestdiena,')| replace('Sun', 'Svētdiena,') }} + {%- elif language == "LTU" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmadienis,')| replace('Tue', 'Antradienis,')| replace('Wed', 'Trečiadienis,')| replace('Thu', 'Ketvirtadienis,')| replace('Fri', 'Penktadienis,')| replace('Sat', 'Å eÅĄtadienis,')| replace('Sun', 'Sekmadienis,') }} + {%- elif language == "NLD" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maandag,')| replace('Tue', 'Dinsdag,')| replace('Wed', 'Woensdag,')| replace('Thu', 'Donderdag,')| replace('Fri', 'Vrijdag,')| replace('Sat', 'Zaterdag,')| replace('Sun', 'Zondag,') }} + {%- elif language == "POL" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Poniedziałek,')| replace('Tue', 'Wtorek,')| replace('Wed', 'Środa,')| replace('Thu', 'Czwartek,')| replace('Fri', 'Piątek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Niedziela,') }} + {%- elif language == "PRT" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Segunda-feira,')| replace('Tue', 'Terça-feira,')| replace('Wed', 'Quarta-feira,')| replace('Thu', 'Quinta-feira,')| replace('Fri', 'Sexta-feira,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} + {%- elif language == "ROU" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Luni,')| replace('Tue', 'Marți,')| replace('Wed', 'Miercuri,')| replace('Thu', 'Joi,')| replace('Fri', 'Vineri,')| replace('Sat', 'SÃĸmbătă,')| replace('Sun', 'Duminică,') }} + {%- elif language == "SWE" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'MÃĨndag,')| replace('Tue', 'Tisdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'LÃļrdag,')| replace('Sun', 'SÃļndag,') }} + {%- elif language == "SVK" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondelok,')| replace('Tue', 'Utorok,')| replace('Wed', 'Streda,')| replace('Thu', 'Å tvrtok,')| replace('Fri', 'Piatok,')| replace('Sat', 'Sobota,')| replace('Sun', 'NedeÄža,') }} + {%- elif language == "SVN" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Ponedeljek,')| replace('Tue', 'Torek,')| replace('Wed', 'Sreda,')| replace('Thu', 'Četrtek,')| replace('Fri', 'Petek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Nedelja,') }} + {%- elif language == "ESP" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lunes,')| replace('Tue', 'Martes,')| replace('Wed', 'MiÊrcoles,')| replace('Thu', 'Jueves,')| replace('Fri', 'Viernes,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} + {%- elif language == "CZE" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondělí,')| replace('Tue', 'ÚterÃŊ,')| replace('Wed', 'Středa,')| replace('Thu', 'Čtvrtek,')| replace('Fri', 'PÃĄtek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Neděle,') }} + {%- elif language == "TUR" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pazartesi,')| replace('Tue', 'SalÄą,')| replace('Wed', 'Çarşamba,')| replace('Thu', 'Perşembe,')| replace('Fri', 'Cuma,')| replace('Sat', 'Cumartesi,')| replace('Sun', 'Pazar,') }} + {%- elif language == "UKR" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´Ņ–ĐģĐžĐē,')| replace('Tue', 'Đ’Ņ–Đ˛Ņ‚ĐžŅ€ĐžĐē,')| replace('Wed', 'ҁĐĩŅ€Đĩда,')| replace('Thu', '҇ĐĩŅ‚Đ˛ĐĩŅ€,')| replace('Fri', 'Đŋ ŅŅ‚ĐŊĐ¸Ņ†Ņ,')| replace('Sat', 'ĐĄŅƒĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´Ņ–ĐģŅ,') }} + {%- elif language == "HUN" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'HÊtfő,')| replace('Tue', 'Kedd,')| replace('Wed', 'Szerda,')| replace('Thu', 'CsÃŧtÃļrtÃļk,')| replace('Fri', 'PÊntek,')| replace('Sat', 'Szombat,')| replace('Sun', 'VasÃĄrnap,') }} + {%- elif language == "HEB" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ינש,')| replace('Tue', 'ישילש,')| replace('Wed', 'י×ĸיבר,')| replace('Thu', 'ישימח,')| replace('Fri', 'ישיש,')| replace('Sat', '×Ēבש,')| replace('Sun', 'ןושאר,') }} + {%- elif language == "NOR" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} + {%- elif language == "RUS" -%} {{ ((as_timestamp(now()) + 86400) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģҌĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€Đĩда,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ĐĩŅ€Đŗ,')| replace('Fri', 'ĐŸŅŅ‚ĐŊĐ¸Ņ†Đ°,')| replace('Sat', 'ĐĄŅƒĐąĐąĐžŅ‚Đ°,')| replace('Sun', 'Đ’ĐžŅĐēŅ€ĐĩҁĐĩĐŊиĐĩ,') }} + {%- endif -%} + date03_mui: >- + {%- if language == "DEU" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Montag,')| replace('Tue', 'Dienstag,')| replace('Wed', 'Mittwoch,')| replace('Thu', 'Donnerstag,')| replace('Fri', 'Freitag,')| replace('Sat', 'Samstag,')| replace('Sun', 'Sonntag,') }} + {%- elif language == "ENG" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Monday,')| replace('Tue', 'Tuesday,')| replace('Wed', 'Wednesday,')| replace('Thu', 'Thursday,')| replace('Fri', 'Friday,')| replace('Sat', 'Saturday,')| replace('Sun', 'Sunday,') }} + {%- elif language == "BGR" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€ŅĐ´Đ°,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ŅŠŅ€Ņ‚ŅŠĐē,')| replace('Fri', 'ПĐĩŅ‚ŅŠĐē,')| replace('Sat', 'ĐĄŅŠĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´ĐĩĐģŅ,') }} + {%- elif language == "DNK" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} + {%- elif language == "EST" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Esmaspäev,')| replace('Tue', 'Teisipäev,')| replace('Wed', 'Kolmapäev,')| replace('Thu', 'Neljapäev,')| replace('Fri', 'Reede,')| replace('Sat', 'Laupäev,')| replace('Sun', 'PÃŧhapäev,') }} + {%- elif language == "FIN" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maanantai,')| replace('Tue', 'Tiistai,')| replace('Wed', 'Keskiviikko,')| replace('Thu', 'Torstai,')| replace('Fri', 'Perjantai,')| replace('Sat', 'Lauantai,')| replace('Sun', 'Sunnuntai,') }} + {%- elif language == "FRA" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lundi,')| replace('Tue', 'Mardi,')| replace('Wed', 'Mercredi,')| replace('Thu', 'Jeudi,')| replace('Fri', 'Vendredi,')| replace('Sat', 'Samedi,')| replace('Sun', 'Dimanche,') }} + {%- elif language == "GRC" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ΔÎĩĪ…Ī„Î­ĪÎą,')| replace('Tue', 'Î¤ĪÎ¯Ī„Îˇ,')| replace('Wed', 'ΤÎĩĪ„ÎŦĪĪ„Îˇ,')| replace('Thu', 'ΠέÎŧĪ€Ī„Îˇ,')| replace('Fri', 'Î ÎąĪÎąĪƒÎēÎĩĪ…ÎŽ,')| replace('Sat', 'ÎŖÎŦÎ˛Î˛ÎąĪ„Îŋ,')| replace('Sun', 'ÎšĪ…ĪÎšÎąÎēÎŽ,') }} + {%- elif language == "IDN" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Senin,')| replace('Tue', 'Selasa,')| replace('Wed', 'Rabu,')| replace('Thu', 'Kamis,')| replace('Fri', 'Jumat,')| replace('Sat', 'Sabtu,')| replace('Sun', 'Minggu,') }} + {%- elif language == "ITA" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'LunedÃŦ,')| replace('Tue', 'MartedÃŦ,')| replace('Wed', 'MercoledÃŦ,')| replace('Thu', 'GiovedÃŦ,')| replace('Fri', 'VenerdÃŦ,')| replace('Sat', 'Sabato,')| replace('Sun', 'Domenica,') }} + {%- elif language == "LVA" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmdiena,')| replace('Tue', 'Otrdiena,')| replace('Wed', 'TreÅĄdiena,')| replace('Thu', 'Ceturtdiena,')| replace('Fri', 'Piektdiena,')| replace('Sat', 'Sestdiena,')| replace('Sun', 'Svētdiena,') }} + {%- elif language == "LTU" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmadienis,')| replace('Tue', 'Antradienis,')| replace('Wed', 'Trečiadienis,')| replace('Thu', 'Ketvirtadienis,')| replace('Fri', 'Penktadienis,')| replace('Sat', 'Å eÅĄtadienis,')| replace('Sun', 'Sekmadienis,') }} + {%- elif language == "NLD" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maandag,')| replace('Tue', 'Dinsdag,')| replace('Wed', 'Woensdag,')| replace('Thu', 'Donderdag,')| replace('Fri', 'Vrijdag,')| replace('Sat', 'Zaterdag,')| replace('Sun', 'Zondag,') }} + {%- elif language == "POL" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Poniedziałek,')| replace('Tue', 'Wtorek,')| replace('Wed', 'Środa,')| replace('Thu', 'Czwartek,')| replace('Fri', 'Piątek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Niedziela,') }} + {%- elif language == "PRT" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Segunda-feira,')| replace('Tue', 'Terça-feira,')| replace('Wed', 'Quarta-feira,')| replace('Thu', 'Quinta-feira,')| replace('Fri', 'Sexta-feira,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} + {%- elif language == "ROU" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Luni,')| replace('Tue', 'Marți,')| replace('Wed', 'Miercuri,')| replace('Thu', 'Joi,')| replace('Fri', 'Vineri,')| replace('Sat', 'SÃĸmbătă,')| replace('Sun', 'Duminică,') }} + {%- elif language == "SWE" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'MÃĨndag,')| replace('Tue', 'Tisdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'LÃļrdag,')| replace('Sun', 'SÃļndag,') }} + {%- elif language == "SVK" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondelok,')| replace('Tue', 'Utorok,')| replace('Wed', 'Streda,')| replace('Thu', 'Å tvrtok,')| replace('Fri', 'Piatok,')| replace('Sat', 'Sobota,')| replace('Sun', 'NedeÄža,') }} + {%- elif language == "SVN" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Ponedeljek,')| replace('Tue', 'Torek,')| replace('Wed', 'Sreda,')| replace('Thu', 'Četrtek,')| replace('Fri', 'Petek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Nedelja,') }} + {%- elif language == "ESP" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lunes,')| replace('Tue', 'Martes,')| replace('Wed', 'MiÊrcoles,')| replace('Thu', 'Jueves,')| replace('Fri', 'Viernes,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} + {%- elif language == "CZE" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondělí,')| replace('Tue', 'ÚterÃŊ,')| replace('Wed', 'Středa,')| replace('Thu', 'Čtvrtek,')| replace('Fri', 'PÃĄtek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Neděle,') }} + {%- elif language == "TUR" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pazartesi,')| replace('Tue', 'SalÄą,')| replace('Wed', 'Çarşamba,')| replace('Thu', 'Perşembe,')| replace('Fri', 'Cuma,')| replace('Sat', 'Cumartesi,')| replace('Sun', 'Pazar,') }} + {%- elif language == "UKR" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´Ņ–ĐģĐžĐē,')| replace('Tue', 'Đ’Ņ–Đ˛Ņ‚ĐžŅ€ĐžĐē,')| replace('Wed', 'ҁĐĩŅ€Đĩда,')| replace('Thu', '҇ĐĩŅ‚Đ˛ĐĩŅ€,')| replace('Fri', 'Đŋ ŅŅ‚ĐŊĐ¸Ņ†Ņ,')| replace('Sat', 'ĐĄŅƒĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´Ņ–ĐģŅ,') }} + {%- elif language == "HUN" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'HÊtfő,')| replace('Tue', 'Kedd,')| replace('Wed', 'Szerda,')| replace('Thu', 'CsÃŧtÃļrtÃļk,')| replace('Fri', 'PÊntek,')| replace('Sat', 'Szombat,')| replace('Sun', 'VasÃĄrnap,') }} + {%- elif language == "HEB" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ינש,')| replace('Tue', 'ישילש,')| replace('Wed', 'י×ĸיבר,')| replace('Thu', 'ישימח,')| replace('Fri', 'ישיש,')| replace('Sat', '×Ēבש,')| replace('Sun', 'ןושאר,') }} + {%- elif language == "NOR" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} + {%- elif language == "RUS" -%} {{ ((as_timestamp(now()) + 172800) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģҌĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€Đĩда,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ĐĩŅ€Đŗ,')| replace('Fri', 'ĐŸŅŅ‚ĐŊĐ¸Ņ†Đ°,')| replace('Sat', 'ĐĄŅƒĐąĐąĐžŅ‚Đ°,')| replace('Sun', 'Đ’ĐžŅĐēŅ€ĐĩҁĐĩĐŊиĐĩ,') }} + {%- endif -%} + date04_mui: >- + {%- if language == "DEU" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Montag,')| replace('Tue', 'Dienstag,')| replace('Wed', 'Mittwoch,')| replace('Thu', 'Donnerstag,')| replace('Fri', 'Freitag,')| replace('Sat', 'Samstag,')| replace('Sun', 'Sonntag,') }} + {%- elif language == "ENG" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Monday,')| replace('Tue', 'Tuesday,')| replace('Wed', 'Wednesday,')| replace('Thu', 'Thursday,')| replace('Fri', 'Friday,')| replace('Sat', 'Saturday,')| replace('Sun', 'Sunday,') }} + {%- elif language == "BGR" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€ŅĐ´Đ°,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ŅŠŅ€Ņ‚ŅŠĐē,')| replace('Fri', 'ПĐĩŅ‚ŅŠĐē,')| replace('Sat', 'ĐĄŅŠĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´ĐĩĐģŅ,') }} + {%- elif language == "DNK" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} + {%- elif language == "EST" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Esmaspäev,')| replace('Tue', 'Teisipäev,')| replace('Wed', 'Kolmapäev,')| replace('Thu', 'Neljapäev,')| replace('Fri', 'Reede,')| replace('Sat', 'Laupäev,')| replace('Sun', 'PÃŧhapäev,') }} + {%- elif language == "FIN" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maanantai,')| replace('Tue', 'Tiistai,')| replace('Wed', 'Keskiviikko,')| replace('Thu', 'Torstai,')| replace('Fri', 'Perjantai,')| replace('Sat', 'Lauantai,')| replace('Sun', 'Sunnuntai,') }} + {%- elif language == "FRA" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lundi,')| replace('Tue', 'Mardi,')| replace('Wed', 'Mercredi,')| replace('Thu', 'Jeudi,')| replace('Fri', 'Vendredi,')| replace('Sat', 'Samedi,')| replace('Sun', 'Dimanche,') }} + {%- elif language == "GRC" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ΔÎĩĪ…Ī„Î­ĪÎą,')| replace('Tue', 'Î¤ĪÎ¯Ī„Îˇ,')| replace('Wed', 'ΤÎĩĪ„ÎŦĪĪ„Îˇ,')| replace('Thu', 'ΠέÎŧĪ€Ī„Îˇ,')| replace('Fri', 'Î ÎąĪÎąĪƒÎēÎĩĪ…ÎŽ,')| replace('Sat', 'ÎŖÎŦÎ˛Î˛ÎąĪ„Îŋ,')| replace('Sun', 'ÎšĪ…ĪÎšÎąÎēÎŽ,') }} + {%- elif language == "IDN" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Senin,')| replace('Tue', 'Selasa,')| replace('Wed', 'Rabu,')| replace('Thu', 'Kamis,')| replace('Fri', 'Jumat,')| replace('Sat', 'Sabtu,')| replace('Sun', 'Minggu,') }} + {%- elif language == "ITA" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'LunedÃŦ,')| replace('Tue', 'MartedÃŦ,')| replace('Wed', 'MercoledÃŦ,')| replace('Thu', 'GiovedÃŦ,')| replace('Fri', 'VenerdÃŦ,')| replace('Sat', 'Sabato,')| replace('Sun', 'Domenica,') }} + {%- elif language == "LVA" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmdiena,')| replace('Tue', 'Otrdiena,')| replace('Wed', 'TreÅĄdiena,')| replace('Thu', 'Ceturtdiena,')| replace('Fri', 'Piektdiena,')| replace('Sat', 'Sestdiena,')| replace('Sun', 'Svētdiena,') }} + {%- elif language == "LTU" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmadienis,')| replace('Tue', 'Antradienis,')| replace('Wed', 'Trečiadienis,')| replace('Thu', 'Ketvirtadienis,')| replace('Fri', 'Penktadienis,')| replace('Sat', 'Å eÅĄtadienis,')| replace('Sun', 'Sekmadienis,') }} + {%- elif language == "NLD" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maandag,')| replace('Tue', 'Dinsdag,')| replace('Wed', 'Woensdag,')| replace('Thu', 'Donderdag,')| replace('Fri', 'Vrijdag,')| replace('Sat', 'Zaterdag,')| replace('Sun', 'Zondag,') }} + {%- elif language == "POL" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Poniedziałek,')| replace('Tue', 'Wtorek,')| replace('Wed', 'Środa,')| replace('Thu', 'Czwartek,')| replace('Fri', 'Piątek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Niedziela,') }} + {%- elif language == "PRT" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Segunda-feira,')| replace('Tue', 'Terça-feira,')| replace('Wed', 'Quarta-feira,')| replace('Thu', 'Quinta-feira,')| replace('Fri', 'Sexta-feira,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} + {%- elif language == "ROU" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Luni,')| replace('Tue', 'Marți,')| replace('Wed', 'Miercuri,')| replace('Thu', 'Joi,')| replace('Fri', 'Vineri,')| replace('Sat', 'SÃĸmbătă,')| replace('Sun', 'Duminică,') }} + {%- elif language == "SWE" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'MÃĨndag,')| replace('Tue', 'Tisdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'LÃļrdag,')| replace('Sun', 'SÃļndag,') }} + {%- elif language == "SVK" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondelok,')| replace('Tue', 'Utorok,')| replace('Wed', 'Streda,')| replace('Thu', 'Å tvrtok,')| replace('Fri', 'Piatok,')| replace('Sat', 'Sobota,')| replace('Sun', 'NedeÄža,') }} + {%- elif language == "SVN" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Ponedeljek,')| replace('Tue', 'Torek,')| replace('Wed', 'Sreda,')| replace('Thu', 'Četrtek,')| replace('Fri', 'Petek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Nedelja,') }} + {%- elif language == "ESP" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lunes,')| replace('Tue', 'Martes,')| replace('Wed', 'MiÊrcoles,')| replace('Thu', 'Jueves,')| replace('Fri', 'Viernes,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} + {%- elif language == "CZE" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondělí,')| replace('Tue', 'ÚterÃŊ,')| replace('Wed', 'Středa,')| replace('Thu', 'Čtvrtek,')| replace('Fri', 'PÃĄtek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Neděle,') }} + {%- elif language == "TUR" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pazartesi,')| replace('Tue', 'SalÄą,')| replace('Wed', 'Çarşamba,')| replace('Thu', 'Perşembe,')| replace('Fri', 'Cuma,')| replace('Sat', 'Cumartesi,')| replace('Sun', 'Pazar,') }} + {%- elif language == "UKR" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´Ņ–ĐģĐžĐē,')| replace('Tue', 'Đ’Ņ–Đ˛Ņ‚ĐžŅ€ĐžĐē,')| replace('Wed', 'ҁĐĩŅ€Đĩда,')| replace('Thu', '҇ĐĩŅ‚Đ˛ĐĩŅ€,')| replace('Fri', 'Đŋ ŅŅ‚ĐŊĐ¸Ņ†Ņ,')| replace('Sat', 'ĐĄŅƒĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´Ņ–ĐģŅ,') }} + {%- elif language == "HUN" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'HÊtfő,')| replace('Tue', 'Kedd,')| replace('Wed', 'Szerda,')| replace('Thu', 'CsÃŧtÃļrtÃļk,')| replace('Fri', 'PÊntek,')| replace('Sat', 'Szombat,')| replace('Sun', 'VasÃĄrnap,') }} + {%- elif language == "HEB" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ינש,')| replace('Tue', 'ישילש,')| replace('Wed', 'י×ĸיבר,')| replace('Thu', 'ישימח,')| replace('Fri', 'ישיש,')| replace('Sat', '×Ēבש,')| replace('Sun', 'ןושאר,') }} + {%- elif language == "NOR" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} + {%- elif language == "RUS" -%} {{ ((as_timestamp(now()) + 259200) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģҌĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€Đĩда,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ĐĩŅ€Đŗ,')| replace('Fri', 'ĐŸŅŅ‚ĐŊĐ¸Ņ†Đ°,')| replace('Sat', 'ĐĄŅƒĐąĐąĐžŅ‚Đ°,')| replace('Sun', 'Đ’ĐžŅĐēŅ€ĐĩҁĐĩĐŊиĐĩ,') }} + {%- endif -%} + date05_mui: >- + {%- if language == "DEU" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Montag,')| replace('Tue', 'Dienstag,')| replace('Wed', 'Mittwoch,')| replace('Thu', 'Donnerstag,')| replace('Fri', 'Freitag,')| replace('Sat', 'Samstag,')| replace('Sun', 'Sonntag,') }} + {%- elif language == "ENG" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Monday,')| replace('Tue', 'Tuesday,')| replace('Wed', 'Wednesday,')| replace('Thu', 'Thursday,')| replace('Fri', 'Friday,')| replace('Sat', 'Saturday,')| replace('Sun', 'Sunday,') }} + {%- elif language == "BGR" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€ŅĐ´Đ°,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ŅŠŅ€Ņ‚ŅŠĐē,')| replace('Fri', 'ПĐĩŅ‚ŅŠĐē,')| replace('Sat', 'ĐĄŅŠĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´ĐĩĐģŅ,') }} + {%- elif language == "DNK" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} + {%- elif language == "EST" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Esmaspäev,')| replace('Tue', 'Teisipäev,')| replace('Wed', 'Kolmapäev,')| replace('Thu', 'Neljapäev,')| replace('Fri', 'Reede,')| replace('Sat', 'Laupäev,')| replace('Sun', 'PÃŧhapäev,') }} + {%- elif language == "FIN" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maanantai,')| replace('Tue', 'Tiistai,')| replace('Wed', 'Keskiviikko,')| replace('Thu', 'Torstai,')| replace('Fri', 'Perjantai,')| replace('Sat', 'Lauantai,')| replace('Sun', 'Sunnuntai,') }} + {%- elif language == "FRA" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lundi,')| replace('Tue', 'Mardi,')| replace('Wed', 'Mercredi,')| replace('Thu', 'Jeudi,')| replace('Fri', 'Vendredi,')| replace('Sat', 'Samedi,')| replace('Sun', 'Dimanche,') }} + {%- elif language == "GRC" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ΔÎĩĪ…Ī„Î­ĪÎą,')| replace('Tue', 'Î¤ĪÎ¯Ī„Îˇ,')| replace('Wed', 'ΤÎĩĪ„ÎŦĪĪ„Îˇ,')| replace('Thu', 'ΠέÎŧĪ€Ī„Îˇ,')| replace('Fri', 'Î ÎąĪÎąĪƒÎēÎĩĪ…ÎŽ,')| replace('Sat', 'ÎŖÎŦÎ˛Î˛ÎąĪ„Îŋ,')| replace('Sun', 'ÎšĪ…ĪÎšÎąÎēÎŽ,') }} + {%- elif language == "IDN" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Senin,')| replace('Tue', 'Selasa,')| replace('Wed', 'Rabu,')| replace('Thu', 'Kamis,')| replace('Fri', 'Jumat,')| replace('Sat', 'Sabtu,')| replace('Sun', 'Minggu,') }} + {%- elif language == "ITA" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'LunedÃŦ,')| replace('Tue', 'MartedÃŦ,')| replace('Wed', 'MercoledÃŦ,')| replace('Thu', 'GiovedÃŦ,')| replace('Fri', 'VenerdÃŦ,')| replace('Sat', 'Sabato,')| replace('Sun', 'Domenica,') }} + {%- elif language == "LVA" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmdiena,')| replace('Tue', 'Otrdiena,')| replace('Wed', 'TreÅĄdiena,')| replace('Thu', 'Ceturtdiena,')| replace('Fri', 'Piektdiena,')| replace('Sat', 'Sestdiena,')| replace('Sun', 'Svētdiena,') }} + {%- elif language == "LTU" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pirmadienis,')| replace('Tue', 'Antradienis,')| replace('Wed', 'Trečiadienis,')| replace('Thu', 'Ketvirtadienis,')| replace('Fri', 'Penktadienis,')| replace('Sat', 'Å eÅĄtadienis,')| replace('Sun', 'Sekmadienis,') }} + {%- elif language == "NLD" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Maandag,')| replace('Tue', 'Dinsdag,')| replace('Wed', 'Woensdag,')| replace('Thu', 'Donderdag,')| replace('Fri', 'Vrijdag,')| replace('Sat', 'Zaterdag,')| replace('Sun', 'Zondag,') }} + {%- elif language == "POL" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Poniedziałek,')| replace('Tue', 'Wtorek,')| replace('Wed', 'Środa,')| replace('Thu', 'Czwartek,')| replace('Fri', 'Piątek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Niedziela,') }} + {%- elif language == "PRT" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Segunda-feira,')| replace('Tue', 'Terça-feira,')| replace('Wed', 'Quarta-feira,')| replace('Thu', 'Quinta-feira,')| replace('Fri', 'Sexta-feira,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} + {%- elif language == "ROU" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Luni,')| replace('Tue', 'Marți,')| replace('Wed', 'Miercuri,')| replace('Thu', 'Joi,')| replace('Fri', 'Vineri,')| replace('Sat', 'SÃĸmbătă,')| replace('Sun', 'Duminică,') }} + {%- elif language == "SWE" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'MÃĨndag,')| replace('Tue', 'Tisdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'LÃļrdag,')| replace('Sun', 'SÃļndag,') }} + {%- elif language == "SVK" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondelok,')| replace('Tue', 'Utorok,')| replace('Wed', 'Streda,')| replace('Thu', 'Å tvrtok,')| replace('Fri', 'Piatok,')| replace('Sat', 'Sobota,')| replace('Sun', 'NedeÄža,') }} + {%- elif language == "SVN" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Ponedeljek,')| replace('Tue', 'Torek,')| replace('Wed', 'Sreda,')| replace('Thu', 'Četrtek,')| replace('Fri', 'Petek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Nedelja,') }} + {%- elif language == "ESP" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Lunes,')| replace('Tue', 'Martes,')| replace('Wed', 'MiÊrcoles,')| replace('Thu', 'Jueves,')| replace('Fri', 'Viernes,')| replace('Sat', 'SÃĄbado,')| replace('Sun', 'Domingo,') }} + {%- elif language == "CZE" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pondělí,')| replace('Tue', 'ÚterÃŊ,')| replace('Wed', 'Středa,')| replace('Thu', 'Čtvrtek,')| replace('Fri', 'PÃĄtek,')| replace('Sat', 'Sobota,')| replace('Sun', 'Neděle,') }} + {%- elif language == "TUR" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Pazartesi,')| replace('Tue', 'SalÄą,')| replace('Wed', 'Çarşamba,')| replace('Thu', 'Perşembe,')| replace('Fri', 'Cuma,')| replace('Sat', 'Cumartesi,')| replace('Sun', 'Pazar,') }} + {%- elif language == "UKR" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´Ņ–ĐģĐžĐē,')| replace('Tue', 'Đ’Ņ–Đ˛Ņ‚ĐžŅ€ĐžĐē,')| replace('Wed', 'ҁĐĩŅ€Đĩда,')| replace('Thu', '҇ĐĩŅ‚Đ˛ĐĩŅ€,')| replace('Fri', 'Đŋ ŅŅ‚ĐŊĐ¸Ņ†Ņ,')| replace('Sat', 'ĐĄŅƒĐąĐžŅ‚Đ°,')| replace('Sun', 'НĐĩĐ´Ņ–ĐģŅ,') }} + {%- elif language == "HUN" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'HÊtfő,')| replace('Tue', 'Kedd,')| replace('Wed', 'Szerda,')| replace('Thu', 'CsÃŧtÃļrtÃļk,')| replace('Fri', 'PÊntek,')| replace('Sat', 'Szombat,')| replace('Sun', 'VasÃĄrnap,') }} + {%- elif language == "HEB" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ינש,')| replace('Tue', 'ישילש,')| replace('Wed', 'י×ĸיבר,')| replace('Thu', 'ישימח,')| replace('Fri', 'ישיש,')| replace('Sat', '×Ēבש,')| replace('Sun', 'ןושאר,') }} + {%- elif language == "NOR" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'Mandag,')| replace('Tue', 'Tirsdag,')| replace('Wed', 'Onsdag,')| replace('Thu', 'Torsdag,')| replace('Fri', 'Fredag,')| replace('Sat', 'Lørdag,')| replace('Sun', 'Søndag,') }} + {%- elif language == "RUS" -%} {{ ((as_timestamp(now()) + 345600) | timestamp_custom('%a %d.%m' )) | replace('Mon', 'ПоĐŊĐĩĐ´ĐĩĐģҌĐŊиĐē,')| replace('Tue', 'Đ’Ņ‚ĐžŅ€ĐŊиĐē,')| replace('Wed', 'ĐĄŅ€Đĩда,')| replace('Thu', 'ЧĐĩŅ‚Đ˛ĐĩŅ€Đŗ,')| replace('Fri', 'ĐŸŅŅ‚ĐŊĐ¸Ņ†Đ°,')| replace('Sat', 'ĐĄŅƒĐąĐąĐžŅ‚Đ°,')| replace('Sun', 'Đ’ĐžŅĐēŅ€ĐĩҁĐĩĐŊиĐĩ,') }} + {%- endif -%} + day01_mui: >- + {%- if language == "DEU" -%} Heute + {%- elif language == "ENG" -%} Today + {%- elif language == "BGR" -%} ДĐŊĐĩҁ + {%- elif language == "DNK" -%} I dag + {%- elif language == "EST" -%} Täna + {%- elif language == "FIN" -%} Tänään + {%- elif language == "FRA" -%} Aujourd hui + {%- elif language == "GRC" -%} ÎŖÎŽÎŧÎĩĪÎą + {%- elif language == "IDN" -%} Hari ini + {%- elif language == "ITA" -%} Oggi + {%- elif language == "LVA" -%} Å odien + {%- elif language == "LTU" -%} Å iandien + {%- elif language == "NLD" -%} Vandaag + {%- elif language == "POL" -%} Dzisiaj + {%- elif language == "PRT" -%} Hoje + {%- elif language == "ROU" -%} Astăzi + {%- elif language == "SWE" -%} Idag + {%- elif language == "SVK" -%} Dnes + {%- elif language == "SVN" -%} Danes + {%- elif language == "ESP" -%} Hoy + {%- elif language == "CZE" -%} Dnes + {%- elif language == "TUR" -%} BugÃŧn + {%- elif language == "UKR" -%} ĐĄŅŒĐžĐŗĐžĐ´ĐŊŅ– + {%- elif language == "HUN" -%} Ma + {%- elif language == "HEB" -%} םויה + {%- elif language == "NOR" -%} I dag + {%- elif language == "RUS" -%} ĐĄĐĩĐŗĐžĐ´ĐŊŅ + {%- endif -%} + day02_mui: >- + {%- if language == "DEU" -%} Morgen + {%- elif language == "ENG" -%} Tomorrow + {%- elif language == "BGR" -%} ĐŖŅ‚Ņ€Đĩ + {%- elif language == "DNK" -%} I morgen + {%- elif language == "EST" -%} Homme + {%- elif language == "FIN" -%} Huomenna + {%- elif language == "FRA" -%} Demain + {%- elif language == "GRC" -%} Î‘ĪĪÎšÎŋ + {%- elif language == "IDN" -%} Besok + {%- elif language == "ITA" -%} Domani + {%- elif language == "LVA" -%} RÄĢt + {%- elif language == "LTU" -%} Rytoj + {%- elif language == "NLD" -%} Morgen + {%- elif language == "POL" -%} Jutro + {%- elif language == "PRT" -%} AmanhÃŖ + {%- elif language == "ROU" -%} MÃĸine + {%- elif language == "SWE" -%} Imorgon + {%- elif language == "SVK" -%} Zajtra + {%- elif language == "SVN" -%} Jutri + {%- elif language == "ESP" -%} MaÃąana + {%- elif language == "CZE" -%} Zítra + {%- elif language == "TUR" -%} YarÄąn + {%- elif language == "UKR" -%} Đ—Đ°Đ˛Ņ‚Ņ€Đ° + {%- elif language == "HUN" -%} Holnap + {%- elif language == "HEB" -%} רחמ + {%- elif language == "NOR" -%} I morgen + {%- elif language == "RUS" -%} Đ—Đ°Đ˛Ņ‚Ņ€Đ° + {%- endif -%} + day03_mui: >- + {%- if language == "DEU" -%} in 2 Tagen + {%- elif language == "ENG" -%} in 2 Days + {%- elif language == "BGR" -%} Са 2 Đ´ĐŊи + {%- elif language == "DNK" -%} om 2 dage + {%- elif language == "EST" -%} 2 päeva pärast + {%- elif language == "FIN" -%} 2 päivän päästä + {%- elif language == "FRA" -%} Dans 2 jours + {%- elif language == "GRC" -%} ΃Îĩ 2 ΡÎŧÎ­ĪÎĩĪ‚ + {%- elif language == "IDN" -%} dalam 2 Hari + {%- elif language == "ITA" -%} in 2 giorni + {%- elif language == "LVA" -%} pēc 2 dienām + {%- elif language == "LTU" -%} per 2 dienas + {%- elif language == "NLD" -%} in 2 dagen + {%- elif language == "POL" -%} za 2 dni + {%- elif language == "PRT" -%} em 2 Dias + {%- elif language == "ROU" -%} ÃŽn 2 zile + {%- elif language == "SWE" -%} om 2 dagar + {%- elif language == "SVK" -%} o 2 dni + {%- elif language == "SVN" -%} v 2 dneh + {%- elif language == "ESP" -%} en 2 días + {%- elif language == "CZE" -%} za 2 dny + {%- elif language == "TUR" -%} 2 GÃŧn İçinde + {%- elif language == "UKR" -%} ҇ĐĩŅ€ĐĩС 2 Đ´ĐŊŅ– + {%- elif language == "HUN" -%} 2 nap mÃēlva + {%- elif language == "HEB" -%} םיימוי דו×ĸ + {%- elif language == "NOR" -%} om 2 dager + {%- elif language == "RUS" -%} ĐŊа 2 Đ´ĐŊŅ + {%- endif -%} + day04_mui: >- + {%- if language == "DEU" -%} in 3 Tagen + {%- elif language == "ENG" -%} in 3 Days + {%- elif language == "BGR" -%} Са 3 Đ´ĐŊи + {%- elif language == "DNK" -%} om 3 dage + {%- elif language == "EST" -%} 3 päeva pärast + {%- elif language == "FIN" -%} 3 päivän päästä + {%- elif language == "FRA" -%} Dans 3 jours + {%- elif language == "GRC" -%} ΃Îĩ 3 ΡÎŧÎ­ĪÎĩĪ‚ + {%- elif language == "IDN" -%} dalam 3 Hari + {%- elif language == "ITA" -%} in 3 giorni + {%- elif language == "LVA" -%} pēc 3 dienām + {%- elif language == "LTU" -%} per 3 dienas + {%- elif language == "NLD" -%} in 3 dagen + {%- elif language == "POL" -%} za 3 dni + {%- elif language == "PRT" -%} em 3 dias + {%- elif language == "ROU" -%} ÃŽn 3 zile + {%- elif language == "SWE" -%} om 3 dagar + {%- elif language == "SVK" -%} o 3 dni + {%- elif language == "SVN" -%} v 3 dneh + {%- elif language == "ESP" -%} en 3 Días + {%- elif language == "CZE" -%} za 3 dny + {%- elif language == "TUR" -%} 3 GÃŧn İçinde + {%- elif language == "UKR" -%} ҇ĐĩŅ€ĐĩС 3 Đ´ĐŊŅ– + {%- elif language == "HUN" -%} 3 nap mÃēlva + {%- elif language == "HEB" -%} םימי 3 דו×ĸ + {%- elif language == "NOR" -%} om 3 dager + {%- elif language == "RUS" -%} ĐŊа 3 Đ´ĐŊŅ + {%- endif -%} + day05_mui: >- + {%- if language == "DEU" -%} in 4 Tagen + {%- elif language == "ENG" -%} in 4 Days + {%- elif language == "BGR" -%} Са 4 Đ´ĐŊи + {%- elif language == "DNK" -%} om 4 dage + {%- elif language == "EST" -%} 4 päeva pärast + {%- elif language == "FIN" -%} 4 päivän päästä + {%- elif language == "FRA" -%} Dans 4 jours + {%- elif language == "GRC" -%} ΃Îĩ 4 ΡÎŧÎ­ĪÎĩĪ‚ + {%- elif language == "IDN" -%} dalam 4 Hari + {%- elif language == "ITA" -%} in 4 giorni + {%- elif language == "LVA" -%} pēc 4 dienām + {%- elif language == "LTU" -%} per 4 dienas + {%- elif language == "NLD" -%} in 4 dagen + {%- elif language == "POL" -%} za 4 dni + {%- elif language == "PRT" -%} em 4 dias + {%- elif language == "ROU" -%} ÃŽn 4 zile + {%- elif language == "SWE" -%} om 4 dagar + {%- elif language == "SVK" -%} o 4 dni + {%- elif language == "SVN" -%} v 4 dneh + {%- elif language == "ESP" -%} en 4 Días + {%- elif language == "CZE" -%} za 4 dny + {%- elif language == "TUR" -%} 4 GÃŧn İçinde + {%- elif language == "UKR" -%} ҇ĐĩŅ€ĐĩС 2 Đ´ĐŊŅ– + {%- elif language == "HUN" -%} 4 nap mÃēlva + {%- elif language == "HEB" -%} םימי 4 דו×ĸ + {%- elif language == "NOR" -%} om 4 dager + {%- elif language == "RUS" -%} ĐŊа 4 Đ´ĐŊŅ + {%- endif -%} + on_mui: >- + {%- if language == "DEU" -%} ein + {%- elif language == "ENG" -%} on + {%- elif language == "BGR" -%} ĐŊа + {%- elif language == "DNK" -%} pÃĨ + {%- elif language == "EST" -%} aadressil + {%- elif language == "FIN" -%} osoitteessa + {%- elif language == "FRA" -%} on + {%- elif language == "GRC" -%} ΕÎŊÎĩĪÎŗĪŒ + {%- elif language == "IDN" -%} on + {%- elif language == "ITA" -%} on + {%- elif language == "LVA" -%} vietnē + {%- elif language == "LTU" -%} svetainėje + {%- elif language == "NLD" -%} aan + {%- elif language == "POL" -%} na + {%- elif language == "PRT" -%} em + {%- elif language == "ROU" -%} pe + {%- elif language == "SWE" -%} pÃĨ + {%- elif language == "SVK" -%} zapnutÊ + {%- elif language == "SVN" -%} na + {%- elif language == "ESP" -%} on + {%- elif language == "CZE" -%} zapnuto + {%- elif language == "TUR" -%} Ãŧzerinde + {%- elif language == "UKR" -%} ŅƒĐ˛Ņ–ĐŧĐē + {%- elif language == "HUN" -%} a oldalon + {%- elif language == "HEB" -%} קולד + {%- elif language == "NOR" -%} pÃĨ + {%- elif language == "RUS" -%} вĐēĐģŅŽŅ‡ĐĩĐŊĐž + {%- endif -%} + off_mui: >- + {%- if language == "DEU" -%} aus + {%- elif language == "ENG" -%} off + {%- elif language == "BGR" -%} иСĐēĐģŅŽŅ‡Đ˛Đ°ĐŊĐĩ + {%- elif language == "DNK" -%} off + {%- elif language == "EST" -%} välja + {%- elif language == "FIN" -%} off + {%- elif language == "FRA" -%} off + {%- elif language == "GRC" -%} ΑÎŊÎĩÎŊÎĩĪÎŗĪŒ + {%- elif language == "IDN" -%} off + {%- elif language == "ITA" -%} off + {%- elif language == "LVA" -%} izslēgts + {%- elif language == "LTU" -%} iÅĄjungta + {%- elif language == "NLD" -%} uit + {%- elif language == "POL" -%} off + {%- elif language == "PRT" -%} off + {%- elif language == "ROU" -%} off + {%- elif language == "SWE" -%} av + {%- elif language == "SVK" -%} vypnutÊ + {%- elif language == "SVN" -%} izklop + {%- elif language == "ESP" -%} off + {%- elif language == "CZE" -%} vypnuto + {%- elif language == "TUR" -%} kapalÄą + {%- elif language == "UKR" -%} виĐŧĐē + {%- elif language == "HUN" -%} off + {%- elif language == "HEB" -%} יובכ + {%- elif language == "NOR" -%} av + {%- elif language == "RUS" -%} Đ˛Ņ‹ĐēĐģŅŽŅ‡ĐĩĐŊĐž + {%- endif -%} + heat_mui: >- + {%- if language == "DEU" -%} heizen + {%- elif language == "ENG" -%} heat + {%- elif language == "BGR" -%} Ņ‚ĐžĐŋĐģиĐŊа + {%- elif language == "DNK" -%} varme + {%- elif language == "EST" -%} soojus + {%- elif language == "FIN" -%} lämpÃļ + {%- elif language == "FRA" -%} Chaleur + {%- elif language == "GRC" -%} Î˜Î­ĪÎŧÎąÎŊĪƒÎˇ + {%- elif language == "IDN" -%} panas + {%- elif language == "ITA" -%} caldo + {%- elif language == "LVA" -%} siltums + {%- elif language == "LTU" -%} ÅĄiluma + {%- elif language == "NLD" -%} verwarm + {%- elif language == "POL" -%} ciepło + {%- elif language == "PRT" -%} calor + {%- elif language == "ROU" -%} căldură + {%- elif language == "SWE" -%} värme + {%- elif language == "SVK" -%} kÃērenie + {%- elif language == "SVN" -%} toplota + {%- elif language == "ESP" -%} calor + {%- elif language == "CZE" -%} topení + {%- elif language == "TUR" -%} ÄąsÄą + {%- elif language == "UKR" -%} ĐŊĐ°ĐŗŅ€Ņ–Đ˛ + {%- elif language == "HUN" -%} hő + {%- elif language == "HEB" -%} םוח + {%- elif language == "NOR" -%} varme + {%- elif language == "RUS" -%} ĐŊĐ°ĐŗŅ€Đĩв + {%- endif -%} + please_confirm_mui: >- + {%- if language == "DEU" -%} Bitte bestätigen + {%- elif language == "ENG" -%} Please confirm + {%- elif language == "BGR" -%} МоĐģŅ, ĐŋĐžŅ‚Đ˛ŅŠŅ€Đ´ĐĩŅ‚Đĩ + {%- elif language == "DNK" -%} BekrÃĻft venligst + {%- elif language == "EST" -%} Palun kinnitage + {%- elif language == "FIN" -%} Vahvistakaa + {%- elif language == "FRA" -%} Veuillez confirmer + {%- elif language == "GRC" -%} Î ÎąĪÎąÎēÎąÎģĪŽ ÎĩĪ€ÎšÎ˛ÎĩÎ˛ÎąÎšĪŽĪƒĪ„Îĩ + {%- elif language == "IDN" -%} Mohon konfirmasi + {%- elif language == "ITA" -%} Confermare + {%- elif language == "LVA" -%} LÅĢdzu, apstipriniet + {%- elif language == "LTU" -%} PraÅĄome patvirtinti + {%- elif language == "NLD" -%} Bevestig alstublieft + {%- elif language == "POL" -%} Proszę o potwierdzenie + {%- elif language == "PRT" -%} Favor confirmar + {%- elif language == "ROU" -%} Vă rugăm să confirmați + {%- elif language == "SWE" -%} Vänligen bekräfta + {%- elif language == "SVK" -%} Potvrďte, prosím + {%- elif language == "SVN" -%} Prosimo, potrdite + {%- elif language == "ESP" -%} Por favor, confirme + {%- elif language == "CZE" -%} Potvrďte prosím + {%- elif language == "TUR" -%} LÃŧtfen onaylayÄąn + {%- elif language == "UKR" -%} Đ‘ŅƒĐ´ŅŒ ĐģĐ°ŅĐēа, ĐŋŅ–Đ´Ņ‚Đ˛ĐĩŅ€Đ´Ņ–Ņ‚ŅŒ + {%- elif language == "HUN" -%} KÊrjÃŧk, erősítse meg + {%- elif language == "HEB" -%} ר׊א השקבב + {%- elif language == "NOR" -%} Vennligst bekreft + {%- elif language == "RUS" -%} ПоĐļаĐģŅƒĐšŅŅ‚Đ°, ĐŋĐžĐ´Ņ‚Đ˛ĐĩŅ€Đ´Đ¸Ņ‚Đĩ + {%- endif -%} + + + ##### FORCAST ACCUWEATHER - DAY 0 ##### + accuweather_realfeel_temperature_min_0d: "sensor.{{ accuweather_name }}_realfeel_temperature_min_0d" + accuweather_realfeel_temperature_max_0d: "sensor.{{ accuweather_name }}_realfeel_temperature_max_0d" + accuweather_hours_of_sun_0d: "sensor.{{ accuweather_name }}_hours_of_sun_0d" + accuweather_uv_index_0d: "sensor.{{ accuweather_name }}_uv_index_0d" + accuweather_thunderstorm_probability_day_0d: "sensor.{{ accuweather_name }}_thunderstorm_probability_day_0d" + accuweather_thunderstorm_probability_night_0d: "sensor.{{ accuweather_name }}_thunderstorm_probability_night_0d" + accuweather_wind_day_0d: "sensor.{{ accuweather_name }}_wind_day_0d" + accuweather_wind_night_0d: "sensor.{{ accuweather_name }}_wind_night_0d" + ##### FORCAST ACCUWEATHER - DAY 1 ##### + accuweather_realfeel_temperature_min_1d: "sensor.{{ accuweather_name }}_realfeel_temperature_min_1d" + accuweather_realfeel_temperature_max_1d: "sensor.{{ accuweather_name }}_realfeel_temperature_max_1d" + accuweather_hours_of_sun_1d: "sensor.{{ accuweather_name }}_hours_of_sun_1d" + accuweather_uv_index_1d: "sensor.{{ accuweather_name }}_uv_index_1d" + accuweather_thunderstorm_probability_day_1d: "sensor.{{ accuweather_name }}_thunderstorm_probability_day_1d" + accuweather_thunderstorm_probability_night_1d: "sensor.{{ accuweather_name }}_thunderstorm_probability_night_1d" + accuweather_wind_day_1d: "sensor.{{ accuweather_name }}_wind_day_1d" + accuweather_wind_night_1d: "sensor.{{ accuweather_name }}_wind_night_1d" + ##### FORCAST ACCUWEATHER - DAY 2 ##### + accuweather_realfeel_temperature_min_2d: "sensor.{{ accuweather_name }}_realfeel_temperature_min_2d" + accuweather_realfeel_temperature_max_2d: "sensor.{{ accuweather_name }}_realfeel_temperature_max_2d" + accuweather_hours_of_sun_2d: "sensor.{{ accuweather_name }}_hours_of_sun_2d" + accuweather_uv_index_2d: "sensor.{{ accuweather_name }}_uv_index_2d" + accuweather_thunderstorm_probability_day_2d: "sensor.{{ accuweather_name }}_thunderstorm_probability_day_2d" + accuweather_thunderstorm_probability_night_2d: "sensor.{{ accuweather_name }}_thunderstorm_probability_night_2d" + accuweather_wind_day_2d: "sensor.{{ accuweather_name }}_wind_day_2d" + accuweather_wind_night_2d: "sensor.{{ accuweather_name }}_wind_night_2d" + ##### FORCAST ACCUWEATHER - DAY 3 ##### + accuweather_realfeel_temperature_min_3d: "sensor.{{ accuweather_name }}_realfeel_temperature_min_3d" + accuweather_realfeel_temperature_max_3d: "sensor.{{ accuweather_name }}_realfeel_temperature_max_3d" + accuweather_hours_of_sun_3d: "sensor.{{ accuweather_name }}_hours_of_sun_3d" + accuweather_uv_index_3d: "sensor.{{ accuweather_name }}_uv_index_3d" + accuweather_thunderstorm_probability_day_3d: "sensor.{{ accuweather_name }}_thunderstorm_probability_day_3d" + accuweather_thunderstorm_probability_night_3d: "sensor.{{ accuweather_name }}_thunderstorm_probability_night_3d" + accuweather_wind_day_3d: "sensor.{{ accuweather_name }}_wind_day_3d" + accuweather_wind_night_3d: "sensor.{{ accuweather_name }}_wind_night_3d" + ##### FORCAST ACCUWEATHER - DAY 4 ##### + accuweather_realfeel_temperature_min_4d: "sensor.{{ accuweather_name }}_realfeel_temperature_min_4d" + accuweather_realfeel_temperature_max_4d: "sensor.{{ accuweather_name }}_realfeel_temperature_max_4d" + accuweather_hours_of_sun_4d: "sensor.{{ accuweather_name }}_hours_of_sun_4d" + accuweather_uv_index_4d: "sensor.{{ accuweather_name }}_uv_index_4d" + accuweather_thunderstorm_probability_day_4d: "sensor.{{ accuweather_name }}_thunderstorm_probability_day_4d" + accuweather_thunderstorm_probability_night_4d: "sensor.{{ accuweather_name }}_thunderstorm_probability_night_4d" + accuweather_wind_day_4d: "sensor.{{ accuweather_name }}_wind_day_4d" + accuweather_wind_night_4d: "sensor.{{ accuweather_name }}_wind_night_4d" + + + ############################################################# ##### CLOSE - Variables ##### ############################################################# @@ -2879,12 +4048,21 @@ trigger: entity_id: input_boolean.trigger_nspanel_boot to: "on" id: nspanel_boot_init - + ##### Reboot - Trigger "nspanel_boot_init" ##### - platform: template value_template: '{{ states(nextion_inited_trigger) is match "on" }}' + for: + seconds: 1 id: nspanel_boot_init + ##### settings_entity - Trigger "settings_entity" ##### + - platform: event + event_type: state_changed + event_data: + entity_id: "{{ settings_entity }}" + id: settings_entity + ##### Automation reload - platform: event event_type: automation_reloaded @@ -2910,12 +4088,26 @@ trigger: entity_id: '{{ weather_entity }}' id: weather_state_change - ##### Humidity - Trigger "humidity_state" ##### + ##### HOME Value 01 - Trigger "home_value01_state" ##### - platform: event event_type: state_changed event_data: - entity_id: !input "humidity" - id: humidity_state + entity_id: !input "home_value01" + id: home_value01_state + + ##### HOME Value 02 - Trigger "home_value02_state" ##### + - platform: event + event_type: state_changed + event_data: + entity_id: !input "home_value02" + id: home_value02_state + + ##### HOME Value 03 - Trigger "home_value03_state" ##### + - platform: event + event_type: state_changed + event_data: + entity_id: !input "home_value03" + id: home_value03_state ##### Climate - Trigger "climate_state" ##### - platform: event @@ -2959,12 +4151,54 @@ trigger: entity_id: !input "hotwatercharge" id: hotwatercharge_state - ##### Heating System Flame - Trigger "heatingsystemflame_state" ##### + ##### Chip 01 - Trigger "chip01_state" ##### - platform: event event_type: state_changed event_data: - entity_id: !input "heatingsystemflame" - id: heatingsystemflame_state + entity_id: !input "chip01" + id: chip01_state + + ##### Chip 02 - Trigger "chip02_state" ##### + - platform: event + event_type: state_changed + event_data: + entity_id: !input "chip02" + id: chip02_state + + ##### Chip 03 - Trigger "chip03_state" ##### + - platform: event + event_type: state_changed + event_data: + entity_id: !input "chip03" + id: chip03_state + + ##### Chip 04 - Trigger "chip04_state" ##### + - platform: event + event_type: state_changed + event_data: + entity_id: !input "chip04" + id: chip04_state + + ##### Chip 05 - Trigger "chip05_state" ##### + - platform: event + event_type: state_changed + event_data: + entity_id: !input "chip05" + id: chip05_state + + ##### Chip 06 - Trigger "chip06_state" ##### + - platform: event + event_type: state_changed + event_data: + entity_id: !input "chip06" + id: chip06_state + + ##### Chip 07 - Trigger "chip07_state" ##### + - platform: event + event_type: state_changed + event_data: + entity_id: !input "chip07" + id: chip07_state ##### Relay01 - Trigger "relay01_state" ##### - platform: event @@ -3004,13 +4238,6 @@ trigger: entity_id: !input "right_button_entity" id: right_button_state - #### Climate - Trigger #### - - platform: template - value_template: '{{ states(last_click) is match "releaseclimate" }}' - id: open_climate_settings - - ##### Trigger - Notification ##### - ##### Notification Text - Trigger "notification_text_state" ##### - platform: event event_type: state_changed @@ -3050,6 +4277,15 @@ trigger: value_template: '{{ states(last_click) is match "homebutton06release" }}' id: open_entity_page + #### Show Climate - Trigger #### + - platform: template + value_template: '{{ states(last_click) is match "weatherpagerelease" }}' + id: open_weather_page + + #### Climate - Trigger #### + - platform: template + value_template: '{{ states(last_click) is match "climaterelease" }}' + id: open_climate_page ##### Trigger - Button General ################################################################################################################# @@ -3101,7 +4337,7 @@ trigger: ##### Trigger - Button State change ################################################################################################################# - + ##### Button01 Sync - Trigger "current_state_entity01" ##### - platform: state entity_id: !input "entity01" @@ -3271,121 +4507,34 @@ trigger: ############################################################# ##### START - Action ##### ############################################################# - +#condition: '{{ states(relay01_entity) != "unavailable" and states(relay02_entity) != "unavailable" }}' +condition: '{{ states(nextion_inited_trigger) == "on" }}' action: - variables: - ##### Entity - Page Lightsettings ##### + #settings_entity_value: '{{ states(settings_entity) }}' + settings_entity_value: >- + {%- if states(settings_entity) != "unavailable" -%} {{ states(settings_entity) }} + {%- else -%} unknown + {%- endif -%} entity_long: >- - {%- if states(last_click) == "pressbuttonpage01button01" -%} {{ entity01 }} - {%- elif states(last_click) == "pressbuttonpage01button02" -%} {{ entity02 }} - {%- elif states(last_click) == "pressbuttonpage01button03" -%} {{ entity03 }} - {%- elif states(last_click) == "pressbuttonpage01button04" -%} {{ entity04 }} - {%- elif states(last_click) == "pressbuttonpage01button05" -%} {{ entity05 }} - {%- elif states(last_click) == "pressbuttonpage01button06" -%} {{ entity06 }} - {%- elif states(last_click) == "pressbuttonpage01button07" -%} {{ entity07 }} - {%- elif states(last_click) == "pressbuttonpage01button08" -%} {{ entity08 }} - {%- elif states(last_click) == "pressbuttonpage02button01" -%} {{ entity09 }} - {%- elif states(last_click) == "pressbuttonpage02button02" -%} {{ entity10 }} - {%- elif states(last_click) == "pressbuttonpage02button03" -%} {{ entity11 }} - {%- elif states(last_click) == "pressbuttonpage02button04" -%} {{ entity12 }} - {%- elif states(last_click) == "pressbuttonpage02button05" -%} {{ entity13 }} - {%- elif states(last_click) == "pressbuttonpage02button06" -%} {{ entity14 }} - {%- elif states(last_click) == "pressbuttonpage02button07" -%} {{ entity15 }} - {%- elif states(last_click) == "pressbuttonpage02button08" -%} {{ entity16 }} - {%- elif states(last_click) == "pressbuttonpage03button01" -%} {{ entity17 }} - {%- elif states(last_click) == "pressbuttonpage03button02" -%} {{ entity18 }} - {%- elif states(last_click) == "pressbuttonpage03button03" -%} {{ entity19 }} - {%- elif states(last_click) == "pressbuttonpage03button04" -%} {{ entity20 }} - {%- elif states(last_click) == "pressbuttonpage03button05" -%} {{ entity21 }} - {%- elif states(last_click) == "pressbuttonpage03button06" -%} {{ entity22 }} - {%- elif states(last_click) == "pressbuttonpage03button07" -%} {{ entity23 }} - {%- elif states(last_click) == "pressbuttonpage03button08" -%} {{ entity24 }} - {%- elif states(last_click) == "pressbuttonpage04button01" -%} {{ entity25 }} - {%- elif states(last_click) == "pressbuttonpage04button02" -%} {{ entity26 }} - {%- elif states(last_click) == "pressbuttonpage04button03" -%} {{ entity27 }} - {%- elif states(last_click) == "pressbuttonpage04button04" -%} {{ entity28 }} - {%- elif states(last_click) == "pressbuttonpage04button05" -%} {{ entity29 }} - {%- elif states(last_click) == "pressbuttonpage04button06" -%} {{ entity30 }} - {%- elif states(last_click) == "pressbuttonpage04button07" -%} {{ entity31 }} - {%- elif states(last_click) == "pressbuttonpage04button08" -%} {{ entity32 }} - {%- elif states(last_click) == "pressbuttonleft" -%} {{ left_button_entity }} - {%- elif states(last_click) == "pressbuttonright" -%} {{ right_button_entity }} + {%- if settings_entity_value != "unknown" -%} {{ settings_entity_value.split(',')[0] }} + {%- else -%} unknown {%- endif -%} - - ##### Entity Name - Page Lightsettings ##### - entity_long_name: >- - {%- if states(last_click) == "pressbuttonpage01button01" -%} {{ entity01_name }} - {%- elif states(last_click) == "pressbuttonpage01button02" -%} {{ entity02_name }} - {%- elif states(last_click) == "pressbuttonpage01button03" -%} {{ entity03_name }} - {%- elif states(last_click) == "pressbuttonpage01button04" -%} {{ entity04_name }} - {%- elif states(last_click) == "pressbuttonpage01button05" -%} {{ entity05_name }} - {%- elif states(last_click) == "pressbuttonpage01button06" -%} {{ entity06_name }} - {%- elif states(last_click) == "pressbuttonpage01button07" -%} {{ entity07_name }} - {%- elif states(last_click) == "pressbuttonpage01button08" -%} {{ entity08_name }} - {%- elif states(last_click) == "pressbuttonpage02button01" -%} {{ entity09_name }} - {%- elif states(last_click) == "pressbuttonpage02button02" -%} {{ entity10_name }} - {%- elif states(last_click) == "pressbuttonpage02button03" -%} {{ entity11_name }} - {%- elif states(last_click) == "pressbuttonpage02button04" -%} {{ entity12_name }} - {%- elif states(last_click) == "pressbuttonpage02button05" -%} {{ entity13_name }} - {%- elif states(last_click) == "pressbuttonpage02button06" -%} {{ entity14_name }} - {%- elif states(last_click) == "pressbuttonpage02button07" -%} {{ entity15_name }} - {%- elif states(last_click) == "pressbuttonpage02button08" -%} {{ entity16_name }} - {%- elif states(last_click) == "pressbuttonpage03button01" -%} {{ entity17_name }} - {%- elif states(last_click) == "pressbuttonpage03button02" -%} {{ entity18_name }} - {%- elif states(last_click) == "pressbuttonpage03button03" -%} {{ entity19_name }} - {%- elif states(last_click) == "pressbuttonpage03button04" -%} {{ entity20_name }} - {%- elif states(last_click) == "pressbuttonpage03button05" -%} {{ entity21_name }} - {%- elif states(last_click) == "pressbuttonpage03button06" -%} {{ entity22_name }} - {%- elif states(last_click) == "pressbuttonpage03button07" -%} {{ entity23_name }} - {%- elif states(last_click) == "pressbuttonpage03button08" -%} {{ entity24_name }} - {%- elif states(last_click) == "pressbuttonpage04button01" -%} {{ entity25_name }} - {%- elif states(last_click) == "pressbuttonpage04button02" -%} {{ entity26_name }} - {%- elif states(last_click) == "pressbuttonpage04button03" -%} {{ entity27_name }} - {%- elif states(last_click) == "pressbuttonpage04button04" -%} {{ entity28_name }} - {%- elif states(last_click) == "pressbuttonpage04button05" -%} {{ entity29_name }} - {%- elif states(last_click) == "pressbuttonpage04button06" -%} {{ entity30_name }} - {%- elif states(last_click) == "pressbuttonpage04button07" -%} {{ entity31_name }} - {%- elif states(last_click) == "pressbuttonpage04button08" -%} {{ entity32_name }} - {%- elif states(last_click) == "pressbuttonleft" -%} {{ left_button_name }} - {%- elif states(last_click) == "pressbuttonright" -%} {{ right_button_name }} - {%- endif -%} - - ##### Entity - Page Lightsettings - Skip Back ##### entity_back: >- - {%- if states(last_click) == "pressbuttonpage01button01" -%} {{ "page buttonpage01" }} - {%- elif states(last_click) == "pressbuttonpage01button02" -%} {{ "page buttonpage01" }} - {%- elif states(last_click) == "pressbuttonpage01button03" -%} {{ "page buttonpage01" }} - {%- elif states(last_click) == "pressbuttonpage01button04" -%} {{ "page buttonpage01" }} - {%- elif states(last_click) == "pressbuttonpage01button05" -%} {{ "page buttonpage01" }} - {%- elif states(last_click) == "pressbuttonpage01button06" -%} {{ "page buttonpage01" }} - {%- elif states(last_click) == "pressbuttonpage01button07" -%} {{ "page buttonpage01" }} - {%- elif states(last_click) == "pressbuttonpage01button08" -%} {{ "page buttonpage01" }} - {%- elif states(last_click) == "pressbuttonpage02button01" -%} {{ "page buttonpage02" }} - {%- elif states(last_click) == "pressbuttonpage02button02" -%} {{ "page buttonpage02" }} - {%- elif states(last_click) == "pressbuttonpage02button03" -%} {{ "page buttonpage02" }} - {%- elif states(last_click) == "pressbuttonpage02button04" -%} {{ "page buttonpage02" }} - {%- elif states(last_click) == "pressbuttonpage02button05" -%} {{ "page buttonpage02" }} - {%- elif states(last_click) == "pressbuttonpage02button06" -%} {{ "page buttonpage02" }} - {%- elif states(last_click) == "pressbuttonpage02button07" -%} {{ "page buttonpage02" }} - {%- elif states(last_click) == "pressbuttonpage02button08" -%} {{ "page buttonpage02" }} - {%- elif states(last_click) == "pressbuttonpage03button01" -%} {{ "page buttonpage03" }} - {%- elif states(last_click) == "pressbuttonpage03button02" -%} {{ "page buttonpage03" }} - {%- elif states(last_click) == "pressbuttonpage03button03" -%} {{ "page buttonpage03" }} - {%- elif states(last_click) == "pressbuttonpage03button04" -%} {{ "page buttonpage03" }} - {%- elif states(last_click) == "pressbuttonpage03button05" -%} {{ "page buttonpage03" }} - {%- elif states(last_click) == "pressbuttonpage03button06" -%} {{ "page buttonpage03" }} - {%- elif states(last_click) == "pressbuttonpage03button07" -%} {{ "page buttonpage03" }} - {%- elif states(last_click) == "pressbuttonpage03button08" -%} {{ "page buttonpage03" }} - {%- elif states(last_click) == "pressbuttonpage04button01" -%} {{ "page buttonpage04" }} - {%- elif states(last_click) == "pressbuttonpage04button02" -%} {{ "page buttonpage04" }} - {%- elif states(last_click) == "pressbuttonpage04button03" -%} {{ "page buttonpage04" }} - {%- elif states(last_click) == "pressbuttonpage04button04" -%} {{ "page buttonpage04" }} - {%- elif states(last_click) == "pressbuttonpage04button05" -%} {{ "page buttonpage04" }} - {%- elif states(last_click) == "pressbuttonpage04button06" -%} {{ "page buttonpage04" }} - {%- elif states(last_click) == "pressbuttonpage04button07" -%} {{ "page buttonpage04" }} - {%- elif states(last_click) == "pressbuttonpage04button08" -%} {{ "page buttonpage04" }} - {%- elif states(last_click) == "pressbuttonleft" -%} {{ "page home" }} - {%- elif states(last_click) == "pressbuttonright" -%} {{ "page home" }} + {%- if settings_entity_value != "unknown" and settings_entity_value.split(',') | count >= 1 -%} {{ settings_entity_value.split(',')[1] }} + {%- else -%} unknown + {%- endif -%} + entity_long_name: >- + {%- if settings_entity_value != "unknown" and settings_entity_value.split(',') | count >= 2 -%} {{ settings_entity_value.split(',')[2] }} + {%- else -%} unknown + {%- endif -%} + entity_long_icon: >- + {%- if settings_entity_value != "unknown" and settings_entity_value.split(',') | count >= 3 -%} {{ settings_entity_value.split(',')[3] }} + {%- else -%} unknown + {%- endif -%} + entity_long_icon_color: >- + {%- if settings_entity_value != "unknown" and settings_entity_value.split(',') | count >= 4 -%} {{ settings_entity_value.split(',')[4] }} + {%- else -%} unknown {%- endif -%} ######################################################################################################################## @@ -3393,243 +4542,43 @@ action: # main - alias: "choose alias (name)" - choose: - ##### NSPanel boot init ##### + ##### JUMP TO - settings page lightsettings /coversettings / climate (SETTINGS ENTITY CHANGED) ##### - conditions: - condition: trigger - id: - - nspanel_boot_init - - automation_reloaded + id: settings_entity + - condition: template + value_template: "{{ trigger.event.data.new_state.state != 'unknown' }}" + sequence: + - choose: + - conditions: '{{ entity_long is match "light." }}' + sequence: + - service: "{{ command_printf }}" + data: + cmd: "page {{ page_lightsettings }}" + - conditions: '{{ entity_long is match "cover." }}' + sequence: + - service: "{{ command_printf }}" + data: + cmd: "page {{ page_coversettings }}" + - conditions: '{{ entity_long is match "climate." }}' + sequence: + - service: "{{ command_printf }}" + data: + cmd: "page {{ page_climate }}" + + ##### BOOT NSPANEL - boot init ##### + - conditions: + - condition: trigger + id: nspanel_boot_init sequence: - delay: milliseconds: 100 ##### NSPanel boot init only ##### - - if: - - condition: template - value_template: '{{ trigger.id == "nspanel_boot_init" }}' - then: - ##### NSPanel boot init start ##### - - - service: "{{ command_text_printf }}" - data: - component: boot.bluep_version - message: "{{ blueprint_version }}" - - ##### NSPanel boot init buttons ##### - - delay: - milliseconds: "{{ delay_value }}" - - repeat: - for_each: - - entity: "{{ entity01 }}" - button_label: "{{ entity01_name }}" - button: buttonpage01.button01 - - entity: "{{ entity02 }}" - button_label: "{{ entity02_name }}" - button: buttonpage01.button02 - - entity: "{{ entity03 }}" - button_label: "{{ entity03_name }}" - button: buttonpage01.button03 - - entity: "{{ entity04 }}" - button_label: "{{ entity04_name }}" - button: buttonpage01.button04 - - entity: "{{ entity05 }}" - button_label: "{{ entity05_name }}" - button: buttonpage01.button05 - - entity: "{{ entity06 }}" - button_label: "{{ entity06_name }}" - button: buttonpage01.button06 - - entity: "{{ entity07 }}" - button_label: "{{ entity07_name }}" - button: buttonpage01.button07 - - entity: "{{ entity08 }}" - button_label: "{{ entity08_name }}" - button: buttonpage01.button08 - - entity: "{{ entity09 }}" - button_label: "{{ entity09_name }}" - button: buttonpage02.button01 - - entity: "{{ entity10 }}" - button_label: "{{ entity10_name }}" - button: buttonpage02.button02 - - entity: "{{ entity11 }}" - button_label: "{{ entity11_name }}" - button: buttonpage02.button03 - - entity: "{{ entity12 }}" - button_label: "{{ entity12_name }}" - button: buttonpage02.button04 - - entity: "{{ entity13 }}" - button_label: "{{ entity13_name }}" - button: buttonpage02.button05 - - entity: "{{ entity14 }}" - button_label: "{{ entity14_name }}" - button: buttonpage02.button06 - - entity: "{{ entity15 }}" - button_label: "{{ entity15_name }}" - button: buttonpage02.button07 - - entity: "{{ entity16 }}" - button_label: "{{ entity16_name }}" - button: buttonpage02.button08 - - entity: "{{ entity17 }}" - button_label: "{{ entity17_name }}" - button: buttonpage03.button01 - - entity: "{{ entity18 }}" - button_label: "{{ entity18_name }}" - button: buttonpage03.button02 - - entity: "{{ entity19 }}" - button_label: "{{ entity19_name }}" - button: buttonpage03.button03 - - entity: "{{ entity20 }}" - button_label: "{{ entity20_name }}" - button: buttonpage03.button04 - - entity: "{{ entity21 }}" - button_label: "{{ entity21_name }}" - button: buttonpage03.button05 - - entity: "{{ entity22 }}" - button_label: "{{ entity22_name }}" - button: buttonpage03.button06 - - entity: "{{ entity23 }}" - button_label: "{{ entity23_name }}" - button: buttonpage03.button07 - - entity: "{{ entity24 }}" - button_label: "{{ entity24_name }}" - button: buttonpage03.button08 - - entity: "{{ entity25 }}" - button_label: "{{ entity25_name }}" - button: buttonpage04.button01 - - entity: "{{ entity26 }}" - button_label: "{{ entity26_name }}" - button: buttonpage04.button02 - - entity: "{{ entity27 }}" - button_label: "{{ entity27_name }}" - button: buttonpage04.button03 - - entity: "{{ entity28 }}" - button_label: "{{ entity28_name }}" - button: buttonpage04.button04 - - entity: "{{ entity29 }}" - button_label: "{{ entity29_name }}" - button: buttonpage04.button05 - - entity: "{{ entity30 }}" - button_label: "{{ entity30_name }}" - button: buttonpage04.button06 - - entity: "{{ entity31 }}" - button_label: "{{ entity31_name }}" - button: buttonpage04.button07 - - entity: "{{ entity32 }}" - button_label: "{{ entity32_name }}" - button: buttonpage04.button08 - sequence: - - if: - - condition: template - value_template: '{{ repeat.item.entity|length > 0 and states[repeat.item.entity].state != "unavailable" and states[repeat.item.entity].state != "unknown" }}' - then: - - variables: - component_to_update: "{{ repeat.item.button }}" - # Button PIC - btn_pic: >- - {%- if repeat.item.entity is match "light." and states[repeat.item.entity].state == 'on' -%} {{ button_light_on }} - {%- elif repeat.item.entity is match "light." and states[repeat.item.entity].state == 'off' -%} {{ button_light_off }} - {%- elif repeat.item.entity is match "switch." and states[repeat.item.entity].state == 'on' -%} {{ button_switch_on }} - {%- elif repeat.item.entity is match "switch." and states[repeat.item.entity].state == 'off' -%} {{ button_switch_off }} - {%- elif repeat.item.entity is match "input_boolean." and states[repeat.item.entity].state == 'on' -%} {{ button_switch_on }} - {%- elif repeat.item.entity is match "input_boolean." and states[repeat.item.entity].state == 'off' -%} {{ button_switch_off }} - {%- elif repeat.item.entity is match "cover." and states[repeat.item.entity].state == 'open' -%} {{ button_cover_on }} - {%- elif repeat.item.entity is match "cover." and states[repeat.item.entity].state == 'closed' -%} {{ button_cover_off }} - {%- elif repeat.item.entity is match "automation." and states[repeat.item.entity].state == 'on' -%} {{ button_automation_on }} - {%- elif repeat.item.entity is match "automation." and states[repeat.item.entity].state == 'off' -%} {{ button_automation_off }} - {%- elif repeat.item.entity is match "button." -%} {{ button_button_off }} - {%- elif repeat.item.entity is match "input_button." -%} {{ button_button_off }} - {%- elif repeat.item.entity is match "scene." -%} {{ button_scene_off }} - {%- elif repeat.item.entity is match "script." and states[repeat.item.entity].state == 'on' -%} {{ button_script_on }} - {%- elif repeat.item.entity is match "script." and states[repeat.item.entity].state == 'off' -%} {{ button_script_off }} - {%- elif repeat.item.entity is match "person." and states[repeat.item.entity].state == 'home' -%} {{ button_person_on }} - {%- elif repeat.item.entity is match "person." and states[repeat.item.entity].state != 'home' -%} {{ button_person_off }} - {%- elif repeat.item.entity is match "binary_sensor." and states[repeat.item.entity].state == 'on' -%} {{ button_binary_sensor_on }} - {%- elif repeat.item.entity is match "binary_sensor." and states[repeat.item.entity].state == 'off' -%} {{ button_binary_sensor_off }} - {%- elif repeat.item.entity is match "fan." and states[repeat.item.entity].state == 'on' -%} {{ button_fan_on }} - {%- elif repeat.item.entity is match "fan." and states[repeat.item.entity].state == 'off' -%} {{ button_fan_off }} - {%- endif -%} - # TEXT and BRIGHTNESS Background - btn_bg: >- - {%- if repeat.item.entity is match "button." or repeat.item.entity is match "input_button." or repeat.item.entity is match "scene." -%} {{ button_color_2 }} - {%- elif states[repeat.item.entity].state == 'on' or states[repeat.item.entity].state == 'open' -%} {{ button_color_1 }} - {%- elif states[repeat.item.entity].state == 'off' or states[repeat.item.entity].state == 'closed' -%} {{ button_color_2 }} - {%- elif repeat.item.entity is match "person." and states[repeat.item.entity].state == 'home' -%} {{ button_color_1 }} - {%- elif repeat.item.entity is match "person." and states[repeat.item.entity].state != 'home' -%} {{ button_color_2 }} - {%- endif -%} - # TEXT Font - btn_txt_font: >- - {%- if repeat.item.entity is match "button." or repeat.item.entity is match "input_button." or repeat.item.entity is match "scene." -%} {{ button_color_1 }} - {%- elif states[repeat.item.entity].state == 'on' or states[repeat.item.entity].state == 'open' -%} {{ button_color_2 }} - {%- elif states[repeat.item.entity].state == 'off' or states[repeat.item.entity].state == 'closed' -%} {{ button_color_1 }} - {%- elif repeat.item.entity is match "person." and states[repeat.item.entity].state == 'home' -%} {{ button_color_2 }} - {%- elif repeat.item.entity is match "person." and states[repeat.item.entity].state != 'home' -%} {{ button_color_1 }} - {%- endif -%} - # BRIGHTNESS Font - btn_bri_font: "{{ button_color_2 }}" - # BTN Label - btn_label: "{{ repeat.item.button_label }}" - btn_bri_txt: >- - {%- if repeat.item.entity is match "light." and states(repeat.item.entity) == 'on' and state_attr(repeat.item.entity, "brightness") != None -%} {{ (state_attr(repeat.item.entity, "brightness") | int * 100 /255) | round(0) }}% - {%- elif repeat.item.entity is match "cover." and states(repeat.item.entity) == 'open' and state_attr(repeat.item.entity, "current_position") != None -%} {{ (state_attr(repeat.item.entity, "current_position") | int(100)) | round(0) }}% - {%- else -%} 0 - {%- endif -%} - - ##### SET Buttons #### - # - ##### Button PIC ##### - - service: "{{ command_printf }}" - data: - cmd: "{{ component_to_update }}pic.pic={{ btn_pic }}" - ##### TEXT Background ##### - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_background_color }}" - data: - component: "{{ component_to_update }}text" - message: "{{ btn_bg }}" - ##### TEXT Font Color ##### - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_font_color }}" - data: - component: "{{ component_to_update }}text" - message: "{{ btn_txt_font }}" - ##### BRIGHTNESS Background Color ##### - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_background_color }}" - data: - component: "{{ component_to_update }}bri" - message: "{{ btn_bg }}" - ##### BRIGHTNESS Font Color ##### - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_font_color }}" - data: - component: "{{ component_to_update }}bri" - message: "{{ btn_bri_font }}" - ##### "TEXT" Label ##### - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: "{{ component_to_update }}text" - message: "{{ btn_label }}" - ##### "BRIGHTNESS" Text ##### - - delay: - milliseconds: "{{ delay_value }}" - - if: - - condition: template - value_template: "{{ btn_bri_txt == 0 }}" - then: - - service: "{{ command_text_printf }}" - data: - component: "{{ component_to_update }}bri" - message: " " - else: - - service: "{{ command_text_printf }}" - data: - component: "{{ component_to_update }}bri" - message: "{{ btn_bri_txt }}" + - service: "{{ command_text_printf }}" + data: + component: boot.bluep_version + message: "{{ blueprint_version }}" ###### Set local fallback ###### - if: @@ -3654,193 +4603,3406 @@ action: - service: switch.turn_off data: entity_id: 'switch.{{ nspanel_name }}_relay_2_local_fallback' - - ##### Update home-buttons on automation-reload only ##### - - if: - - condition: template - value_template: '{{ states(current_page) == page_home }}' - then: - ###### QR Code - Icon ###### - - if: - - condition: template - value_template: '{{ qrcode_state == true }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: "homebt05_pic.pic={{ home_button_qrcode }}" - else: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: "homebt05_pic.pic={{ home_button_blank }}" - ###### ENTITIES - Icon ###### - - if: - - condition: template - value_template: '{{ entitypages_enabled }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: "homebt06_pic.pic={{ home_button_entities }}" - else: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: "homebt06_pic.pic={{ home_button_blank }}" - - ##### NSPanel boot init only ##### - - if: - - condition: template - value_template: '{{ trigger.id == "nspanel_boot_init" }}' - then: - ###### INIT Notify ###### - - service: "{{ command_notification_clear }}" - data: {} - - ###### NSPanel beep ###### - - delay: - milliseconds: 2000 - - if: - - condition: template - value_template: '{{ is_state(notification_sound, "on") }}' - then: - - service: "{{ command_play_rtttl }}" - data: - song_str: "two short:d=4,o=5,b=100:16e6,16e6" - - ##### NSPanel boot init finished and jump to Home Page##### - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: page home - - #### Notification Symbol #### - - conditions: - - condition: trigger - id: - - notification_text_state - - notification_unread_state - - condition: template - value_template: "{{ trigger.event.data.new_state.state != 'unavailable' and trigger.event.data.new_state.state != 'unknown' and states(current_page) == page_home }}" - sequence: - - alias: "Set notifiy pic" - variables: - notify_pic: >- - {%- if is_state(notification_unread, 'on') and states(notification_text) |length > 0 -%} {{ home_button_notify_red }} - {%- elif is_state(notification_unread, 'off') and states(notification_text) |length > 0 -%} {{ home_button_notify_white }} - {%- else -%} {{ home_button_blank }} - {%- endif -%} - - service: "{{ command_printf }}" - data: - cmd: "homebt04_pic.pic={{ notify_pic }}" - - ##### Show last notification ##### - - conditions: - - condition: trigger - id: open_notification_page - - condition: template - value_template: "{{ states(notification_text) |length > 0}} " - sequence: - - service: "{{ command_printf }}" - data: - cmd: "page {{ page_notification }}" - - service: "{{ command_text_printf }}" - data: - component: notification.notifi_text01 - message: "{{ states(notification_text) }}" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: notification.notifi_label - message: "{{ states(notification_label) }}" - - ##### Show QR Code Page ##### - - conditions: - - condition: trigger - id: open_qrcode_page - - condition: template - value_template: '{{ qrcode_state == true }}' - - condition: template - value_template: '{{ qrcode_value |length > 0 }}' - sequence: - - service: "{{ command_printf }}" - data: - cmd: "page {{ page_qrcode }}" - - if: - - condition: template - value_template: '{{ qrcode_label |length > 0 }}' - then: - - service: "{{ command_text_printf }}" - data: - component: "qrcode_label" - message: "{{ qrcode_label }}" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: "qrcode_value" - message: "{{ qrcode_value }}" - - ##### Show ENTITY Page ##### - - conditions: - - condition: trigger - id: open_entity_page - - condition: template - value_template: '{{ entitypages_enabled }}' - sequence: - - service: "{{ command_printf }}" - data: - cmd: "page {{ page_entitypage01 }}" - - ##### Button Notification clear ##### - - conditions: - - condition: trigger - id: btn_notificationclearrelease - - condition: template - value_template: "{{ states(confirmation_message) != 'on'}} " - sequence: - - service: switch.turn_off - data: - entity_id: "{{ notification_unread }}" - - service: "{{ command_printf }}" - data: - cmd: "page {{ page_home }}" - - ##### Button Notification accept ##### - - conditions: - - condition: trigger - id: btn_notificationacceptrelease - - condition: template - value_template: "{{ states(confirmation_message) != 'on'}} " - sequence: - - service: switch.turn_off - data: - entity_id: "{{ notification_unread }}" + ##### clear notification icon ##### - service: "{{ command_notification_clear }}" data: {} + + ###### NSPanel beep ###### + - delay: + milliseconds: 2000 + - if: + - condition: template + value_template: '{{ is_state(notification_sound, "on") }}' + then: + - service: "{{ command_play_rtttl }}" + data: + song_str: "two short:d=4,o=5,b=100:16e6,16e6" + + ##### NSPanel boot init finished and jump to Home Page##### + - delay: + milliseconds: "{{ delay_value }}" - service: "{{ command_printf }}" data: - cmd: "page {{ page_home }}" + cmd: page home - #### TFT Upload Automation ##### + ##### BOOT NSPANEL - automation reload ##### - conditions: - condition: trigger - id: tft_upload + id: automation_reloaded sequence: - - delay: - seconds: 2 - - service: "{{ tft_upload }}" - data: {} + - service: button.press + target: + entity_id: "{{ reboot_button }}" - ##### Update Button Page and Lightsettings / Coversettings Page ##### + ##### PAGE CHANGED - changes when page changed ##### + - conditions: + - condition: trigger + id: current_page_changed + sequence: + ##### climate-page left - apply climate temperature if climate_optimistic ##### ## TODO - remove from here + - if: + - condition: template + value_template: '{{ trigger.event.data.old_state.state == page_climate }}' + then: + - if: + - condition: template + value_template: '{{ climate_optimistic == true }}' + then: + - variables: + display_target_temperature: "{{states(display_target_temperature) | round(1)}}" + - if: + - condition: template + value_template: '{{ display_target_temperature != 0.0 }}' + then: + - service: climate.set_temperature + data: + entity_id: '{{ entity_long }}' + #hvac_mode: 'heat' + temperature: "{{ display_target_temperature }}" + - choose: + ## PAGE HOME ## + - conditions: '{{ trigger.event.data.new_state.state == page_home }}' + alias: 'home page' + sequence: + - service: '{{ command_set_settings_entity }}' + data: + entity: 'unknown' + ##### NSPanel Date ##### + ### DATE Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.date + message: "{{ date_label_color }}" + ### DATE Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.date + message: "{{ date01_mui }}" + + ##### NSPanel Time ##### + ### TIME Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.time + message: "{{ time_label_color }}" + ### TIME Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.time + message: "{{ time }}" + + ##### NSPanel Outdoor Temp ##### + - variables: + outdoor_temp: >- + {%- if outdoortemp is match "sensor." and states(outdoortemp).state != "unavailable" -%} {{ states(outdoortemp) |round(1) }} + {%- elif state_attr(weather_entity, "temperature") != None -%} {{state_attr(weather_entity,"temperature") | round(1)}} + {%- else -%} 0 + {%- endif -%} + ### LABEL Outdoor Temp Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.outdoor_temp + message: "{{ home_outdoor_temp_label_color }}" + ### LABEL Outdoor Temp Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.outdoor_temp + message: "{{ outdoor_temp }}°" + + ##### NSPanel Indoor Temp ##### + - variables: + indoor_temp: >- + {%- if indoortemp is match "sensor." and states(indoortemp).state != "unavailable" -%} {{ states(indoortemp) |round(1) }} + {%- else -%} {{ states(nspaneltemp) |round(1) }} + {%- endif -%} + ### ICON Indoor Temp Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.indoortempicon + message: "{{ home_indoor_temp_icon_color }}" + ### ICON Indoor Temp Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.indoortempicon + message: "{{ home_indoor_temp_icon }}" + ### LABEL Indoor Temp Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.current_temp + message: "{{ home_indoor_temp_label_color }}" + ### LABEL Indoor Temp Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.current_temp + message: "{{ indoor_temp }}°" + + ##### Weather Icon Home Page ##### + - variables: + weather_pic: >- + {%- if states(weather_entity) == 'sunny' -%} {{ weather_sunny }} + {%- elif states(weather_entity) == 'cloudy' -%} {{ weather_cloudy }} + {%- elif states(weather_entity) == 'rainy' -%} {{ weather_rainy }} + {%- elif states(weather_entity) == 'pouring' -%} {{ weather_pouring }} + {%- elif states(weather_entity) == 'snowy' -%} {{ weather_snowy }} + {%- elif states(weather_entity) == 'hail' -%} {{ weather_hail }} + {%- elif states(weather_entity) == 'snowy-rainy' -%} {{ weather_snowy_rainy }} + {%- elif states(weather_entity) == 'fog' -%} {{ weather_fog }} + {%- elif states(weather_entity) == 'windy' -%} {{ weather_windy }} + {%- elif states(weather_entity) == 'windy-variant' -%} {{ weather_windy-variant }} + {%- elif states(weather_entity) == 'lightning' -%} {{ weather_lightning }} + {%- elif states(weather_entity) == 'partlycloudy' and states('sun.sun') == 'above_horizon' -%} {{ weather_partlycloudy_day }} + {%- elif states(weather_entity) == 'partlycloudy' and states('sun.sun') == 'below_horizon' -%} {{ weather_partlycloudy_night }} + {%- elif states(weather_entity) == 'lightning-rainy' and states('sun.sun') == 'above_horizon' -%} {{ weather_lightning_rainy_day }} + {%- elif states(weather_entity) == 'lightning-rainy' and states('sun.sun') == 'below_horizon' -%} {{ weather_lightning_rainy_night }} + {%- elif states(weather_entity) == 'execptional' and states('sun.sun') == 'above_horizon' -%} {{ weather_execptional_day }} + {%- elif states(weather_entity) == 'execptional' and states('sun.sun') == 'below_horizon' -%} {{ weather_execptional_night }} + {%- elif states(weather_entity) == 'clear-night' -%} {{ weather_clear_night }} + {%- endif -%} + + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_printf }}" + data: + cmd: home.weather.pic={{ weather_pic }} + + ##### NSPanel Left Button Name ##### + - if: + - condition: template + value_template: '{{ left_button_name |length > 0 }}' + then: + ### LABEL Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.left_bt_text + message: "{{ left_button_color }}" + ### LABEL Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.left_bt_text + message: "{{ left_button_name }}" + + ##### SET Left Hardware Button PIC on Home Page #### + - if: + - condition: template + value_template: '{{ left_button_entity |length > 0 and states(left_button_entity).state != "unavailable" }}' + then: + - variables: + # Hardware Button PIC + left_hardware_button_state: >- + {%- if states(left_button_entity) == 'off' -%} {{ hardware_button_pic_off }} + {%- elif states(left_button_entity) == 'on' -%} {{ hardware_button_pic_on }} + {%- endif -%} + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_printf }}" + data: + cmd: home.left_bt_pic.pic={{ left_hardware_button_state }} + + ##### NSPanel Right Button Name ##### + - if: + - condition: template + value_template: '{{ right_button_name |length > 0 }}' + then: + ### LABEL Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.right_bt_text + message: "{{ right_button_color }}" + ### LABEL Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.right_bt_text + message: "{{ right_button_name }}" + + ##### SET Right Hardware Button PIC on Home Page ##### + - if: + - condition: template + value_template: '{{ right_button_entity |length > 0 and states(right_button_entity).state != "unavailable" }}' + then: + - variables: + # Hardware Button PIC + right_hardware_button_state: >- + {%- if states(right_button_entity) == 'off' -%} {{ hardware_button_pic_off }} + {%- elif states(right_button_entity) == 'on' -%} {{ hardware_button_pic_on }} + {%- endif -%} + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_printf }}" + data: + cmd: home.right_bt_pic.pic={{ right_hardware_button_state }} + + ##### StatusBar - Climate Symbol ###### + - if: + - condition: template + value_template: '{{ climate |length > 0 }}' + then: + - variables: + chip_climate: >- + {%- if states(climate) == "heat" and state_attr(climate, "hvac_action") != None and state_attr(climate, "hvac_action") == "heating" -%} {{ heat_icon }} + {%- elif states(climate) == "heat" -%} {{ thermostat_icon }} + {%- else -%} {{ blank_icon }} + {%- endif -%} + ### ICON Thermostat Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.icon_top_03 + message: "{{ thermostat_icon_color }}" + ### ICON Thermostat Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.icon_top_03 + message: "{{ chip_climate }}" + + ##### StatusBar - Relay Symbols ###### + - variables: + chip_relay01: >- + {%- if states(relay01_entity) == 'on' -%} {{ relay01_icon }} + {%- else -%} {{ blank_icon}} + {%- endif -%} + chip_relay02: >- + {%- if states(relay02_entity) == 'on' -%} {{ relay02_icon }} + {%- else -%} {{ blank_icon }} + {%- endif -%} + ### ICON Relay01 Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.icon_top_01 + message: "{{ relay01_icon_color }}" + ### ICON Relay01 Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.icon_top_01 + message: "{{ chip_relay01 }}" + + ### ICON Relay02 Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.icon_top_02 + message: "{{ relay02_icon_color }}" + ### ICON Relay02 Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.icon_top_02 + message: "{{ chip_relay02 }}" + + ###### CHIPS 01 - 07 - Statusbar 04 - 10 ###### + - delay: + milliseconds: "{{ delay_value }}" + - repeat: + for_each: + - position: home.icon_top_04 + entity: "{{ chip01 }}" + entity_icon: "{{ chip01_icon }}" + entity_icon_color: "{{ chip01_icon_color }}" + - position: home.icon_top_05 + entity: "{{ chip02 }}" + entity_icon: "{{ chip02_icon }}" + entity_icon_color: "{{ chip02_icon_color }}" + - position: home.icon_top_06 + entity: "{{ chip03 }}" + entity_icon: "{{ chip03_icon }}" + entity_icon_color: "{{ chip03_icon_color }}" + - position: home.icon_top_07 + entity: "{{ chip04 }}" + entity_icon: "{{ chip04_icon }}" + entity_icon_color: "{{ chip04_icon_color }}" + - position: home.icon_top_08 + entity: "{{ chip05 }}" + entity_icon: "{{ chip05_icon }}" + entity_icon_color: "{{ chip05_icon_color }}" + - position: home.icon_top_09 + entity: "{{ chip06 }}" + entity_icon: "{{ chip06_icon }}" + entity_icon_color: "{{ chip06_icon_color }}" + - position: home.icon_top_10 + entity: "{{ chip07 }}" + entity_icon: "{{ chip07_icon }}" + entity_icon_color: "{{ chip07_icon_color }}" + sequence: + - if: + - condition: template + value_template: '{{ repeat.item.entity |length > 0 }}' + then: + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ repeat.item.position }}" + message: "{{ repeat.item.entity_icon_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.position }}" + message: >- + {%- if states(repeat.item.entity) == 'on' -%} {{ repeat.item.entity_icon }} + {%- else -%} {{ blank_icon }} + {%- endif -%} + + ##### HOME VALUE 01 - 03 + - delay: + milliseconds: "{{ delay_value }}" + - repeat: + for_each: + - row: home.value01 + entity: "{{ home_value01 }}" + entity_icon: "{{ home_value01_icon }}" + entity_icon_color: "{{ home_value01_icon_color }}" + entity_label_color: "{{ home_value01_label_color }}" + - row: home.value02 + entity: "{{ home_value02 }}" + entity_icon: "{{ home_value02_icon }}" + entity_icon_color: "{{ home_value02_icon_color }}" + entity_label_color: "{{ home_value02_label_color }}" + - row: home.value03 + entity: "{{ home_value03 }}" + entity_icon: "{{ home_value03_icon }}" + entity_icon_color: "{{ home_value03_icon_color }}" + entity_label_color: "{{ home_value03_label_color }}" + sequence: + - if: + - condition: template + value_template: '{{ repeat.item.entity is match "sensor." and states(repeat.item.entity) != "unavailable" }}' + then: + - if: + - condition: template + value_template: '{{ repeat.item.entity_icon |length > 0 }}' + then: + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ repeat.item.row }}_icon" + message: "{{ repeat.item.entity_icon_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.row }}_icon" + message: "{{ repeat.item.entity_icon }}" + ### LABEL Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ repeat.item.row }}_state" + message: "{{ repeat.item.entity_label_color }}" + ### LABEL Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.row }}_state" + message: '{{ states(repeat.item.entity) |round(1) }}{{ state_attr(repeat.item.entity, "unit_of_measurement") }}' + + ##### Set notify icon ##### + - variables: + set_button04_icon: >- + {%- if is_state(notification_unread, 'on') and states(notification_text) |length > 0 -%} {{ home_button04_icon}} + {%- elif is_state(notification_unread, 'off') and states(notification_text) |length > 0 -%} {{ home_button04_icon }} + {%- else -%} {{ blank_icon }} + {%- endif -%} + set_button04_icon_font: >- + {%- if is_state(notification_unread, 'on') and states(notification_text) |length > 0 -%} {{ home_button04_icon_color01 }} + {%- elif is_state(notification_unread, 'off') and states(notification_text) |length > 0 -%} {{ home_button04_icon_color02 }} + {%- else -%} {{ color_03 }} + {%- endif -%} + ##### SET ICON Font - Notify ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.button04_icon + message: "{{ set_button04_icon }}" + + ##### SET ICON Font Color - Notify ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.button04_icon + message: "{{ set_button04_icon_font }}" + + ###### QR Code - Icon ###### + - if: + - condition: template + value_template: '{{ qrcode_enabled == true }}' + then: + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.button05_icon + message: "{{ home_button05_icon_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + + - service: "{{ command_text_printf }}" + data: + component: home.button05_icon + message: "{{ home_button05_icon }}" + + ###### ENTITIES - Icon ###### + - if: + - condition: template + value_template: '{{ entitypages_enabled }}' + then: + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.button06_icon + message: "{{ home_button06_icon_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + + - service: "{{ command_text_printf }}" + data: + component: home.button06_icon + message: "{{ home_button06_icon }}" + + ###### SHOW All component when page loading done ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_show_all }}" + + ## PAGE BUTTONPAGE01 ## + - conditions: '{{ trigger.event.data.new_state.state == page_buttonpage01 }}' + alias: 'buttonpage01 page' + sequence: + - service: '{{ command_set_settings_entity }}' + data: + entity: 'unknown' + ##### Button Page Label ##### + - if: + - condition: template + value_template: '{{ button_page01_label |length > 0 }}' + then: + - service: "{{ command_text_printf }}" + data: + component: "bpage01_label" + message: "{{ button_page01_label }}" + + ##### NSPanel build buttons Buttonpage01 ##### + - delay: + milliseconds: "{{ delay_value }}" + - repeat: + for_each: + - entity: "{{ entity01 }}" + button_icon: "{{ entity01_icon }}" + button_label: "{{ entity01_name }}" + button_icon_color: "{{ entity01_icon_color }}" + button: buttonpage01.button01 + - entity: "{{ entity02 }}" + button_icon: "{{ entity02_icon }}" + button_label: "{{ entity02_name }}" + button_icon_color: "{{ entity02_icon_color }}" + button: buttonpage01.button02 + - entity: "{{ entity03 }}" + button_icon: "{{ entity03_icon }}" + button_label: "{{ entity03_name }}" + button_icon_color: "{{ entity03_icon_color }}" + button: buttonpage01.button03 + - entity: "{{ entity04 }}" + button_icon: "{{ entity04_icon }}" + button_label: "{{ entity04_name }}" + button_icon_color: "{{ entity04_icon_color }}" + button: buttonpage01.button04 + - entity: "{{ entity05 }}" + button_icon: "{{ entity05_icon }}" + button_label: "{{ entity05_name }}" + button_icon_color: "{{ entity05_icon_color }}" + button: buttonpage01.button05 + - entity: "{{ entity06 }}" + button_icon: "{{ entity06_icon }}" + button_label: "{{ entity06_name }}" + button_icon_color: "{{ entity06_icon_color }}" + button: buttonpage01.button06 + - entity: "{{ entity07 }}" + button_icon: "{{ entity07_icon }}" + button_label: "{{ entity07_name }}" + button_icon_color: "{{ entity07_icon_color }}" + button: buttonpage01.button07 + - entity: "{{ entity08 }}" + button_icon: "{{ entity08_icon }}" + button_label: "{{ entity08_name }}" + button_icon_color: "{{ entity08_icon_color }}" + button: buttonpage01.button08 + sequence: + - if: + - condition: template + value_template: '{{ repeat.item.entity|length > 0 }}' + then: + - variables: + ### component_to_update: "{{ repeat.item.button }}" + current_entity_state: "{{ states[repeat.item.entity].state }}" + # Button PIC GRAY/WHITE + btn_pic: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ button_off }} + {%- elif repeat.item.entity is match "light." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "light." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "switch." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "switch." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "input_boolean." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "input_boolean." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "cover." and current_entity_state == 'open' -%} {{ button_on }} + {%- elif repeat.item.entity is match "cover." and current_entity_state == 'closed' -%} {{ button_off }} + {%- elif repeat.item.entity is match "automation." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "automation." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "button." -%} {{ button_off }} + {%- elif repeat.item.entity is match "input_button." -%} {{ button_off }} + {%- elif repeat.item.entity is match "scene." -%} {{ button_off }} + {%- elif repeat.item.entity is match "script." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "script." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ button_on }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ button_off }} + {%- elif repeat.item.entity is match "binary_sensor." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "binary_sensor." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "fan." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "fan." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ button_on }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ button_off }} + {%- endif -%} + # TEXT, BRIGHTNESS and ICON Background + btn_bg: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "button." or repeat.item.entity is match "input_button." or repeat.item.entity is match "scene." -%} {{ color_02 }} + {%- elif current_entity_state == 'on' or current_entity_state == 'open' -%} {{ color_01 }} + {%- elif current_entity_state == 'off' or current_entity_state == 'closed' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ color_02 }} + {%- endif -%} + # ICON Font Color + btn_icon_font: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ color_05 }} + {%- elif repeat.item.entity is match "button." or repeat.item.entity is match "input_button." or repeat.item.entity is match "scene." -%} {{ color_03 }} + {%- elif current_entity_state == 'on' or current_entity_state == 'open' -%} {{ repeat.item.button_icon_color }} + {%- elif current_entity_state == 'off' or current_entity_state == 'closed' -%} {{ color_03 }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ repeat.item.button_icon_color }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ color_03 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ repeat.item.button_icon_color }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ color_03 }} + {%- endif -%} + # LABEL Font Color + btn_txt_font: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "button." or repeat.item.entity is match "input_button." or repeat.item.entity is match "scene." -%} {{ color_01 }} + {%- elif current_entity_state == 'on' or current_entity_state == 'open' -%} {{ color_02 }} + {%- elif current_entity_state == 'off' or current_entity_state == 'closed' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ color_01 }} + {%- endif -%} + # BRIGHTNESS Font Color + btn_bri_font: "{{ color_02 }}" + # ICON Value + btn_icon: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ button_icon_unknown }} + {%- elif repeat.item.button_icon |length > 0 -%} {{ repeat.item.button_icon }} + {%- elif repeat.item.entity is match "light." -%} {{ button_icon_light }} + {%- elif repeat.item.entity is match "switch." -%} {{ button_icon_switch }} + {%- elif repeat.item.entity is match "input_boolean." -%} {{ button_icon_input_boolan }} + {%- elif repeat.item.entity is match "cover." -%} {{ button_icon_cover }} + {%- elif repeat.item.entity is match "automation." -%} {{ button_icon_automation }} + {%- elif repeat.item.entity is match "button." -%} {{ button_icon_button }} + {%- elif repeat.item.entity is match "input_button." -%} {{ button_icon_input_button }} + {%- elif repeat.item.entity is match "scene." -%} {{ button_icon_screne }} + {%- elif repeat.item.entity is match "script." -%} {{ button_icon_script }} + {%- elif repeat.item.entity is match "person." -%} {{ button_icon_person }} + {%- elif repeat.item.entity is match "binary_sensor." -%} {{ button_icon_binary_sensor }} + {%- elif repeat.item.entity is match "fan." -%} {{ button_icon_fan }} + {%- elif repeat.item.entity is match "climate." -%} {{ button_icon_climate }} + {%- endif -%} + # LABEL Value + btn_label: "{{ repeat.item.button_label }}" + # BRIGHTNESS Value + btn_bri_txt: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} 0 + {%- elif repeat.item.entity is match "light." and current_entity_state == 'on' and state_attr(repeat.item.entity, "brightness") != None -%} {{ (state_attr(repeat.item.entity, "brightness") | int * 100 /255) | round(0) }}% + {%- elif repeat.item.entity is match "cover." and current_entity_state == 'open' and state_attr(repeat.item.entity, "current_position") != None -%} {{ (state_attr(repeat.item.entity, "current_position") | int(100)) | round(0) }}% + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' and state_attr(repeat.item.entity, "current_temperature") != None -%} {{ (state_attr(repeat.item.entity, "current_temperature") | int) | round(0) }}° + {%- else -%} 0 + {%- endif -%} + + ##### SET Buttons Background #### + # + ##### SET Button PIC ##### + - service: "{{ command_printf }}" + data: + cmd: "{{ repeat.item.button }}pic.pic={{ btn_pic }}" + ##### SET ICON Background ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_background_color }}" + data: + component: "{{ repeat.item.button }}icon" + message: "{{ btn_bg }}" + ##### SET LABEL Background ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_background_color }}" + data: + component: "{{ repeat.item.button }}text" + message: "{{ btn_bg }}" + ##### SET BRIGHTNESS Background Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_background_color }}" + data: + component: "{{ repeat.item.button }}bri" + message: "{{ btn_bg }}" + + ##### SET Buttons Font Color #### + # + ##### SET ICON Font Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ repeat.item.button }}icon" + message: "{{ btn_icon_font }}" + ##### SET LABEL Font Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ repeat.item.button }}text" + message: "{{ btn_txt_font }}" + ##### SET BRIGHTNESS Font Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ repeat.item.button }}bri" + message: "{{ btn_bri_font }}" + + ##### SET Buttons Text Value #### + # + ##### "ICON" Value ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}icon" + message: "{{ btn_icon }}" + ##### "LABEL" Value ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}text" + message: "{{ btn_label }}" + + ##### "BRIGHTNESS" Value ##### + - delay: + milliseconds: "{{ delay_value }}" + - if: + - condition: template + value_template: "{{ btn_bri_txt == 0 }}" + then: + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}bri" + message: " " + else: + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}bri" + message: "{{ btn_bri_txt }}" + ###### SHOW All component when page loading done ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_show_all }}" + + ## PAGE BUTTONPAGE02 ## + - conditions: '{{ trigger.event.data.new_state.state == page_buttonpage02 }}' + alias: 'buttonpage02 page' + sequence: + - service: '{{ command_set_settings_entity }}' + data: + entity: 'unknown' + ##### Button Page Label ##### + - if: + - condition: template + value_template: '{{ button_page02_label |length > 0 }}' + then: + - service: "{{ command_text_printf }}" + data: + component: "bpage02_label" + message: "{{ button_page02_label }}" + + ##### NSPanel build buttons Buttonpage01 ##### + - delay: + milliseconds: "{{ delay_value }}" + - repeat: + for_each: + - entity: "{{ entity09 }}" + button_icon: "{{ entity09_icon }}" + button_label: "{{ entity09_name }}" + button_icon_color: "{{ entity09_icon_color }}" + button: buttonpage02.button01 + - entity: "{{ entity10 }}" + button_icon: "{{ entity10_icon }}" + button_label: "{{ entity10_name }}" + button_icon_color: "{{ entity10_icon_color }}" + button: buttonpage02.button02 + - entity: "{{ entity11 }}" + button_icon: "{{ entity11_icon }}" + button_label: "{{ entity11_name }}" + button_icon_color: "{{ entity11_icon_color }}" + button: buttonpage02.button03 + - entity: "{{ entity12 }}" + button_icon: "{{ entity12_icon }}" + button_label: "{{ entity12_name }}" + button_icon_color: "{{ entity12_icon_color }}" + button: buttonpage02.button04 + - entity: "{{ entity13 }}" + button_icon: "{{ entity13_icon }}" + button_label: "{{ entity13_name }}" + button_icon_color: "{{ entity13_icon_color }}" + button: buttonpage02.button05 + - entity: "{{ entity14 }}" + button_icon: "{{ entity14_icon }}" + button_label: "{{ entity14_name }}" + button_icon_color: "{{ entity14_icon_color }}" + button: buttonpage02.button06 + - entity: "{{ entity15 }}" + button_icon: "{{ entity15_icon }}" + button_label: "{{ entity15_name }}" + button_icon_color: "{{ entity15_icon_color }}" + button: buttonpage02.button07 + - entity: "{{ entity16 }}" + button_icon: "{{ entity16_icon }}" + button_label: "{{ entity16_name }}" + button_icon_color: "{{ entity16_icon_color }}" + button: buttonpage02.button08 + sequence: + - if: + - condition: template + value_template: '{{ repeat.item.entity|length > 0 }}' + then: + - variables: + ### component_to_update: "{{ repeat.item.button }}" + current_entity_state: "{{ states[repeat.item.entity].state }}" + # Button PIC GRAY/WHITE + btn_pic: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ button_off }} + {%- elif repeat.item.entity is match "light." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "light." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "switch." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "switch." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "input_boolean." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "input_boolean." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "cover." and current_entity_state == 'open' -%} {{ button_on }} + {%- elif repeat.item.entity is match "cover." and current_entity_state == 'closed' -%} {{ button_off }} + {%- elif repeat.item.entity is match "automation." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "automation." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "button." -%} {{ button_off }} + {%- elif repeat.item.entity is match "input_button." -%} {{ button_off }} + {%- elif repeat.item.entity is match "scene." -%} {{ button_off }} + {%- elif repeat.item.entity is match "script." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "script." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ button_on }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ button_off }} + {%- elif repeat.item.entity is match "binary_sensor." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "binary_sensor." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "fan." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "fan." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ button_on }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ button_off }} + {%- endif -%} + # TEXT, BRIGHTNESS and ICON Background + btn_bg: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "button." or repeat.item.entity is match "input_button." or repeat.item.entity is match "scene." -%} {{ color_02 }} + {%- elif current_entity_state == 'on' or current_entity_state == 'open' -%} {{ color_01 }} + {%- elif current_entity_state == 'off' or current_entity_state == 'closed' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ color_02 }} + {%- endif -%} + # ICON Font Color + btn_icon_font: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ color_05 }} + {%- elif repeat.item.entity is match "button." or repeat.item.entity is match "input_button." or repeat.item.entity is match "scene." -%} {{ color_03 }} + {%- elif current_entity_state == 'on' or current_entity_state == 'open' -%} {{ repeat.item.button_icon_color }} + {%- elif current_entity_state == 'off' or current_entity_state == 'closed' -%} {{ color_03 }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ repeat.item.button_icon_color }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ color_03 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ repeat.item.button_icon_color }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ color_03 }} + {%- endif -%} + # LABEL Font Color + btn_txt_font: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "button." or repeat.item.entity is match "input_button." or repeat.item.entity is match "scene." -%} {{ color_01 }} + {%- elif current_entity_state == 'on' or current_entity_state == 'open' -%} {{ color_02 }} + {%- elif current_entity_state == 'off' or current_entity_state == 'closed' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ color_01 }} + {%- endif -%} + # BRIGHTNESS Font Color + btn_bri_font: "{{ color_02 }}" + # ICON Value + btn_icon: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ button_icon_unknown }} + {%- elif repeat.item.button_icon |length > 0 -%} {{ repeat.item.button_icon }} + {%- elif repeat.item.entity is match "light." -%} {{ button_icon_light }} + {%- elif repeat.item.entity is match "switch." -%} {{ button_icon_switch }} + {%- elif repeat.item.entity is match "input_boolean." -%} {{ button_icon_input_boolan }} + {%- elif repeat.item.entity is match "cover." -%} {{ button_icon_cover }} + {%- elif repeat.item.entity is match "automation." -%} {{ button_icon_automation }} + {%- elif repeat.item.entity is match "button." -%} {{ button_icon_button }} + {%- elif repeat.item.entity is match "input_button." -%} {{ button_icon_input_button }} + {%- elif repeat.item.entity is match "scene." -%} {{ button_icon_screne }} + {%- elif repeat.item.entity is match "script." -%} {{ button_icon_script }} + {%- elif repeat.item.entity is match "person." -%} {{ button_icon_person }} + {%- elif repeat.item.entity is match "binary_sensor." -%} {{ button_icon_binary_sensor }} + {%- elif repeat.item.entity is match "fan." -%} {{ button_icon_fan }} + {%- elif repeat.item.entity is match "climate." -%} {{ button_icon_climate }} + {%- endif -%} + # LABEL Value + btn_label: "{{ repeat.item.button_label }}" + # BRIGHTNESS Value + btn_bri_txt: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} 0 + {%- elif repeat.item.entity is match "light." and current_entity_state == 'on' and state_attr(repeat.item.entity, "brightness") != None -%} {{ (state_attr(repeat.item.entity, "brightness") | int * 100 /255) | round(0) }}% + {%- elif repeat.item.entity is match "cover." and current_entity_state == 'open' and state_attr(repeat.item.entity, "current_position") != None -%} {{ (state_attr(repeat.item.entity, "current_position") | int(100)) | round(0) }}% + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' and state_attr(repeat.item.entity, "current_temperature") != None -%} {{ (state_attr(repeat.item.entity, "current_temperature") | int) | round(0) }}° + {%- else -%} 0 + {%- endif -%} + + ##### SET Buttons Background #### + # + ##### SET Button PIC ##### + - service: "{{ command_printf }}" + data: + cmd: "{{ repeat.item.button }}pic.pic={{ btn_pic }}" + ##### SET ICON Background ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_background_color }}" + data: + component: "{{ repeat.item.button }}icon" + message: "{{ btn_bg }}" + ##### SET LABEL Background ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_background_color }}" + data: + component: "{{ repeat.item.button }}text" + message: "{{ btn_bg }}" + ##### SET BRIGHTNESS Background Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_background_color }}" + data: + component: "{{ repeat.item.button }}bri" + message: "{{ btn_bg }}" + + ##### SET Buttons Font Color #### + # + ##### SET ICON Font Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ repeat.item.button }}icon" + message: "{{ btn_icon_font }}" + ##### SET LABEL Font Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ repeat.item.button }}text" + message: "{{ btn_txt_font }}" + ##### SET BRIGHTNESS Font Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ repeat.item.button }}bri" + message: "{{ btn_bri_font }}" + + ##### SET Buttons Text Value #### + # + ##### "ICON" Value ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}icon" + message: "{{ btn_icon }}" + ##### "LABEL" Value ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}text" + message: "{{ btn_label }}" + + ##### "BRIGHTNESS" Value ##### + - delay: + milliseconds: "{{ delay_value }}" + - if: + - condition: template + value_template: "{{ btn_bri_txt == 0 }}" + then: + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}bri" + message: " " + else: + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}bri" + message: "{{ btn_bri_txt }}" + ###### SHOW All component when page loading done ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_show_all }}" + + ## PAGE BUTTONPAGE03 ## + - conditions: '{{ trigger.event.data.new_state.state == page_buttonpage03 }}' + alias: 'buttonpage03 page' + sequence: + - service: '{{ command_set_settings_entity }}' + data: + entity: 'unknown' + ##### Button Page Label ##### + - if: + - condition: template + value_template: '{{ button_page03_label |length > 0 }}' + then: + - service: "{{ command_text_printf }}" + data: + component: "bpage03_label" + message: "{{ button_page03_label }}" + + ##### NSPanel build buttons Buttonpage01 ##### + - delay: + milliseconds: "{{ delay_value }}" + - repeat: + for_each: + - entity: "{{ entity17 }}" + button_icon: "{{ entity17_icon }}" + button_label: "{{ entity17_name }}" + button_icon_color: "{{ entity17_icon_color }}" + button: buttonpage03.button01 + - entity: "{{ entity18 }}" + button_icon: "{{ entity18_icon }}" + button_label: "{{ entity18_name }}" + button_icon_color: "{{ entity18_icon_color }}" + button: buttonpage03.button02 + - entity: "{{ entity19 }}" + button_icon: "{{ entity19_icon }}" + button_label: "{{ entity19_name }}" + button_icon_color: "{{ entity19_icon_color }}" + button: buttonpage03.button03 + - entity: "{{ entity20 }}" + button_icon: "{{ entity20_icon }}" + button_label: "{{ entity20_name }}" + button_icon_color: "{{ entity20_icon_color }}" + button: buttonpage03.button04 + - entity: "{{ entity21 }}" + button_icon: "{{ entity21_icon }}" + button_label: "{{ entity21_name }}" + button_icon_color: "{{ entity21_icon_color }}" + button: buttonpage03.button05 + - entity: "{{ entity22 }}" + button_icon: "{{ entity22_icon }}" + button_label: "{{ entity22_name }}" + button_icon_color: "{{ entity22_icon_color }}" + button: buttonpage03.button06 + - entity: "{{ entity23 }}" + button_icon: "{{ entity23_icon }}" + button_label: "{{ entity23_name }}" + button_icon_color: "{{ entity23_icon_color }}" + button: buttonpage03.button07 + - entity: "{{ entity24 }}" + button_icon: "{{ entity24_icon }}" + button_label: "{{ entity24_name }}" + button_icon_color: "{{ entity24_icon_color }}" + button: buttonpage03.button08 + sequence: + - if: + - condition: template + value_template: '{{ repeat.item.entity|length > 0 }}' + then: + - variables: + ### component_to_update: "{{ repeat.item.button }}" + current_entity_state: "{{ states[repeat.item.entity].state }}" + # Button PIC GRAY/WHITE + btn_pic: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ button_off }} + {%- elif repeat.item.entity is match "light." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "light." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "switch." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "switch." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "input_boolean." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "input_boolean." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "cover." and current_entity_state == 'open' -%} {{ button_on }} + {%- elif repeat.item.entity is match "cover." and current_entity_state == 'closed' -%} {{ button_off }} + {%- elif repeat.item.entity is match "automation." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "automation." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "button." -%} {{ button_off }} + {%- elif repeat.item.entity is match "input_button." -%} {{ button_off }} + {%- elif repeat.item.entity is match "scene." -%} {{ button_off }} + {%- elif repeat.item.entity is match "script." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "script." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ button_on }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ button_off }} + {%- elif repeat.item.entity is match "binary_sensor." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "binary_sensor." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "fan." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "fan." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ button_on }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ button_off }} + {%- endif -%} + # TEXT, BRIGHTNESS and ICON Background + btn_bg: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "button." or repeat.item.entity is match "input_button." or repeat.item.entity is match "scene." -%} {{ color_02 }} + {%- elif current_entity_state == 'on' or current_entity_state == 'open' -%} {{ color_01 }} + {%- elif current_entity_state == 'off' or current_entity_state == 'closed' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ color_02 }} + {%- endif -%} + # ICON Font Color + btn_icon_font: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ color_05 }} + {%- elif repeat.item.entity is match "button." or repeat.item.entity is match "input_button." or repeat.item.entity is match "scene." -%} {{ color_03 }} + {%- elif current_entity_state == 'on' or current_entity_state == 'open' -%} {{ repeat.item.button_icon_color }} + {%- elif current_entity_state == 'off' or current_entity_state == 'closed' -%} {{ color_03 }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ repeat.item.button_icon_color }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ color_03 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ repeat.item.button_icon_color }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ color_03 }} + {%- endif -%} + # LABEL Font Color + btn_txt_font: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "button." or repeat.item.entity is match "input_button." or repeat.item.entity is match "scene." -%} {{ color_01 }} + {%- elif current_entity_state == 'on' or current_entity_state == 'open' -%} {{ color_02 }} + {%- elif current_entity_state == 'off' or current_entity_state == 'closed' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ color_01 }} + {%- endif -%} + # BRIGHTNESS Font Color + btn_bri_font: "{{ color_02 }}" + # ICON Value + btn_icon: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ button_icon_unknown }} + {%- elif repeat.item.button_icon |length > 0 -%} {{ repeat.item.button_icon }} + {%- elif repeat.item.entity is match "light." -%} {{ button_icon_light }} + {%- elif repeat.item.entity is match "switch." -%} {{ button_icon_switch }} + {%- elif repeat.item.entity is match "input_boolean." -%} {{ button_icon_input_boolan }} + {%- elif repeat.item.entity is match "cover." -%} {{ button_icon_cover }} + {%- elif repeat.item.entity is match "automation." -%} {{ button_icon_automation }} + {%- elif repeat.item.entity is match "button." -%} {{ button_icon_button }} + {%- elif repeat.item.entity is match "input_button." -%} {{ button_icon_input_button }} + {%- elif repeat.item.entity is match "scene." -%} {{ button_icon_screne }} + {%- elif repeat.item.entity is match "script." -%} {{ button_icon_script }} + {%- elif repeat.item.entity is match "person." -%} {{ button_icon_person }} + {%- elif repeat.item.entity is match "binary_sensor." -%} {{ button_icon_binary_sensor }} + {%- elif repeat.item.entity is match "fan." -%} {{ button_icon_fan }} + {%- elif repeat.item.entity is match "climate." -%} {{ button_icon_climate }} + {%- endif -%} + # LABEL Value + btn_label: "{{ repeat.item.button_label }}" + # BRIGHTNESS Value + btn_bri_txt: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} 0 + {%- elif repeat.item.entity is match "light." and current_entity_state == 'on' and state_attr(repeat.item.entity, "brightness") != None -%} {{ (state_attr(repeat.item.entity, "brightness") | int * 100 /255) | round(0) }}% + {%- elif repeat.item.entity is match "cover." and current_entity_state == 'open' and state_attr(repeat.item.entity, "current_position") != None -%} {{ (state_attr(repeat.item.entity, "current_position") | int(100)) | round(0) }}% + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' and state_attr(repeat.item.entity, "current_temperature") != None -%} {{ (state_attr(repeat.item.entity, "current_temperature") | int) | round(0) }}° + {%- else -%} 0 + {%- endif -%} + + ##### SET Buttons Background #### + # + ##### SET Button PIC ##### + - service: "{{ command_printf }}" + data: + cmd: "{{ repeat.item.button }}pic.pic={{ btn_pic }}" + ##### SET ICON Background ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_background_color }}" + data: + component: "{{ repeat.item.button }}icon" + message: "{{ btn_bg }}" + ##### SET LABEL Background ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_background_color }}" + data: + component: "{{ repeat.item.button }}text" + message: "{{ btn_bg }}" + ##### SET BRIGHTNESS Background Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_background_color }}" + data: + component: "{{ repeat.item.button }}bri" + message: "{{ btn_bg }}" + + ##### SET Buttons Font Color #### + # + ##### SET ICON Font Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ repeat.item.button }}icon" + message: "{{ btn_icon_font }}" + ##### SET LABEL Font Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ repeat.item.button }}text" + message: "{{ btn_txt_font }}" + ##### SET BRIGHTNESS Font Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ repeat.item.button }}bri" + message: "{{ btn_bri_font }}" + + ##### SET Buttons Text Value #### + # + ##### "ICON" Value ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}icon" + message: "{{ btn_icon }}" + ##### "LABEL" Value ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}text" + message: "{{ btn_label }}" + + ##### "BRIGHTNESS" Value ##### + - delay: + milliseconds: "{{ delay_value }}" + - if: + - condition: template + value_template: "{{ btn_bri_txt == 0 }}" + then: + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}bri" + message: " " + else: + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}bri" + message: "{{ btn_bri_txt }}" + ###### SHOW All component when page loading done ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_show_all }}" + + ## PAGE BUTTONPAGE04 ## + - conditions: '{{ trigger.event.data.new_state.state == page_buttonpage04 }}' + alias: 'buttonpage04 page' + sequence: + - service: '{{ command_set_settings_entity }}' + data: + entity: 'unknown' + ##### Button Page Label ##### + - if: + - condition: template + value_template: '{{ button_page04_label |length > 0 }}' + then: + - service: "{{ command_text_printf }}" + data: + component: "bpage04_label" + message: "{{ button_page04_label }}" + + ##### NSPanel build buttons Buttonpage01 ##### + - delay: + milliseconds: "{{ delay_value }}" + - repeat: + for_each: + - entity: "{{ entity25 }}" + button_icon: "{{ entity25_icon }}" + button_label: "{{ entity25_name }}" + button_icon_color: "{{ entity25_icon_color }}" + button: buttonpage04.button01 + - entity: "{{ entity26 }}" + button_icon: "{{ entity26_icon }}" + button_label: "{{ entity26_name }}" + button_icon_color: "{{ entity26_icon_color }}" + button: buttonpage04.button02 + - entity: "{{ entity27 }}" + button_icon: "{{ entity27_icon }}" + button_label: "{{ entity27_name }}" + button_icon_color: "{{ entity27_icon_color }}" + button: buttonpage04.button03 + - entity: "{{ entity28 }}" + button_icon: "{{ entity28_icon }}" + button_label: "{{ entity28_name }}" + button_icon_color: "{{ entity28_icon_color }}" + button: buttonpage04.button04 + - entity: "{{ entity29 }}" + button_icon: "{{ entity29_icon }}" + button_label: "{{ entity29_name }}" + button_icon_color: "{{ entity29_icon_color }}" + button: buttonpage04.button05 + - entity: "{{ entity30 }}" + button_icon: "{{ entity30_icon }}" + button_label: "{{ entity30_name }}" + button_icon_color: "{{ entity30_icon_color }}" + button: buttonpage04.button06 + - entity: "{{ entity31 }}" + button_icon: "{{ entity31_icon }}" + button_label: "{{ entity31_name }}" + button_icon_color: "{{ entity31_icon_color }}" + button: buttonpage04.button07 + - entity: "{{ entity32 }}" + button_icon: "{{ entity32_icon }}" + button_label: "{{ entity32_name }}" + button_icon_color: "{{ entity32_icon_color }}" + button: buttonpage04.button08 + sequence: + - if: + - condition: template + value_template: '{{ repeat.item.entity|length > 0 }}' + then: + - variables: + ### component_to_update: "{{ repeat.item.button }}" + current_entity_state: "{{ states[repeat.item.entity].state }}" + # Button PIC GRAY/WHITE + btn_pic: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ button_off }} + {%- elif repeat.item.entity is match "light." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "light." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "switch." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "switch." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "input_boolean." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "input_boolean." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "cover." and current_entity_state == 'open' -%} {{ button_on }} + {%- elif repeat.item.entity is match "cover." and current_entity_state == 'closed' -%} {{ button_off }} + {%- elif repeat.item.entity is match "automation." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "automation." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "button." -%} {{ button_off }} + {%- elif repeat.item.entity is match "input_button." -%} {{ button_off }} + {%- elif repeat.item.entity is match "scene." -%} {{ button_off }} + {%- elif repeat.item.entity is match "script." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "script." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ button_on }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ button_off }} + {%- elif repeat.item.entity is match "binary_sensor." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "binary_sensor." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "fan." and current_entity_state == 'on' -%} {{ button_on }} + {%- elif repeat.item.entity is match "fan." and current_entity_state == 'off' -%} {{ button_off }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ button_on }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ button_off }} + {%- endif -%} + # TEXT, BRIGHTNESS and ICON Background + btn_bg: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "button." or repeat.item.entity is match "input_button." or repeat.item.entity is match "scene." -%} {{ color_02 }} + {%- elif current_entity_state == 'on' or current_entity_state == 'open' -%} {{ color_01 }} + {%- elif current_entity_state == 'off' or current_entity_state == 'closed' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ color_02 }} + {%- endif -%} + # ICON Font Color + btn_icon_font: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ color_05 }} + {%- elif repeat.item.entity is match "button." or repeat.item.entity is match "input_button." or repeat.item.entity is match "scene." -%} {{ color_03 }} + {%- elif current_entity_state == 'on' or current_entity_state == 'open' -%} {{ repeat.item.button_icon_color }} + {%- elif current_entity_state == 'off' or current_entity_state == 'closed' -%} {{ color_03 }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ repeat.item.button_icon_color }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ color_03 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ repeat.item.button_icon_color }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ color_03 }} + {%- endif -%} + # LABEL Font Color + btn_txt_font: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "button." or repeat.item.entity is match "input_button." or repeat.item.entity is match "scene." -%} {{ color_01 }} + {%- elif current_entity_state == 'on' or current_entity_state == 'open' -%} {{ color_02 }} + {%- elif current_entity_state == 'off' or current_entity_state == 'closed' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "person." and current_entity_state == 'home' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "person." and current_entity_state != 'home' -%} {{ color_01 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' -%} {{ color_02 }} + {%- elif repeat.item.entity is match "climate." and current_entity_state == 'off' -%} {{ color_01 }} + {%- endif -%} + # BRIGHTNESS Font Color + btn_bri_font: "{{ color_02 }}" + # ICON Value + btn_icon: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} {{ button_icon_unknown }} + {%- elif repeat.item.button_icon |length > 0 -%} {{ repeat.item.button_icon }} + {%- elif repeat.item.entity is match "light." -%} {{ button_icon_light }} + {%- elif repeat.item.entity is match "switch." -%} {{ button_icon_switch }} + {%- elif repeat.item.entity is match "input_boolean." -%} {{ button_icon_input_boolan }} + {%- elif repeat.item.entity is match "cover." -%} {{ button_icon_cover }} + {%- elif repeat.item.entity is match "automation." -%} {{ button_icon_automation }} + {%- elif repeat.item.entity is match "button." -%} {{ button_icon_button }} + {%- elif repeat.item.entity is match "input_button." -%} {{ button_icon_input_button }} + {%- elif repeat.item.entity is match "scene." -%} {{ button_icon_screne }} + {%- elif repeat.item.entity is match "script." -%} {{ button_icon_script }} + {%- elif repeat.item.entity is match "person." -%} {{ button_icon_person }} + {%- elif repeat.item.entity is match "binary_sensor." -%} {{ button_icon_binary_sensor }} + {%- elif repeat.item.entity is match "fan." -%} {{ button_icon_fan }} + {%- elif repeat.item.entity is match "climate." -%} {{ button_icon_climate }} + {%- endif -%} + # LABEL Value + btn_label: "{{ repeat.item.button_label }}" + # BRIGHTNESS Value + btn_bri_txt: >- + {%- if current_entity_state == 'unknown' or current_entity_state == 'unavailable' -%} 0 + {%- elif repeat.item.entity is match "light." and current_entity_state == 'on' and state_attr(repeat.item.entity, "brightness") != None -%} {{ (state_attr(repeat.item.entity, "brightness") | int * 100 /255) | round(0) }}% + {%- elif repeat.item.entity is match "cover." and current_entity_state == 'open' and state_attr(repeat.item.entity, "current_position") != None -%} {{ (state_attr(repeat.item.entity, "current_position") | int(100)) | round(0) }}% + {%- elif repeat.item.entity is match "climate." and current_entity_state != 'off' and state_attr(repeat.item.entity, "current_temperature") != None -%} {{ (state_attr(repeat.item.entity, "current_temperature") | int) | round(0) }}° + {%- else -%} 0 + {%- endif -%} + + ##### SET Buttons Background #### + # + ##### SET Button PIC ##### + - service: "{{ command_printf }}" + data: + cmd: "{{ repeat.item.button }}pic.pic={{ btn_pic }}" + ##### SET ICON Background ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_background_color }}" + data: + component: "{{ repeat.item.button }}icon" + message: "{{ btn_bg }}" + ##### SET LABEL Background ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_background_color }}" + data: + component: "{{ repeat.item.button }}text" + message: "{{ btn_bg }}" + ##### SET BRIGHTNESS Background Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_background_color }}" + data: + component: "{{ repeat.item.button }}bri" + message: "{{ btn_bg }}" + + ##### SET Buttons Font Color #### + # + ##### SET ICON Font Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ repeat.item.button }}icon" + message: "{{ btn_icon_font }}" + ##### SET LABEL Font Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ repeat.item.button }}text" + message: "{{ btn_txt_font }}" + ##### SET BRIGHTNESS Font Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ repeat.item.button }}bri" + message: "{{ btn_bri_font }}" + + ##### SET Buttons Text Value #### + # + ##### "ICON" Value ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}icon" + message: "{{ btn_icon }}" + ##### "LABEL" Value ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}text" + message: "{{ btn_label }}" + + ##### "BRIGHTNESS" Value ##### + - delay: + milliseconds: "{{ delay_value }}" + - if: + - condition: template + value_template: "{{ btn_bri_txt == 0 }}" + then: + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}bri" + message: " " + else: + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.button }}bri" + message: "{{ btn_bri_txt }}" + ###### SHOW All component when page loading done ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_show_all }}" + + ## PAGE LIGHTSETTUNGS ## + - conditions: '{{ trigger.event.data.new_state.state == page_lightsettings }}' + alias: 'lightsettings page' + sequence: + - service: "{{ command_text_printf }}" + data: + component: lightsettings.light_name + message: '{{ entity_long_name }}' + ##### LIGHT ICON - ON / OFF ##### + - variables: + lightsettings_icon_font: >- + {%- if entity_long_icon |length > 0 -%} {{ entity_long_icon }} + {%- else -%} {{ button_icon_light }} + {%- endif -%} + lightsettings_icon_font_color: >- + {%- if states(entity_long) == 'on' -%} {{ entity_long_icon_color }} + {%- else -%} {{ color_03 }} + {%- endif -%} + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: lightsettings.icon_state + message: "{{ lightsettings_icon_font }}" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: lightsettings.icon_state + message: "{{ lightsettings_icon_font_color }}" + ##### LIGHT State ##### + - choose: + - delay: + milliseconds: "{{ delay_value }}" + - if: + - condition: template + value_template: "{{ state_attr(entity_long, 'brightness') != none }}" + then: + - service: "{{ command_value }}" + data: + component: lightsettings.lightslider + message: '{{ (state_attr(entity_long, "brightness") | int * 100 / 255) |round(0) }}' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: lightsettings.light_value + message: '{{ (state_attr(entity_long, "brightness") | int * 100 / 255) | round(0) }}%' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: lightsettings.light_value_2 + message: '{{ (state_attr(entity_long, "brightness") | int * 100 /255) | round(0) }}%' + else: + - service: "{{ command_value }}" + data: + component: lightsettings.lightslider + message: '0' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: lightsettings.light_value + message: '0 %' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: lightsettings.light_value_2 + message: '0 %' + + ##### LIGHT Check Color_Temp Value is available when yes send some current Values ##### + - if: + - condition: template + value_template: "{{ state_attr(entity_long, 'color_temp') != none }}" + then: + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: lightsettings.temp_value + message: '{{ (state_attr(entity_long, "color_temp") | int ) |round(0) }}' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: lightsettings.temp_value_2 + message: '{{ (state_attr(entity_long, "color_temp") | int ) |round(0) }}' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_value }}" + data: + component: lightsettings.tempslider + message: '{{ (state_attr(entity_long, "color_temp") | int ) |round(0) }}' + + ## PAGE COVERSETTINGS ## + - conditions: '{{ trigger.event.data.new_state.state == page_coversettings }}' + alias: 'coversettings page' + sequence: + ##### COVER - OPEN / CLOSE ##### + - variables: + coversettings_icon_font: >- + {%- if entity_long_icon |length > 0 -%} {{ entity_long_icon }} + {%- else -%} {{ button_icon_cover }} + {%- endif -%} + coversettings_icon_font_color: >- + {%- if states(entity_long) == 'open' -%} {{ entity_long_icon_color }} + {%- else -%} {{ color_03 }} + {%- endif -%} + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: coversettings.icon_state + message: "{{ coversettings_icon_font }}" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: coversettings.icon_state + message: "{{ coversettings_icon_font_color }}" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: coversettings.cover_name + message: '{{ entity_long_name }}' + + ##### COVER State + - service: "{{ command_value }}" + data: + component: coversettings.coverslider + message: '{{ (state_attr(entity_long, "current_position") | int ) |round(0) }}' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: coversettings.cover_value + message: '{{ (state_attr(entity_long, "current_position") | int ) |round(0) }} %' + + ##### COVER Battery ICON Yes / NO ##### + - if: + - condition: template + value_template: "{{ state_attr(entity_long, 'battery') != none }}" + then: + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: coversettings.battery_value + message: '{{ (state_attr(entity_long, "battery") | int ) |round(0) }} %' + ### ICON Battery Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: coversettings.battery_icon + message: "{{ battery_icon_color }}" + ### ICON Battery Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: coversettings.battery_icon + message: "{{ battery_icon }}" + + ## ENTITY PAGE 01 ## + - conditions: '{{ trigger.event.data.new_state.state == page_entitypage01 }}' + alias: 'entity01 page' + sequence: + ##### ENTITY Page Label ##### + - if: + - condition: template + value_template: '{{ entity_page01_label |length > 0 }}' + then: + - service: "{{ command_text_printf }}" + data: + component: "entity01_label" + message: "{{ entity_page01_label }}" + ##### Entities ##### + - delay: + milliseconds: "{{ delay_value }}" + - repeat: + for_each: + - row: entitypage01.value01 + entity: "{{ entities_entity01 }}" + entity_name: "{{ entities_entity01_name }}" + entity_icon: "{{ entities_entity01_icon }}" + - row: entitypage01.value02 + entity: "{{ entities_entity02 }}" + entity_name: "{{ entities_entity02_name }}" + entity_icon: "{{ entities_entity02_icon }}" + - row: entitypage01.value03 + entity: "{{ entities_entity03 }}" + entity_name: "{{ entities_entity03_name }}" + entity_icon: "{{ entities_entity03_icon }}" + - row: entitypage01.value04 + entity: "{{ entities_entity04 }}" + entity_name: "{{ entities_entity04_name }}" + entity_icon: "{{ entities_entity04_icon }}" + - row: entitypage01.value05 + entity: "{{ entities_entity05 }}" + entity_name: "{{ entities_entity05_name }}" + entity_icon: "{{ entities_entity05_icon }}" + - row: entitypage01.value06 + entity: "{{ entities_entity06 }}" + entity_name: "{{ entities_entity06_name }}" + entity_icon: "{{ entities_entity06_icon }}" + - row: entitypage01.value07 + entity: "{{ entities_entity07 }}" + entity_name: "{{ entities_entity07_name }}" + entity_icon: "{{ entities_entity07_icon }}" + - row: entitypage01.value08 + entity: "{{ entities_entity08 }}" + entity_name: "{{ entities_entity08_name }}" + entity_icon: "{{ entities_entity08_icon }}" + + sequence: + - if: + - condition: template + value_template: '{{ repeat.item.entity|length > 0 }}' + then: + - if: + - condition: template + value_template: '{{ repeat.item.entity_icon |length > 0 }}' + then: + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.row }}_pic" + message: "{{ repeat.item.entity_icon }}" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.row }}_label" + message: >- + {%- if repeat.item.entity_name |length > 0 -%} {{ repeat.item.entity_name }} + {%- elif states(repeat.item.entity) == 'unavailable' -%} {{ repeat.item.entity }} + {%- else -%} {{ state_attr(repeat.item.entity, "friendly_name")| default('no name') }} + {%- endif -%} + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.row }}" + #message: '{{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement")| default("") }}' + message: >- + {%- if state_attr(repeat.item.entity, "unit_of_measurement") == None -%} + {{ states(repeat.item.entity) }} + {%- else -%} + {{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement") }} + {%- endif -%} + + ## ENTITY PAGE 02 ## + - conditions: '{{ trigger.event.data.new_state.state == page_entitypage02 }}' + alias: 'entity02 page' + sequence: + ##### ENTITY Page Label ##### + - if: + - condition: template + value_template: '{{ entity_page02_label |length > 0 }}' + then: + - service: "{{ command_text_printf }}" + data: + component: "entity02_label" + message: "{{ entity_page02_label }}" + ##### Entities ##### + - delay: + milliseconds: "{{ delay_value }}" + - repeat: + for_each: + - row: entitypage02.value01 + entity: "{{ entities_entity09 }}" + entity_name: "{{ entities_entity09_name }}" + entity_icon: "{{ entities_entity09_icon }}" + - row: entitypage02.value02 + entity: "{{ entities_entity10 }}" + entity_name: "{{ entities_entity10_name }}" + entity_icon: "{{ entities_entity10_icon }}" + - row: entitypage02.value03 + entity: "{{ entities_entity11 }}" + entity_name: "{{ entities_entity11_name }}" + entity_icon: "{{ entities_entity11_icon }}" + - row: entitypage02.value04 + entity: "{{ entities_entity12 }}" + entity_name: "{{ entities_entity12_name }}" + entity_icon: "{{ entities_entity12_icon }}" + - row: entitypage02.value05 + entity: "{{ entities_entity13 }}" + entity_name: "{{ entities_entity13_name }}" + entity_icon: "{{ entities_entity13_icon }}" + - row: entitypage02.value06 + entity: "{{ entities_entity14 }}" + entity_name: "{{ entities_entity14_name }}" + entity_icon: "{{ entities_entity14_icon }}" + - row: entitypage02.value07 + entity: "{{ entities_entity15 }}" + entity_name: "{{ entities_entity15_name }}" + entity_icon: "{{ entities_entity15_icon }}" + - row: entitypage02.value08 + entity: "{{ entities_entity16 }}" + entity_name: "{{ entities_entity16_name }}" + entity_icon: "{{ entities_entity16_icon }}" + + sequence: + - if: + - condition: template + value_template: '{{ repeat.item.entity|length > 0 }}' + then: + - if: + - condition: template + value_template: '{{ repeat.item.entity_icon |length > 0 }}' + then: + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.row }}_pic" + message: "{{ repeat.item.entity_icon }}" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.row }}_label" + message: >- + {%- if repeat.item.entity_name |length > 0 -%} {{ repeat.item.entity_name }} + {%- elif states(repeat.item.entity) == 'unavailable' -%} {{ repeat.item.entity }} + {%- else -%} {{ state_attr(repeat.item.entity, "friendly_name")| default('no name') }} + {%- endif -%} + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.row }}" + #message: '{{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement")| default("") }}' + message: >- + {%- if state_attr(repeat.item.entity, "unit_of_measurement") == None -%} + {{ states(repeat.item.entity) }} + {%- else -%} + {{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement") }} + {%- endif -%} + + ## ENTITY PAGE 03 ## + - conditions: '{{ trigger.event.data.new_state.state == page_entitypage03 }}' + alias: 'entity03 page' + sequence: + ##### ENTITY Page Label ##### + - if: + - condition: template + value_template: '{{ entity_page03_label |length > 0 }}' + then: + - service: "{{ command_text_printf }}" + data: + component: "entity03_label" + message: "{{ entity_page03_label }}" + ##### Entities ##### + - delay: + milliseconds: "{{ delay_value }}" + - repeat: + for_each: + - row: entitypage03.value01 + entity: "{{ entities_entity17 }}" + entity_name: "{{ entities_entity17_name }}" + entity_icon: "{{ entities_entity17_icon }}" + - row: entitypage03.value02 + entity: "{{ entities_entity18 }}" + entity_name: "{{ entities_entity18_name }}" + entity_icon: "{{ entities_entity18_icon }}" + - row: entitypage03.value03 + entity: "{{ entities_entity19 }}" + entity_name: "{{ entities_entity19_name }}" + entity_icon: "{{ entities_entity19_icon }}" + - row: entitypage03.value04 + entity: "{{ entities_entity20 }}" + entity_name: "{{ entities_entity20_name }}" + entity_icon: "{{ entities_entity20_icon }}" + - row: entitypage03.value05 + entity: "{{ entities_entity21 }}" + entity_name: "{{ entities_entity21_name }}" + entity_icon: "{{ entities_entity21_icon }}" + - row: entitypage03.value06 + entity: "{{ entities_entity22 }}" + entity_name: "{{ entities_entity22_name }}" + entity_icon: "{{ entities_entity22_icon }}" + - row: entitypage03.value07 + entity: "{{ entities_entity23 }}" + entity_name: "{{ entities_entity23_name }}" + entity_icon: "{{ entities_entity23_icon }}" + - row: entitypage03.value08 + entity: "{{ entities_entity24 }}" + entity_name: "{{ entities_entity24_name }}" + entity_icon: "{{ entities_entity24_icon }}" + + sequence: + - if: + - condition: template + value_template: '{{ repeat.item.entity|length > 0 }}' + then: + - if: + - condition: template + value_template: '{{ repeat.item.entity_icon |length > 0 }}' + then: + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.row }}_pic" + message: "{{ repeat.item.entity_icon }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.row }}_label" + message: >- + {%- if repeat.item.entity_name |length > 0 -%} {{ repeat.item.entity_name }} + {%- elif states(repeat.item.entity) == 'unavailable' -%} {{ repeat.item.entity }} + {%- else -%} {{ state_attr(repeat.item.entity, "friendly_name")| default('no name') }} + {%- endif -%} + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.row }}" + #message: '{{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement")| default("") }}' + message: >- + {%- if state_attr(repeat.item.entity, "unit_of_measurement") == None -%} + {{ states(repeat.item.entity) }} + {%- else -%} + {{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement") }} + {%- endif -%} + + ## ENTITY PAGE 04 ## + - conditions: '{{ trigger.event.data.new_state.state == page_entitypage04 }}' + alias: 'entity04 page' + sequence: + ##### ENTITY Page Label ##### + - if: + - condition: template + value_template: '{{ entity_page04_label |length > 0 }}' + then: + - service: "{{ command_text_printf }}" + data: + component: "entity04_label" + message: "{{ entity_page04_label }}" + ##### Entities ##### + - delay: + milliseconds: "{{ delay_value }}" + - repeat: + for_each: + - row: entitypage04.value01 + entity: "{{ entities_entity25 }}" + entity_name: "{{ entities_entity25_name }}" + entity_icon: "{{ entities_entity25_icon }}" + - row: entitypage04.value02 + entity: "{{ entities_entity26 }}" + entity_name: "{{ entities_entity26_name }}" + entity_icon: "{{ entities_entity26_icon }}" + - row: entitypage04.value03 + entity: "{{ entities_entity27 }}" + entity_name: "{{ entities_entity27_name }}" + entity_icon: "{{ entities_entity27_icon }}" + - row: entitypage04.value04 + entity: "{{ entities_entity28 }}" + entity_name: "{{ entities_entity28_name }}" + entity_icon: "{{ entities_entity28_icon }}" + - row: entitypage04.value05 + entity: "{{ entities_entity29 }}" + entity_name: "{{ entities_entity29_name }}" + entity_icon: "{{ entities_entity29_icon }}" + - row: entitypage04.value06 + entity: "{{ entities_entity30 }}" + entity_name: "{{ entities_entity30_name }}" + entity_icon: "{{ entities_entity30_icon }}" + - row: entitypage04.value07 + entity: "{{ entities_entity31 }}" + entity_name: "{{ entities_entity31_name }}" + entity_icon: "{{ entities_entity31_icon }}" + - row: entitypage04.value08 + entity: "{{ entities_entity32 }}" + entity_name: "{{ entities_entity32_name }}" + entity_icon: "{{ entities_entity32_icon }}" + + sequence: + - if: + - condition: template + value_template: '{{ repeat.item.entity|length > 0 }}' + then: + - if: + - condition: template + value_template: '{{ repeat.item.entity_icon |length > 0 }}' + then: + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.row }}_pic" + message: "{{ repeat.item.entity_icon }}" + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.row }}_label" + message: >- + {%- if repeat.item.entity_name |length > 0 -%} {{ repeat.item.entity_name }} + {%- elif states(repeat.item.entity) == 'unavailable' -%} {{ repeat.item.entity }} + {%- else -%} {{ state_attr(repeat.item.entity, "friendly_name")| default('no name') }} + {%- endif -%} + - service: "{{ command_text_printf }}" + data: + component: "{{ repeat.item.row }}" + #message: '{{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement")| default("") }}' + message: >- + {%- if state_attr(repeat.item.entity, "unit_of_measurement") == None -%} + {{ states(repeat.item.entity) }} + {%- else -%} + {{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement") }} + {%- endif -%} + + ## PAGE CLIMATE ## + - conditions: '{{ trigger.event.data.new_state.state == page_climate }}' + alias: 'climate page' + sequence: + - variables: + hvac_mode: "{{ states(entity_long) }}" + outdoor_temp: >- + {%- if outdoortemp is match "sensor." and states(outdoortemp).state != "unavailable" -%} {{ states(outdoortemp) |round(0) }} + {%- elif state_attr(weather_entity, "temperature") != None -%} {{state_attr(weather_entity,"temperature") | round(0)}} + {%- else -%} 0 + {%- endif -%} + heating_state: >- + {%- if hvac_mode == "off" -%} {{ off_mui }} + {%- elif hvac_mode != "off" -%} {{ on_mui }} + {%- endif -%} + - service: "{{ command_text_printf }}" + data: + component: climate.climate_label + message: '{{ entity_long_name }}' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: outdoor_temp + message: "{{ outdoor_temp }}°" + - service: "{{ command_text_printf }}" + data: + component: current_temp + message: "{{state_attr(entity_long, 'current_temperature') | round(1)}}°" + - if: + condition: template + value_template: '{{ hvac_mode != "off" }}' + then: + - variables: + target_temp: "{{state_attr(entity_long, 'temperature') | round(1)}}" + - service: "{{ command_thermostat_cycle }}" + data: + value: "{{target_temp}}" + else: + - service: "{{ command_thermostat_cycle }}" + data: + value: "0" + - service: "{{ command_text_printf }}" + data: + component: target_temp + message: " " + + - service: "{{ command_text_printf }}" + data: + component: heating_state + message: "{{heating_state}}" + + # HVAC Button PIC + - variables: + heating_bt_pic: >- + {%- if hvac_mode == "off" -%} {{ heating_bt_pic_off }} + {%- else -%} {{ heating_bt_pic_on }} + {%- endif -%} + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_printf }}" + data: + cmd: heating_bt_pic.pic={{ heating_bt_pic }} + - variables: + hotw_bt_pic: >- + {%- if hotwatercharge | length > 0 and states(hotwatercharge) == 'on' -%} {{ hotw_bt_on }} + {%- elif hotwatercharge | length > 0 and states(hotwatercharge) == 'off' -%} {{ hotw_bt_off }} + {%- else -%} {{ hotw_bt_blank }} + {%- endif -%} + - service: "{{ command_printf }}" + data: + cmd: hotw_bt_pic.pic={{ hotw_bt_pic }} + + - if: + - condition: template + value_template: '{{ hotwatertemp is match "sensor." }}' + then: + - service: "{{ command_text_printf }}" + data: + component: climate.hotwater_temp + message: "{{ states(hotwatertemp) |round(1) }}°" + + ## PAGE WEATHE01 ## + - conditions: '{{ trigger.event.data.new_state.state == page_weather01 }}' + alias: 'weather01 page' + sequence: + - choose: + ### DEFAULT - WEATHER ### + - conditions: '{{ weather == "Default" }}' + sequence: + - variables: + # weather PIC + weather_icon: >- + {%- if states(weather_entity) == 'sunny' -%} {{ weather_sunny }} + {%- elif states(weather_entity) == 'cloudy' -%} {{ weather_cloudy }} + {%- elif states(weather_entity) == 'rainy' -%} {{ weather_rainy }} + {%- elif states(weather_entity) == 'pouring' -%} {{ weather_pouring }} + {%- elif states(weather_entity) == 'snowy' -%} {{ weather_snowy }} + {%- elif states(weather_entity) == 'hail' -%} {{ weather_hail }} + {%- elif states(weather_entity) == 'snowy-rainy' -%} {{ weather_snowy_rainy }} + {%- elif states(weather_entity) == 'fog' -%} {{ weather_fog }} + {%- elif states(weather_entity) == 'windy' -%} {{ weather_windy }} + {%- elif states(weather_entity) == 'windy-variant' -%} {{ weather_windy-variant }} + {%- elif states(weather_entity) == 'lightning' -%} {{ weather_lightning }} + {%- elif states(weather_entity) == 'partlycloudy' and states('sun.sun') == 'above_horizon' -%} {{ weather_partlycloudy_day }} + {%- elif states(weather_entity) == 'partlycloudy' and states('sun.sun') == 'below_horizon' -%} {{ weather_partlycloudy_night }} + {%- elif states(weather_entity) == 'lightning-rainy' and states('sun.sun') == 'above_horizon' -%} {{ weather_lightning_rainy_day }} + {%- elif states(weather_entity) == 'lightning-rainy' and states('sun.sun') == 'below_horizon' -%} {{ weather_lightning_rainy_night }} + {%- elif states(weather_entity) == 'execptional' and states('sun.sun') == 'above_horizon' -%} {{ weather_execptional_day }} + {%- elif states(weather_entity) == 'execptional' and states('sun.sun') == 'below_horizon' -%} {{ weather_execptional_night }} + {%- elif states(weather_entity) == 'clear-night' -%} {{ weather_clear_night }} + {%- endif -%} + + ##### SET weather PIC on Home Page #### + - service: "{{ command_printf }}" + data: + cmd: weather01.weather_icon.pic={{ weather_icon }} + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MAX #### + - service: "{{ command_text_printf }}" + data: + component: weather01.temp_max ### Temperature MAX ### + message: '{{state_attr(weather_entity,"temperature") | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Name ##### + - service: "{{ command_text_printf }}" + data: + component: weather01.day + message: "{{ day01_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Date ##### + - service: "{{ command_text_printf }}" + data: + component: weather01.date + message: "{{ date01_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 1 ##### + + ##### field 2 ##### + + ##### field 3 ##### + - service: "{{ command_text_printf }}" + data: + component: weather01.value03 + message: '{{state_attr(weather_entity,"wind_speed") | round(0)}} km/h' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather01.value03_icon + message: "{{ weather_icon_wind }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 4 ##### + + ##### field 5 ##### + + ### ACCUWEATHER - WEATHER ### + - conditions: '{{ weather == "AccuWeather" }}' + sequence: + - variables: + # weather PIC + weather_icon: >- + {%- if state_attr(weather_entity,"forecast")[0].condition == 'sunny' -%} {{ weather_sunny }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'cloudy' -%} {{ weather_cloudy }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'rainy' -%} {{ weather_rainy }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'pouring' -%} {{ weather_pouring }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'snowy' -%} {{ weather_snowy }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'hail' -%} {{ weather_hail }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'fog' -%} {{ weather_fog }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'windy' -%} {{ weather_windy }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'windy-variant' -%} {{ weather_windy-variant }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'lightning' -%} {{ weather_lightning }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'execptional' -%} {{ weather_execptional_day }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'clear-night' -%} {{ weather_clear_night }} + {%- endif -%} + + ##### SET weather PIC on Home Page #### + - service: "{{ command_printf }}" + data: + cmd: weather01.weather_icon.pic={{ weather_icon }} + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MIN #### + - service: "{{ command_text_printf }}" + data: + component: weather01.temp_min ### Temperature MIN ### + message: '{{states(accuweather_realfeel_temperature_min_0d) | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Slash ##### + - service: "{{ command_text_printf }}" + data: + component: weather01.slash + message: '/' + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MAX #### + - service: "{{ command_text_printf }}" + data: + component: weather01.temp_max ### Temperature MAX ### + message: '{{states(accuweather_realfeel_temperature_max_0d) | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Name ##### + - service: "{{ command_text_printf }}" + data: + component: weather01.day + message: "{{ day01_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Date ##### + - service: "{{ command_text_printf }}" + data: + component: weather01.date + message: "{{ date01_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 1 ##### + - service: "{{ command_text_printf }}" + data: + component: weather01.value01 + message: "{{ state_attr(weather_entity,'forecast')[0].precipitation_probability}} %" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather01.value01_icon + message: "{{ weather_icon_rain }}" + + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 2 ##### + - service: "{{ command_text_printf }}" + data: + component: weather01.value02 + message: "{{states(accuweather_hours_of_sun_0d) | round(0)}} h" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather01.value02_icon + message: "{{ weather_icon_sun }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 3 ##### + - service: "{{ command_text_printf }}" + data: + component: weather01.value03 + message: "{{state_attr(accuweather_uv_index_0d, 'level')}} {{states(accuweather_uv_index_0d) | round(0)}}" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather01.value03_icon + message: "{{ weather_icon_protect }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 4 ##### + - service: "{{ command_text_printf }}" + data: + component: weather01.value04 + message: "{{states(accuweather_thunderstorm_probability_day_0d) | round(0)}} %" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather01.value04_icon + message: "{{ weather_icon_lightning }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 5 ##### + - service: "{{ command_text_printf }}" + data: + component: weather01.value05 + message: "{{states(accuweather_wind_day_0d) | round(0)}} km/h" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather01.value05_icon + message: "{{ weather_icon_wind }}" + + ### DEFAULT ### + default: + - service: "{{ command_printf }}" + data: + cmd: "page {{ page_home }}" + + ## PAGE WEATHE02 ## + - conditions: '{{ trigger.event.data.new_state.state == page_weather02 }}' + alias: 'weather02 page' + sequence: + - choose: + ### DEFAULT - WEATHER ### + - conditions: '{{ weather == "Default" }}' + sequence: + - variables: + # weather PIC + weather_icon: >- + {%- if state_attr(weather_entity,"forecast")[0].condition == 'sunny' -%} {{ weather_sunny }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'cloudy' -%} {{ weather_cloudy }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'rainy' -%} {{ weather_rainy }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'pouring' -%} {{ weather_pouring }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'snowy' -%} {{ weather_snowy }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'hail' -%} {{ weather_hail }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'fog' -%} {{ weather_fog }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'windy' -%} {{ weather_windy }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'windy-variant' -%} {{ weather_windy-variant }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'lightning' -%} {{ weather_lightning }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'execptional' -%} {{ weather_execptional_day }} + {%- elif state_attr(weather_entity,"forecast")[0].condition == 'clear-night' -%} {{ weather_clear_night }} + {%- endif -%} + + ##### SET weather PIC on Home Page #### + - service: "{{ command_printf }}" + data: + cmd: weather02.weather_icon.pic={{ weather_icon }} + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MIN #### + - service: "{{ command_text_printf }}" + data: + component: weather02.temp_min ### Temperature MIN ### + message: '{{state_attr(weather_entity,"forecast")[0].templow | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Slash ##### + - service: "{{ command_text_printf }}" + data: + component: weather02.slash + message: '/' + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MAX #### + - service: "{{ command_text_printf }}" + data: + component: weather02.temp_max ### Temperature MAX ### + message: '{{state_attr(weather_entity,"forecast")[0].temperature | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Name ##### + - service: "{{ command_text_printf }}" + data: + component: weather02.day + message: "{{ day02_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Date ##### + - service: "{{ command_text_printf }}" + data: + component: weather02.date + message: "{{ date02_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 1 ##### + + ##### field 2 ##### + - service: "{{ command_text_printf }}" + data: + component: weather02.value02 + message: '{{state_attr(weather_entity,"forecast")[0].precipitation| round(1)}} mm' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather02.value02_icon + message: "{{ weather_icon_rain }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 3 ##### + - service: "{{ command_text_printf }}" + data: + component: weather02.value03 + message: '{{state_attr(weather_entity,"forecast")[0].wind_speed | round(1)}} km/h' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather02.value03_icon + message: "{{ weather_icon_wind }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 4 ##### + + ##### field 5 ##### + + ### ACCUWEATHER - WEATHER ### + - conditions: '{{ weather == "AccuWeather" }}' + sequence: + - variables: + # weather PIC + weather_icon: >- + {%- if state_attr(weather_entity,"forecast")[1].condition == 'sunny' -%} {{ weather_sunny }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'cloudy' -%} {{ weather_cloudy }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'rainy' -%} {{ weather_rainy }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'pouring' -%} {{ weather_pouring }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'snowy' -%} {{ weather_snowy }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'hail' -%} {{ weather_hail }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'fog' -%} {{ weather_fog }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'windy' -%} {{ weather_windy }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'windy-variant' -%} {{ weather_windy-variant }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'lightning' -%} {{ weather_lightning }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'execptional' -%} {{ weather_execptional_day }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'clear-night' -%} {{ weather_clear_night }} + {%- endif -%} + + ##### SET weather PIC on Home Page #### + - service: "{{ command_printf }}" + data: + cmd: weather02.weather_icon.pic={{ weather_icon }} + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MIN #### + - service: "{{ command_text_printf }}" + data: + component: weather02.temp_min ### Temperature MIN ### + message: '{{states(accuweather_realfeel_temperature_min_1d) | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Slash ##### + - service: "{{ command_text_printf }}" + data: + component: weather02.slash + message: '/' + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MAX #### + - service: "{{ command_text_printf }}" + data: + component: weather02.temp_max ### Temperature MAX ### + message: '{{states(accuweather_realfeel_temperature_max_1d) | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Name ##### + - service: "{{ command_text_printf }}" + data: + component: weather02.day + message: "{{ day02_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Date ##### + - service: "{{ command_text_printf }}" + data: + component: weather02.date + message: "{{ date02_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 1 ##### + - service: "{{ command_text_printf }}" + data: + component: weather02.value01 + message: "{{ state_attr(weather_entity,'forecast')[1].precipitation_probability}} %" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather02.value01_icon + message: "{{ weather_icon_rain }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 2 ##### + - service: "{{ command_text_printf }}" + data: + component: weather02.value02 + message: "{{states(accuweather_hours_of_sun_1d) | round(0)}} h" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather02.value02_icon + message: "{{ weather_icon_sun }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 3 ##### + - service: "{{ command_text_printf }}" + data: + component: weather02.value03 + message: "{{state_attr(accuweather_uv_index_1d, 'level')}} {{states(accuweather_uv_index_1d) | round(0)}}" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather02.value03_icon + message: "{{ weather_icon_protect }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 4 ##### + - service: "{{ command_text_printf }}" + data: + component: weather02.value04 + message: "{{states(accuweather_thunderstorm_probability_day_1d) | round(0)}} %" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather02.value04_icon + message: "{{ weather_icon_lightning }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 5 ##### + - service: "{{ command_text_printf }}" + data: + component: weather02.value05 + message: "{{states(accuweather_wind_day_1d) | round(0)}} km/h" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather02.value05_icon + message: "{{ weather_icon_wind }}" + + ### DEFAULT #### + default: + - service: "{{ command_printf }}" + data: + cmd: "page {{ page_home }}" + + ## PAGE WEATHE03 ## + - conditions: '{{ trigger.event.data.new_state.state == page_weather03 }}' + alias: 'weather03 page' + sequence: + - choose: + ### DEFAULT - WEATHER ### + - conditions: '{{ weather == "Default" }}' + sequence: + - variables: + # weather PIC + weather_icon: >- + {%- if state_attr(weather_entity,"forecast")[1].condition == 'sunny' -%} {{ weather_sunny }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'cloudy' -%} {{ weather_cloudy }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'rainy' -%} {{ weather_rainy }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'pouring' -%} {{ weather_pouring }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'snowy' -%} {{ weather_snowy }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'hail' -%} {{ weather_hail }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'fog' -%} {{ weather_fog }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'windy' -%} {{ weather_windy }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'windy-variant' -%} {{ weather_windy-variant }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'lightning' -%} {{ weather_lightning }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'execptional' -%} {{ weather_execptional_day }} + {%- elif state_attr(weather_entity,"forecast")[1].condition == 'clear-night' -%} {{ weather_clear_night }} + {%- endif -%} + + ##### SET weather PIC on Home Page #### + - service: "{{ command_printf }}" + data: + cmd: weather03.weather_icon.pic={{ weather_icon }} + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MIN #### + - service: "{{ command_text_printf }}" + data: + component: weather03.temp_min ### Temperature MIN ### + message: '{{state_attr(weather_entity,"forecast")[1].templow | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Slash ##### + - service: "{{ command_text_printf }}" + data: + component: weather03.slash + message: '/' + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MAX #### + - service: "{{ command_text_printf }}" + data: + component: weather03.temp_max ### Temperature MAX ### + message: '{{state_attr(weather_entity,"forecast")[1].temperature | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Name ##### + - service: "{{ command_text_printf }}" + data: + component: weather03.day + message: "{{ day03_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Date ##### + - service: "{{ command_text_printf }}" + data: + component: weather03.date + message: "{{ date03_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 1 ##### + + ##### field 2 ##### + - service: "{{ command_text_printf }}" + data: + component: weather03.value02 + message: '{{state_attr(weather_entity,"forecast")[1].precipitation| round(1)}} mm' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather03.value02_icon + message: "{{ weather_icon_rain }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 3 ##### + - service: "{{ command_text_printf }}" + data: + component: weather03.value03 + message: '{{state_attr(weather_entity,"forecast")[1].wind_speed | round(1)}} km/h' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather03.value03_icon + message: "{{ weather_icon_wind }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 4 ##### + + ##### field 5 ##### + + ### ACCUWEATHER - WEATHER ### + - conditions: '{{ weather == "AccuWeather" }}' + sequence: + - variables: + # weather PIC + weather_icon: >- + {%- if state_attr(weather_entity,"forecast")[2].condition == 'sunny' -%} {{ weather_sunny }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'cloudy' -%} {{ weather_cloudy }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'rainy' -%} {{ weather_rainy }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'pouring' -%} {{ weather_pouring }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'snowy' -%} {{ weather_snowy }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'hail' -%} {{ weather_hail }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'fog' -%} {{ weather_fog }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'windy' -%} {{ weather_windy }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'windy-variant' -%} {{ weather_windy-variant }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'lightning' -%} {{ weather_lightning }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'execptional' -%} {{ weather_execptional_day }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'clear-night' -%} {{ weather_clear_night }} + {%- endif -%} + + ##### SET weather PIC on Home Page #### + - service: "{{ command_printf }}" + data: + cmd: weather03.weather_icon.pic={{ weather_icon }} + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MIN #### + - service: "{{ command_text_printf }}" + data: + component: weather03.temp_min ### Temperature MIN ### + message: '{{states(accuweather_realfeel_temperature_min_2d) | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Slash ##### + - service: "{{ command_text_printf }}" + data: + component: weather03.slash + message: '/' + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MAX #### + - service: "{{ command_text_printf }}" + data: + component: weather03.temp_max ### Temperature MAX ### + message: '{{states(accuweather_realfeel_temperature_max_2d) | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Name ##### + - service: "{{ command_text_printf }}" + data: + component: weather03.day + message: "{{ day03_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Date ##### + - service: "{{ command_text_printf }}" + data: + component: weather03.date + message: "{{ date03_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 1 ##### + - service: "{{ command_text_printf }}" + data: + component: weather03.value01 + message: "{{ state_attr(weather_entity,'forecast')[2].precipitation_probability}} %" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather03.value01_icon + message: "{{ weather_icon_rain }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 2 ##### + - service: "{{ command_text_printf }}" + data: + component: weather03.value02 + message: "{{states(accuweather_hours_of_sun_2d) | round(0)}} h" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather03.value02_icon + message: "{{ weather_icon_sun }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 3 ##### + - service: "{{ command_text_printf }}" + data: + component: weather03.value03 + message: "{{state_attr(accuweather_uv_index_2d, 'level')}} {{states(accuweather_uv_index_2d) | round(0)}}" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather03.value03_icon + message: "{{ weather_icon_protect }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 4 ##### + - service: "{{ command_text_printf }}" + data: + component: weather03.value04 + message: "{{states(accuweather_thunderstorm_probability_day_2d) | round(0)}} %" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather03.value04_icon + message: "{{ weather_icon_lightning }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 5 ##### + - service: "{{ command_text_printf }}" + data: + component: weather03.value05 + message: "{{states(accuweather_wind_day_2d) | round(0)}} km/h" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather03.value05_icon + message: "{{ weather_icon_wind }}" + + ### DEFAULT ### + default: + - service: "{{ command_printf }}" + data: + cmd: "page {{ page_home }}" + + ## PAGE WEATHE04 ## + - conditions: '{{ trigger.event.data.new_state.state == page_weather04 }}' + alias: 'weather04 page' + sequence: + - choose: + ### DEFAULT - WEATHER ### + - conditions: '{{ weather == "Default" }}' + sequence: + - variables: + # weather PIC + weather_icon: >- + {%- if state_attr(weather_entity,"forecast")[2].condition == 'sunny' -%} {{ weather_sunny }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'cloudy' -%} {{ weather_cloudy }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'rainy' -%} {{ weather_rainy }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'pouring' -%} {{ weather_pouring }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'snowy' -%} {{ weather_snowy }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'hail' -%} {{ weather_hail }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'fog' -%} {{ weather_fog }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'windy' -%} {{ weather_windy }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'windy-variant' -%} {{ weather_windy-variant }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'lightning' -%} {{ weather_lightning }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'execptional' -%} {{ weather_execptional_day }} + {%- elif state_attr(weather_entity,"forecast")[2].condition == 'clear-night' -%} {{ weather_clear_night }} + {%- endif -%} + + ##### SET weather PIC on Home Page #### + - service: "{{ command_printf }}" + data: + cmd: weather04.weather_icon.pic={{ weather_icon }} + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MIN #### + - service: "{{ command_text_printf }}" + data: + component: weather04.temp_min ### Temperature MIN ### + message: '{{state_attr(weather_entity,"forecast")[2].templow | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Slash ##### + - service: "{{ command_text_printf }}" + data: + component: weather04.slash + message: '/' + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MAX #### + - service: "{{ command_text_printf }}" + data: + component: weather04.temp_max ### Temperature MAX ### + message: '{{state_attr(weather_entity,"forecast")[2].temperature | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Name ##### + - service: "{{ command_text_printf }}" + data: + component: weather04.day + message: "{{ day04_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Date ##### + - service: "{{ command_text_printf }}" + data: + component: weather04.date + message: "{{ date04_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 1 ##### + + ##### field 2 ##### + - service: "{{ command_text_printf }}" + data: + component: weather04.value02 + message: '{{state_attr(weather_entity,"forecast")[2].precipitation| round(1)}} mm' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather04.value02_icon + message: "{{ weather_icon_rain }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 3 ##### + - service: "{{ command_text_printf }}" + data: + component: weather04.value03 + message: '{{state_attr(weather_entity,"forecast")[2].wind_speed | round(1)}} km/h' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather04.value03_icon + message: "{{ weather_icon_wind }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 4 ##### + + ##### field 5 ##### + + ### ACCUWEATHER - WEATHER ### + - conditions: '{{ weather == "AccuWeather" }}' + sequence: + - variables: + # weather PIC + weather_icon: >- + {%- if state_attr(weather_entity,"forecast")[3].condition == 'sunny' -%} {{ weather_sunny }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'cloudy' -%} {{ weather_cloudy }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'rainy' -%} {{ weather_rainy }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'pouring' -%} {{ weather_pouring }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'snowy' -%} {{ weather_snowy }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'hail' -%} {{ weather_hail }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'fog' -%} {{ weather_fog }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'windy' -%} {{ weather_windy }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'windy-variant' -%} {{ weather_windy-variant }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'lightning' -%} {{ weather_lightning }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'execptional' -%} {{ weather_execptional_day }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'clear-night' -%} {{ weather_clear_night }} + {%- endif -%} + + ##### SET weather PIC on Home Page #### + - service: "{{ command_printf }}" + data: + cmd: weather04.weather_icon.pic={{ weather_icon }} + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MIN #### + - service: "{{ command_text_printf }}" + data: + component: weather04.temp_min ### Temperature MIN ### + message: '{{states(accuweather_realfeel_temperature_min_3d) | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Slash ##### + - service: "{{ command_text_printf }}" + data: + component: weather04.slash + message: '/' + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MAX #### + - service: "{{ command_text_printf }}" + data: + component: weather04.temp_max ### Temperature MAX ### + message: '{{states(accuweather_realfeel_temperature_max_3d) | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Name ##### + - service: "{{ command_text_printf }}" + data: + component: weather04.day + message: "{{ day04_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Date ##### + - service: "{{ command_text_printf }}" + data: + component: weather04.date + message: "{{ date04_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 1 ##### + - service: "{{ command_text_printf }}" + data: + component: weather04.value01 + message: "{{ state_attr(weather_entity,'forecast')[3].precipitation_probability}} %" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather04.value01_icon + message: "{{ weather_icon_rain }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 2 ##### + - service: "{{ command_text_printf }}" + data: + component: weather04.value02 + message: "{{states(accuweather_hours_of_sun_3d) | round(0)}} h" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather04.value02_icon + message: "{{ weather_icon_sun }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 3 ##### + - service: "{{ command_text_printf }}" + data: + component: weather04.value03 + message: "{{state_attr(accuweather_uv_index_3d, 'level')}} {{states(accuweather_uv_index_3d) | round(0)}}" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather04.value03_icon + message: "{{ weather_icon_protect }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 4 ##### + - service: "{{ command_text_printf }}" + data: + component: weather04.value04 + message: "{{states(accuweather_thunderstorm_probability_day_3d) | round(0)}} %" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather04.value04_icon + message: "{{ weather_icon_lightning }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 5 ##### + - service: "{{ command_text_printf }}" + data: + component: weather04.value05 + message: "{{states(accuweather_wind_day_3d) | round(0)}} km/h" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather04.value05_icon + message: "{{ weather_icon_wind }}" + + ### DEFAULT ### + default: + - service: "{{ command_printf }}" + data: + cmd: "page {{ page_home }}" + + ## PAGE WEATHE05 ## + - conditions: '{{ trigger.event.data.new_state.state == page_weather05 }}' + alias: 'weather05 page' + sequence: + - choose: + ### DEAFAULT - WEATHER ### + - conditions: '{{ weather == "Default" }}' + sequence: + - variables: + # weather PIC + weather_icon: >- + {%- if state_attr(weather_entity,"forecast")[3].condition == 'sunny' -%} {{ weather_sunny }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'cloudy' -%} {{ weather_cloudy }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'rainy' -%} {{ weather_rainy }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'pouring' -%} {{ weather_pouring }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'snowy' -%} {{ weather_snowy }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'hail' -%} {{ weather_hail }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'fog' -%} {{ weather_fog }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'windy' -%} {{ weather_windy }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'windy-variant' -%} {{ weather_windy-variant }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'lightning' -%} {{ weather_lightning }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'execptional' -%} {{ weather_execptional_day }} + {%- elif state_attr(weather_entity,"forecast")[3].condition == 'clear-night' -%} {{ weather_clear_night }} + {%- endif -%} + + ##### SET weather PIC on Home Page #### + - service: "{{ command_printf }}" + data: + cmd: weather05.weather_icon.pic={{ weather_icon }} + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MIN #### + - service: "{{ command_text_printf }}" + data: + component: weather05.temp_min ### Temperature MIN ### + message: '{{state_attr(weather_entity,"forecast")[3].templow | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Slash ##### + - service: "{{ command_text_printf }}" + data: + component: weather05.slash + message: '/' + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MAX #### + - service: "{{ command_text_printf }}" + data: + component: weather05.temp_max ### Temperature MAX ### + message: '{{state_attr(weather_entity,"forecast")[3].temperature | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Name ##### + - service: "{{ command_text_printf }}" + data: + component: weather05.day + message: "{{ day05_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Date ##### + - service: "{{ command_text_printf }}" + data: + component: weather05.date + message: "{{ date05_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 1 ##### + + ##### field 2 ##### + - service: "{{ command_text_printf }}" + data: + component: weather05.value02 + message: '{{state_attr(weather_entity,"forecast")[3].precipitation| round(1)}} mm' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather05.value02_icon + message: "{{ weather_icon_rain }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 3 ##### + - service: "{{ command_text_printf }}" + data: + component: weather05.value03 + message: '{{state_attr(weather_entity,"forecast")[3].wind_speed | round(1)}} km/h' + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather05.value03_icon + message: "{{ weather_icon_wind }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 4 ##### + + ##### field 5 ##### + + ### ACCUWEATHER - WEATHER ### + - conditions: '{{ weather == "AccuWeather" }}' + sequence: + - variables: + # weather PIC + weather_icon: >- + {%- if state_attr(weather_entity,"forecast")[4].condition == 'sunny' -%} {{ weather_sunny }} + {%- elif state_attr(weather_entity,"forecast")[4].condition == 'cloudy' -%} {{ weather_cloudy }} + {%- elif state_attr(weather_entity,"forecast")[4].condition == 'rainy' -%} {{ weather_rainy }} + {%- elif state_attr(weather_entity,"forecast")[4].condition == 'pouring' -%} {{ weather_pouring }} + {%- elif state_attr(weather_entity,"forecast")[4].condition == 'snowy' -%} {{ weather_snowy }} + {%- elif state_attr(weather_entity,"forecast")[4].condition == 'hail' -%} {{ weather_hail }} + {%- elif state_attr(weather_entity,"forecast")[4].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} + {%- elif state_attr(weather_entity,"forecast")[4].condition == 'fog' -%} {{ weather_fog }} + {%- elif state_attr(weather_entity,"forecast")[4].condition == 'windy' -%} {{ weather_windy }} + {%- elif state_attr(weather_entity,"forecast")[4].condition == 'windy-variant' -%} {{ weather_windy-variant }} + {%- elif state_attr(weather_entity,"forecast")[4].condition == 'lightning' -%} {{ weather_lightning }} + {%- elif state_attr(weather_entity,"forecast")[4].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} + {%- elif state_attr(weather_entity,"forecast")[4].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} + {%- elif state_attr(weather_entity,"forecast")[4].condition == 'execptional' -%} {{ weather_execptional_day }} + {%- elif state_attr(weather_entity,"forecast")[4].condition == 'clear-night' -%} {{ weather_clear_night }} + {%- endif -%} + + ##### SET weather PIC on Home Page #### + - service: "{{ command_printf }}" + data: + cmd: weather05.weather_icon.pic={{ weather_icon }} + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MIN #### + - service: "{{ command_text_printf }}" + data: + component: weather05.temp_min ### Temperature MIN ### + message: '{{states(accuweather_realfeel_temperature_min_4d) | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Slash ##### + - service: "{{ command_text_printf }}" + data: + component: weather05.slash + message: '/' + - delay: + milliseconds: "{{ delay_value }}" + + ##### SET TEMP MAX #### + - service: "{{ command_text_printf }}" + data: + component: weather05.temp_max ### Temperature MAX ### + message: '{{states(accuweather_realfeel_temperature_max_4d) | round(0)}}°' + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Name ##### + - service: "{{ command_text_printf }}" + data: + component: weather05.day + message: "{{ day05_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### Day Date ##### + - service: "{{ command_text_printf }}" + data: + component: weather05.date + message: "{{ date05_mui }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 1 ##### + - service: "{{ command_text_printf }}" + data: + component: weather05.value01 + message: "{{ state_attr(weather_entity,'forecast')[4].precipitation_probability}} %" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather05.value01_icon + message: "{{ weather_icon_rain }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 2 ##### + - service: "{{ command_text_printf }}" + data: + component: weather05.value02 + message: "{{states(accuweather_hours_of_sun_4d) | round(0)}} h" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather05.value02_icon + message: "{{ weather_icon_sun }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 3 ##### + - service: "{{ command_text_printf }}" + data: + component: weather05.value03 + message: "{{state_attr(accuweather_uv_index_4d, 'level')}} {{states(accuweather_uv_index_4d) | round(0)}}" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather05.value03_icon + message: "{{ weather_icon_protect }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 4 ##### + - service: "{{ command_text_printf }}" + data: + component: weather05.value04 + message: "{{states(accuweather_thunderstorm_probability_day_4d) | round(0)}} %" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather05.value04_icon + message: "{{ weather_icon_lightning }}" + - delay: + milliseconds: "{{ delay_value }}" + + ##### field 5 ##### + - service: "{{ command_text_printf }}" + data: + component: weather05.value05 + message: "{{states(accuweather_wind_day_4d) | round(0)}} km/h" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: weather05.value05_icon + message: "{{ weather_icon_wind }}" + + ### DEFAULT ### + default: + - service: "{{ command_printf }}" + data: + cmd: "page {{ page_home }}" + + ## PAGE NOTIFICATION ## + - conditions: '{{ trigger.event.data.new_state.state == page_notification }}' + alias: 'notification page' + sequence: + - service: "{{ command_text_printf }}" + data: + component: notification.notifi_text01 + message: "{{ states(notification_text) }}" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: notification.notifi_label + message: "{{ states(notification_label) }}" + + ## PAGE QR Code ## + - conditions: '{{ trigger.event.data.new_state.state == page_qrcode }}' + alias: 'qrcode page' + sequence: + - if: + - condition: template + value_template: '{{ qrcode_label |length > 0 }}' + then: + - service: "{{ command_text_printf }}" + data: + component: "qrcode_label" + message: "{{ qrcode_label }}" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: "qrcode_value" + message: "{{ qrcode_value }}" + + ## PAGE SETTINGS ## + - conditions: '{{ trigger.event.data.new_state.state == page_settings }}' + alias: 'settings page' + sequence: + + ## PAGE BOOT ## + - conditions: '{{ trigger.event.data.new_state.state == page_boot }}' + alias: 'boot page' + sequence: + + ## PAGE SCREENSAVER ## + - conditions: '{{ trigger.event.data.new_state.state == page_screensaver }}' + alias: 'screensaver page' + sequence: + + ##### UPDATE BUTTONS AND PAGES - button page / lightsettings page / coversettings page ##### - conditions: - condition: trigger id: @@ -3877,8 +8039,9 @@ action: - current_state_entity31 - current_state_entity32 - condition: template - value_template: "{{ trigger.to_state.state != 'unavailable' }}" + value_template: "{{ states(current_page) == page_buttonpage01 or states(current_page) == page_buttonpage02 or states(current_page) == page_buttonpage03 or states(current_page) == page_buttonpage04 and trigger.to_state.state != 'unavailable' }}" sequence: + ##### SET Buttons #### - alias: "Set variable(s) for entity change" variables: buttonpage: '{{ states(current_page) }}' @@ -3915,152 +8078,141 @@ action: {%- elif trigger.entity_id == entity30 and buttonpage == 'buttonpage04' -%} buttonpage04.button06 {%- elif trigger.entity_id == entity31 and buttonpage == 'buttonpage04' -%} buttonpage04.button07 {%- elif trigger.entity_id == entity32 and buttonpage == 'buttonpage04' -%} buttonpage04.button08 - {%- elif trigger.entity_id == entity01 -%} buttonpage01.button01 - {%- elif trigger.entity_id == entity02 -%} buttonpage01.button02 - {%- elif trigger.entity_id == entity03 -%} buttonpage01.button03 - {%- elif trigger.entity_id == entity04 -%} buttonpage01.button04 - {%- elif trigger.entity_id == entity05 -%} buttonpage01.button05 - {%- elif trigger.entity_id == entity06 -%} buttonpage01.button06 - {%- elif trigger.entity_id == entity07 -%} buttonpage01.button07 - {%- elif trigger.entity_id == entity08 -%} buttonpage01.button08 - {%- elif trigger.entity_id == entity09 -%} buttonpage02.button01 - {%- elif trigger.entity_id == entity10 -%} buttonpage02.button02 - {%- elif trigger.entity_id == entity11 -%} buttonpage02.button03 - {%- elif trigger.entity_id == entity12 -%} buttonpage02.button04 - {%- elif trigger.entity_id == entity13 -%} buttonpage02.button05 - {%- elif trigger.entity_id == entity14 -%} buttonpage02.button06 - {%- elif trigger.entity_id == entity15 -%} buttonpage02.button07 - {%- elif trigger.entity_id == entity16 -%} buttonpage02.button08 - {%- elif trigger.entity_id == entity17 -%} buttonpage03.button01 - {%- elif trigger.entity_id == entity18 -%} buttonpage03.button02 - {%- elif trigger.entity_id == entity19 -%} buttonpage03.button03 - {%- elif trigger.entity_id == entity20 -%} buttonpage03.button04 - {%- elif trigger.entity_id == entity21 -%} buttonpage03.button05 - {%- elif trigger.entity_id == entity22 -%} buttonpage03.button06 - {%- elif trigger.entity_id == entity23 -%} buttonpage03.button07 - {%- elif trigger.entity_id == entity24 -%} buttonpage03.button08 - {%- elif trigger.entity_id == entity25 -%} buttonpage04.button01 - {%- elif trigger.entity_id == entity26 -%} buttonpage04.button02 - {%- elif trigger.entity_id == entity27 -%} buttonpage04.button03 - {%- elif trigger.entity_id == entity28 -%} buttonpage04.button04 - {%- elif trigger.entity_id == entity29 -%} buttonpage04.button05 - {%- elif trigger.entity_id == entity30 -%} buttonpage04.button06 - {%- elif trigger.entity_id == entity31 -%} buttonpage04.button07 - {%- elif trigger.entity_id == entity32 -%} buttonpage04.button08 {%- endif -%} # Button PIC btn_pic: >- - {%- if trigger.to_state.entity_id is match "light." and trigger.to_state.state == 'on' -%} {{ button_light_on }} - {%- elif trigger.to_state.entity_id is match "light." and trigger.to_state.state == 'off' -%} {{ button_light_off }} - {%- elif trigger.to_state.entity_id is match "switch." and trigger.to_state.state == 'on' -%} {{ button_switch_on }} - {%- elif trigger.to_state.entity_id is match "switch." and trigger.to_state.state == 'off' -%} {{ button_switch_off }} - {%- elif trigger.to_state.entity_id is match "input_boolean." and trigger.to_state.state == 'on' -%} {{ button_switch_on }} - {%- elif trigger.to_state.entity_id is match "input_boolean." and trigger.to_state.state == 'off' -%} {{ button_switch_off }} - {%- elif trigger.to_state.entity_id is match "cover." and trigger.to_state.state == 'open' -%} {{ button_cover_on }} - {%- elif trigger.to_state.entity_id is match "cover." and trigger.to_state.state == 'closed' -%} {{ button_cover_off }} - {%- elif trigger.to_state.entity_id is match "automation." and trigger.to_state.state == 'on' -%} {{ button_automation_on }} - {%- elif trigger.to_state.entity_id is match "automation." and trigger.to_state.state == 'off' -%} {{ button_automation_off }} - {%- elif trigger.to_state.entity_id is match "button." -%} {{ button_button_on }} - {%- elif trigger.to_state.entity_id is match "input_button." -%} {{ button_button_on }} - {%- elif trigger.to_state.entity_id is match "scene." -%} {{ button_scene_on }} - {%- elif trigger.to_state.entity_id is match "script." and trigger.to_state.state == 'on' -%} {{ button_script_on }} - {%- elif trigger.to_state.entity_id is match "script." and trigger.to_state.state == 'off' -%} {{ button_script_off }} - {%- elif trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home' -%} {{ button_person_on }} - {%- elif trigger.to_state.entity_id is match "person." and trigger.to_state.state != 'home' -%} {{ button_person_off }} - {%- elif trigger.to_state.entity_id is match "binary_sensor." and trigger.to_state.state == 'on' -%} {{ button_binary_sensor_on }} - {%- elif trigger.to_state.entity_id is match "binary_sensor." and trigger.to_state.state == 'off' -%} {{ button_binary_sensor_off }} - {%- elif trigger.to_state.entity_id is match "fan." and trigger.to_state.state == 'on' -%} {{ button_fan_on }} - {%- elif trigger.to_state.entity_id is match "fan." and trigger.to_state.state == 'off' -%} {{ button_fan_off }} + {%- if trigger.to_state.entity_id is match "light." and trigger.to_state.state == 'on' -%} {{ button_on }} + {%- elif trigger.to_state.entity_id is match "light." and trigger.to_state.state == 'off' -%} {{ button_off }} + {%- elif trigger.to_state.entity_id is match "switch." and trigger.to_state.state == 'on' -%} {{ button_on }} + {%- elif trigger.to_state.entity_id is match "switch." and trigger.to_state.state == 'off' -%} {{ button_off }} + {%- elif trigger.to_state.entity_id is match "input_boolean." and trigger.to_state.state == 'on' -%} {{ button_on }} + {%- elif trigger.to_state.entity_id is match "input_boolean." and trigger.to_state.state == 'off' -%} {{ button_off }} + {%- elif trigger.to_state.entity_id is match "cover." and trigger.to_state.state == 'open' -%} {{ button_on }} + {%- elif trigger.to_state.entity_id is match "cover." and trigger.to_state.state == 'closed' -%} {{ button_off }} + {%- elif trigger.to_state.entity_id is match "automation." and trigger.to_state.state == 'on' -%} {{ button_on }} + {%- elif trigger.to_state.entity_id is match "automation." and trigger.to_state.state == 'off' -%} {{ button_off }} + {%- elif trigger.to_state.entity_id is match "button." -%} {{ button_on }} + {%- elif trigger.to_state.entity_id is match "input_button." -%} {{ button_on }} + {%- elif trigger.to_state.entity_id is match "scene." -%} {{ button_on }} + {%- elif trigger.to_state.entity_id is match "script." and trigger.to_state.state == 'on' -%} {{ button_on }} + {%- elif trigger.to_state.entity_id is match "script." and trigger.to_state.state == 'off' -%} {{ button_off }} + {%- elif trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home' -%} {{ button_on }} + {%- elif trigger.to_state.entity_id is match "person." and trigger.to_state.state != 'home' -%} {{ button_off }} + {%- elif trigger.to_state.entity_id is match "binary_sensor." and trigger.to_state.state == 'on' -%} {{ button_on }} + {%- elif trigger.to_state.entity_id is match "binary_sensor." and trigger.to_state.state == 'off' -%} {{ button_off }} + {%- elif trigger.to_state.entity_id is match "fan." and trigger.to_state.state == 'on' -%} {{ button_on }} + {%- elif trigger.to_state.entity_id is match "fan." and trigger.to_state.state == 'off' -%} {{ button_off }} + {%- elif trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off' -%} {{ button_on }} + {%- elif trigger.to_state.entity_id is match "climate." and trigger.to_state.state == 'off' -%} {{ button_off }} {%- endif -%} - # TEXT and BRIGHTNESS Background + # TEXT and BRIGHTNESS and ICON Background btn_bg: >- - {%- if trigger.to_state.entity_id is match "button." or trigger.to_state.entity_id is match "input_button." or trigger.to_state.entity_id is match "scene." -%} {{ button_color_1 }} - {%- elif trigger.to_state.state == 'on' or trigger.to_state.state == 'open' -%} {{ button_color_1 }} - {%- elif trigger.to_state.state == 'off' or trigger.to_state.state == 'closed' -%} {{ button_color_2 }} - {%- elif trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home' -%} {{ button_color_1 }} - {%- elif trigger.to_state.entity_id is match "person." and trigger.to_state.state != 'home' -%} {{ button_color_2 }} + {%- if trigger.to_state.entity_id is match "button." or trigger.to_state.entity_id is match "input_button." or trigger.to_state.entity_id is match "scene." -%} {{ color_01 }} + {%- elif trigger.to_state.state == 'on' or trigger.to_state.state == 'open' -%} {{ color_01 }} + {%- elif trigger.to_state.state == 'off' or trigger.to_state.state == 'closed' -%} {{ color_02 }} + {%- elif trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home' -%} {{ color_01 }} + {%- elif trigger.to_state.entity_id is match "person." and trigger.to_state.state != 'home' -%} {{ color_02 }} + {%- elif trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off' -%} {{ color_01 }} + {%- elif trigger.to_state.entity_id is match "climate." and trigger.to_state.state == 'off' -%} {{ color_02 }} {%- endif -%} - # TEXT Font + # ICON Font Color + btn_icon_font: >- + {%- if trigger.entity_id == entity01 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity01_icon_color }} + {%- elif trigger.entity_id == entity02 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity02_icon_color }} + {%- elif trigger.entity_id == entity03 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity03_icon_color }} + {%- elif trigger.entity_id == entity04 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity04_icon_color }} + {%- elif trigger.entity_id == entity05 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity05_icon_color }} + {%- elif trigger.entity_id == entity06 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity06_icon_color }} + {%- elif trigger.entity_id == entity07 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity07_icon_color }} + {%- elif trigger.entity_id == entity08 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity08_icon_color }} + {%- elif trigger.entity_id == entity09 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity09_icon_color }} + {%- elif trigger.entity_id == entity10 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity10_icon_color }} + {%- elif trigger.entity_id == entity11 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity11_icon_color }} + {%- elif trigger.entity_id == entity12 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity12_icon_color }} + {%- elif trigger.entity_id == entity13 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity13_icon_color }} + {%- elif trigger.entity_id == entity14 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity14_icon_color }} + {%- elif trigger.entity_id == entity15 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity15_icon_color }} + {%- elif trigger.entity_id == entity16 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity16_icon_color }} + {%- elif trigger.entity_id == entity17 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity17_icon_color }} + {%- elif trigger.entity_id == entity18 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity18_icon_color }} + {%- elif trigger.entity_id == entity19 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity19_icon_color }} + {%- elif trigger.entity_id == entity20 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity20_icon_color }} + {%- elif trigger.entity_id == entity21 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity21_icon_color }} + {%- elif trigger.entity_id == entity22 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity22_icon_color }} + {%- elif trigger.entity_id == entity23 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity23_icon_color }} + {%- elif trigger.entity_id == entity24 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity24_icon_color }} + {%- elif trigger.entity_id == entity25 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity25_icon_color }} + {%- elif trigger.entity_id == entity26 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity26_icon_color }} + {%- elif trigger.entity_id == entity27 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity27_icon_color }} + {%- elif trigger.entity_id == entity28 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity28_icon_color }} + {%- elif trigger.entity_id == entity29 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity29_icon_color }} + {%- elif trigger.entity_id == entity30 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity30_icon_color }} + {%- elif trigger.entity_id == entity31 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity31_icon_color }} + {%- elif trigger.entity_id == entity32 and ((trigger.to_state.state == 'on' or trigger.to_state.state == 'open') or (trigger.to_state.entity_id is match "button.") or (trigger.to_state.entity_id is match "input_button.") or (trigger.to_state.entity_id is match "scene.") or (trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home') or (trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off') ) -%} {{ entity32_icon_color }} + {%- elif trigger.to_state.state == 'off' or trigger.to_state.state == 'closed' -%} {{ color_03 }} + {%- elif trigger.to_state.entity_id is match "person." and trigger.to_state.state != 'home' -%} {{ color_03 }} + {%- elif trigger.to_state.entity_id is match "climate." and trigger.to_state.state == 'off' -%} {{ color_03 }} + {%- endif -%} + + # LABEL Font Color btn_txt_font: >- - {%- if trigger.to_state.entity_id is match "button." or trigger.to_state.entity_id is match "input_button." or trigger.to_state.entity_id is match "scene." -%} {{ button_color_2 }} - {%- elif trigger.to_state.state == 'on' or trigger.to_state.state == 'open' -%} {{ button_color_2 }} - {%- elif trigger.to_state.state == 'off' or trigger.to_state.state == 'closed' -%} {{ button_color_1 }} - {%- elif trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home' -%} {{ button_color_2 }} - {%- elif trigger.to_state.entity_id is match "person." and trigger.to_state.state != 'home' -%} {{ button_color_1 }} - {%- endif -%} - # BRIGHTNESS Font - btn_bri_font: "{{ button_color_2 }}" - # BTN Label - btn_label: >- - {%- if trigger.entity_id == entity01 -%} {{ entity01_name }} - {%- elif trigger.entity_id == entity02 -%} {{ entity02_name }} - {%- elif trigger.entity_id == entity03 -%} {{ entity03_name }} - {%- elif trigger.entity_id == entity04 -%} {{ entity04_name }} - {%- elif trigger.entity_id == entity05 -%} {{ entity05_name }} - {%- elif trigger.entity_id == entity06 -%} {{ entity06_name }} - {%- elif trigger.entity_id == entity07 -%} {{ entity07_name }} - {%- elif trigger.entity_id == entity08 -%} {{ entity08_name }} - {%- elif trigger.entity_id == entity09 -%} {{ entity09_name }} - {%- elif trigger.entity_id == entity10 -%} {{ entity10_name }} - {%- elif trigger.entity_id == entity11 -%} {{ entity11_name }} - {%- elif trigger.entity_id == entity12 -%} {{ entity12_name }} - {%- elif trigger.entity_id == entity13 -%} {{ entity13_name }} - {%- elif trigger.entity_id == entity14 -%} {{ entity14_name }} - {%- elif trigger.entity_id == entity15 -%} {{ entity15_name }} - {%- elif trigger.entity_id == entity16 -%} {{ entity16_name }} - {%- elif trigger.entity_id == entity17 -%} {{ entity17_name }} - {%- elif trigger.entity_id == entity18 -%} {{ entity18_name }} - {%- elif trigger.entity_id == entity19 -%} {{ entity19_name }} - {%- elif trigger.entity_id == entity20 -%} {{ entity20_name }} - {%- elif trigger.entity_id == entity21 -%} {{ entity21_name }} - {%- elif trigger.entity_id == entity22 -%} {{ entity22_name }} - {%- elif trigger.entity_id == entity23 -%} {{ entity23_name }} - {%- elif trigger.entity_id == entity24 -%} {{ entity24_name }} - {%- elif trigger.entity_id == entity25 -%} {{ entity25_name }} - {%- elif trigger.entity_id == entity26 -%} {{ entity26_name }} - {%- elif trigger.entity_id == entity27 -%} {{ entity27_name }} - {%- elif trigger.entity_id == entity28 -%} {{ entity28_name }} - {%- elif trigger.entity_id == entity29 -%} {{ entity29_name }} - {%- elif trigger.entity_id == entity30 -%} {{ entity30_name }} - {%- elif trigger.entity_id == entity31 -%} {{ entity31_name }} - {%- elif trigger.entity_id == entity32 -%} {{ entity32_name }} + {%- if trigger.to_state.entity_id is match "button." or trigger.to_state.entity_id is match "input_button." or trigger.to_state.entity_id is match "scene." -%} {{ color_02 }} + {%- elif trigger.to_state.state == 'on' or trigger.to_state.state == 'open' -%} {{ color_02 }} + {%- elif trigger.to_state.state == 'off' or trigger.to_state.state == 'closed' -%} {{ color_01 }} + {%- elif trigger.to_state.entity_id is match "person." and trigger.to_state.state == 'home' -%} {{ color_02 }} + {%- elif trigger.to_state.entity_id is match "person." and trigger.to_state.state != 'home' -%} {{ color_01 }} + {%- elif trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off' -%} {{ color_02 }} + {%- elif trigger.to_state.entity_id is match "climate." and trigger.to_state.state == 'off' -%} {{ color_01 }} {%- endif -%} + # BRIGHTNESS Font Color + btn_bri_font: "{{ color_02 }}" + # BRIGHTNESS Value btn_bri_txt: >- {%- if trigger.to_state.entity_id is match "light." and trigger.to_state.state == 'on' and trigger.to_state.attributes.brightness is defined -%} {{ (trigger.to_state.attributes.brightness | int * 100 /255) | round(0) }}% {%- elif trigger.to_state.entity_id is match "cover." and trigger.to_state.state == 'open' and trigger.to_state.attributes.current_position is defined -%} {{ (trigger.to_state.attributes.current_position | int) | round(0) }}% + {%- elif trigger.to_state.entity_id is match "climate." and trigger.to_state.state != 'off' and trigger.to_state.attributes.current_temperature is defined -%} {{ (trigger.to_state.attributes.current_temperature | int) | round(0) }}° {%- else -%} 0 {%- endif -%} - - ##### Button PIC ##### + ##### SET Button PIC - service: "{{ command_printf }}" data: cmd: "{{ component_to_update }}pic.pic={{ btn_pic }}" - - ##### TEXT Background ##### + ##### SET ICON Background ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_background_color }}" + data: + component: "{{ component_to_update }}icon" + message: "{{ btn_bg }}" + ##### SET LABEL Background ##### - delay: milliseconds: "{{ delay_value }}" - service: "{{ command_background_color }}" data: component: "{{ component_to_update }}text" message: "{{ btn_bg }}" - - ##### TEXT Font Color ##### - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_font_color }}" - data: - component: "{{ component_to_update }}text" - message: "{{ btn_txt_font }}" - - ##### BRIGHTNESS Background Color ##### + ##### SET BRIGHTNESS Background Color ##### - delay: milliseconds: "{{ delay_value }}" - service: "{{ command_background_color }}" data: component: "{{ component_to_update }}bri" message: "{{ btn_bg }}" - - ##### BRIGHTNESS Font Color ##### + ##### SET ICON Font Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ component_to_update }}icon" + message: "{{ btn_icon_font }}" + ##### SET LABEL Font Color ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: "{{ component_to_update }}text" + message: "{{ btn_txt_font }}" + ##### SET BRIGHTNESS Font Color ##### - delay: milliseconds: "{{ delay_value }}" - service: "{{ command_font_color }}" @@ -4068,15 +8220,7 @@ action: component: "{{ component_to_update }}bri" message: "{{ btn_bri_font }}" - ##### "TEXT" Label ##### - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: "{{ component_to_update }}text" - message: "{{ btn_label }}" - - ##### "BRIGHTNESS" Text ##### + ##### "BRIGHTNESS" Value ##### - if: - condition: template value_template: "{{ btn_bri_txt == 0 }}" @@ -4104,19 +8248,19 @@ action: milliseconds: "1000" - variables: btn_pic: >- - {%- if trigger.to_state.entity_id is match "button." -%} {{ button_button_off }} - {%- elif trigger.to_state.entity_id is match "input_button." -%} {{ button_button_off }} - {%- elif trigger.to_state.entity_id is match "scene." -%} {{ button_scene_off }} + {%- if trigger.to_state.entity_id is match "button." -%} {{ button_off }} + {%- elif trigger.to_state.entity_id is match "input_button." -%} {{ button_off }} + {%- elif trigger.to_state.entity_id is match "scene." -%} {{ button_off }} {%- endif -%} - btn_bg: '{{ button_color_2 }}' - btn_txt_font: '{{ button_color_1 }}' + btn_bg: '{{ color_02 }}' + btn_txt_font: '{{ color_01 }}' ##### Button PIC ##### - service: "{{ command_printf }}" data: cmd: "{{ component_to_update }}pic.pic={{ btn_pic }}" - ##### TEXT Background ##### + ##### LABEL Background ##### - delay: milliseconds: "{{ delay_value }}" - service: "{{ command_background_color }}" @@ -4126,7 +8270,7 @@ action: ##### TEXT Font Color ##### - delay: - milliseconds: "{{ delay_value }}" + milliseconds: "{{ delay_value }}" - service: "{{ command_font_color }}" data: component: "{{ component_to_update }}text" @@ -4140,211 +8284,233 @@ action: component: "{{ component_to_update }}bri" message: "{{ btn_bg }}" - ##### UPDATE LIGHTSETTING / COVERSETTING PAGE - - choose: - ##### LIGHTSETTINGS PAGE - LIGHT Entity ##### - - conditions: - - condition: template - value_template: '{{ entity_long is match "light." }}' - sequence: - - choose: - ##### LIGHT ON / OFF - - conditions: - - condition: template - value_template: '{{ states(entity_long) == "on" }}' - sequence: - ##### LIGHT PIC - ON ##### - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: lightsettings.light_status.pic={{ light_pic_on }} + # ##### UPDATE LIGHTSETTING / COVERSETTING PAGE + # - choose: + # ##### LIGHTSETTINGS PAGE - LIGHT Entity ##### + # - conditions: + # - condition: template + # # value_template: '{{ entity_long is match "light." }}' TODO + # value_template: '{{ states(current_page) == page_lightsettings }}' + # sequence: + # ##### LIGHT ICON - ON / OFF ##### + # - variables: + # lightsettings_icon_font: >- + # {%- if entity_long_icon |length > 0 -%} {{ entity_long_icon }} + # {%- else -%} {{ button_icon_light }} + # {%- endif -%} + # lightsettings_icon_font_color: >- + # {%- if states(entity_long) == 'on' -%} {{ entity_long_icon_color }} + # {%- else -%} {{ color_03 }} + # {%- endif -%} + # - delay: + # milliseconds: "{{ delay_value }}" + # - service: "{{ command_text_printf }}" + # data: + # component: lightsettings.icon_state + # message: "{{ lightsettings_icon_font }}" + # - delay: + # milliseconds: "{{ delay_value }}" + # - service: "{{ command_font_color }}" + # data: + # component: lightsettings.icon_state + # message: "{{ lightsettings_icon_font_color }}" - ##### LIGHT Brightness Slider HA Sync - YES ##### - - if: - - condition: template - value_template: '{{ sync_slider_ha == "select_yes" }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_value }}" - data: - component: lightsettings.lightslider - message: '{{ (state_attr(entity_long, "brightness") | int ) |round(0) }}' - - ##### LIGHT Temp Slider HA Sync - YES ##### - - if: - - condition: template - value_template: '{{ sync_slider_ha == "select_yes" }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_value }}" - data: - component: lightsettings.tempslider - message: '{{ (state_attr(entity_long, "color_temp") | int ) |round(0) }}' - - ##### LIGHT Brightness Value HA Sync - YES ##### - - if: - - condition: template - value_template: '{{ sync_value_ha == "select_yes" }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.light_value - message: '{{ (state_attr(entity_long, "brightness") | int * 100 / 255) |round(0) }}%' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.light_value_2 - message: '{{ (state_attr(entity_long, "brightness") | int * 100 / 255) |round(0) }}%' - - ##### LIGHT Temp Value HA Sync - YES ##### - - if: - - condition: template - value_template: '{{ sync_value_ha == "select_yes" }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.temp_value - message: '{{ (state_attr(entity_long, "color_temp") | int ) |round(0) }}' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.temp_value_2 - message: '{{ (state_attr(entity_long, "color_temp") | int ) |round(0) }}' + # # ##### LIGHT ON / OFF ##### + # # - choose: + # # ##### LIGHT Settings ON ##### + # # - conditions: + # # - condition: template + # # value_template: '{{ states(entity_long) == "on" }}' + # # sequence: + # # ##### LIGHT Brightness Slider HA Sync - YES ##### + # # - if: + # # - condition: template + # # value_template: '{{ sync_slider_ha == "select_yes" }}' + # # then: + # # - delay: + # # milliseconds: "{{ delay_value }}" + # # - service: "{{ command_value }}" + # # data: + # # component: lightsettings.lightslider + # # message: '{{ (state_attr(entity_long, "brightness") | int ) |round(0) }}' - ##### LIGHT - OFF ##### - - conditions: - - condition: template - value_template: '{{ states(entity_long) == "off" }}' - sequence: - ##### LIGHT PIC - OFF ##### - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: lightsettings.light_status.pic={{ light_pic_off }} + # # ##### LIGHT Temp Slider HA Sync - YES ##### + # # - if: + # # - condition: template + # # value_template: '{{ sync_slider_ha == "select_yes" }}' + # # then: + # # - delay: + # # milliseconds: "{{ delay_value }}" + # # - service: "{{ command_value }}" + # # data: + # # component: lightsettings.tempslider + # # message: '{{ (state_attr(entity_long, "color_temp") | int ) |round(0) }}' - ##### LIGHT Brightness Slider HA Sync - YES ##### - - if: - - condition: template - value_template: '{{ sync_slider_ha == "select_yes" }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_value }}" - data: - component: lightsettings.lightslider - message: '0' - - ##### LIGHT Brightness Value HA Sync - YES ##### - - if: - - condition: template - value_template: '{{ sync_value_ha == "select_yes" }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.light_value - message: '0 %' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.light_value_2 - message: '0 %' - - ##### COVERSETTINGS PAGE - COVER Entity ##### - - conditions: - - condition: template - value_template: '{{ entity_long is match "cover." }}' - sequence: - ##### COVER OPEN ##### - - choose: - ##### Cover PIC - OPEN ##### - - conditions: - - condition: template - value_template: '{{ states(entity_long) == "open" }}' - sequence: - ##### COVER PIC - OPEN - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: coversettings.cover_status.pic={{ cover_pic_open }} + # # ##### LIGHT Brightness Value HA Sync - YES ##### + # # - if: + # # - condition: template + # # value_template: '{{ sync_value_ha == "select_yes" }}' + # # then: + # # - delay: + # # milliseconds: "{{ delay_value }}" + # # - service: "{{ command_text_printf }}" + # # data: + # # component: lightsettings.light_value + # # message: '{{ (state_attr(entity_long, "brightness") | int * 100 / 255) |round(0) }}%' + # # - delay: + # # milliseconds: "{{ delay_value }}" + # # - service: "{{ command_text_printf }}" + # # data: + # # component: lightsettings.light_value_2 + # # message: '{{ (state_attr(entity_long, "brightness") | int * 100 / 255) |round(0) }}%' - ##### Cover Slider HA Sync - YES ##### - - if: - - condition: template - value_template: '{{ sync_slider_ha == "select_yes" }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_value }}" - data: - component: coversettings.coverslider - message: '{{ (state_attr(entity_long, "current_position") | int ) |round(0) }}' - - ##### Cover Value HA Sync - YES ##### - - if: - - condition: template - value_template: '{{ sync_value_ha == "select_yes" }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: coversettings.cover_value - message: '{{ (state_attr(entity_long, "current_position") | int ) |round(0) }} %' - - ##### Cover - Closed ##### - - conditions: - - condition: template - value_template: '{{ states(entity_long) == "closed" }}' - sequence: - ##### COVER PIC - CLOSED - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: coversettings.cover_status.pic={{ cover_pic_closed }} + # # ##### LIGHT Temp Value HA Sync - YES ##### + # # - if: + # # - condition: template + # # value_template: '{{ sync_value_ha == "select_yes" }}' + # # then: + # # - delay: + # # milliseconds: "{{ delay_value }}" + # # - service: "{{ command_text_printf }}" + # # data: + # # component: lightsettings.temp_value + # # message: '{{ (state_attr(entity_long, "color_temp") | int ) |round(0) }}' + # # - delay: + # # milliseconds: "{{ delay_value }}" + # # - service: "{{ command_text_printf }}" + # # data: + # # component: lightsettings.temp_value_2 + # # message: '{{ (state_attr(entity_long, "color_temp") | int ) |round(0) }}' - ##### Cover Slider HA Sync - YES ##### - - if: - - condition: template - value_template: '{{ sync_slider_ha == "select_yes" }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_value }}" - data: - component: coversettings.coverslider - message: '0' - - ##### Cover Value HA Sync - YES ##### - - if: - - condition: template - value_template: '{{ sync_value_ha == "select_yes" }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: coversettings.cover_value - message: '0 %' + # # ##### LIGHT SETTINGS - OFF ##### + # # - conditions: + # # - condition: template + # # value_template: '{{ states(entity_long) == "off" }}' + # # sequence: + # # ##### LIGHT Brightness Slider HA Sync - YES ##### + # # - if: + # # - condition: template + # # value_template: '{{ sync_slider_ha == "select_yes" }}' + # # then: + # # - delay: + # # milliseconds: "{{ delay_value }}" + # # - service: "{{ command_value }}" + # # data: + # # component: lightsettings.lightslider + # # message: '0' - ##### Page Button - SHORT Press - Toggle Enities ##### + # # ##### LIGHT Brightness Value HA Sync - YES ##### + # # - if: + # # - condition: template + # # value_template: '{{ sync_value_ha == "select_yes" }}' + # # then: + # # - delay: + # # milliseconds: "{{ delay_value }}" + # # - service: "{{ command_text_printf }}" + # # data: + # # component: lightsettings.light_value + # # message: '0 %' + # # - delay: + # # milliseconds: "{{ delay_value }}" + # # - service: "{{ command_text_printf }}" + # # data: + # # component: lightsettings.light_value_2 + # # message: '0 %' + + # ##### COVERSETTINGS PAGE - COVER Entity ##### + # - conditions: + # - condition: template + # # value_template: '{{ entity_long is match "cover." }}' TODO + # value_template: '{{ states(current_page) == page_coversettings }}' + # sequence: + # ##### COVER ICON - ON / OFF ##### + # - variables: + # coversettings_icon_font: >- + # {%- if entity_long_icon |length > 0 -%} {{ entity_long_icon }} + # {%- else -%} {{ button_icon_cover }} + # {%- endif -%} + # coversettings_icon_font_color: >- + # {%- if states(entity_long) == 'open' -%} {{ entity_long_icon_color }} + # {%- else -%} {{ color_03 }} + # {%- endif -%} + # - delay: + # milliseconds: "{{ delay_value }}" + # - service: "{{ command_text_printf }}" + # data: + # component: coversettings.icon_state + # message: "{{ coversettings_icon_font }}" + # - delay: + # milliseconds: "{{ delay_value }}" + # - service: "{{ command_font_color }}" + # data: + # component: coversettings.icon_state + # message: "{{ coversettings_icon_font_color }}" + + # ##### COVER OPEN ##### + # - choose: + # - conditions: + # - condition: template + # value_template: '{{ states(entity_long) == "open" }}' + # sequence: + # ##### Cover Slider HA Sync - YES ##### + # - if: + # - condition: template + # value_template: '{{ sync_slider_ha == "select_yes" }}' + # then: + # - delay: + # milliseconds: "{{ delay_value }}" + # - service: "{{ command_value }}" + # data: + # component: coversettings.coverslider + # message: '{{ (state_attr(entity_long, "current_position") | int ) |round(0) }}' + + # ##### Cover Value HA Sync - YES ##### + # - if: + # - condition: template + # value_template: '{{ sync_value_ha == "select_yes" }}' + # then: + # - delay: + # milliseconds: "{{ delay_value }}" + # - service: "{{ command_text_printf }}" + # data: + # component: coversettings.cover_value + # message: '{{ (state_attr(entity_long, "current_position") | int ) |round(0) }} %' + + # ##### Cover - Closed ##### + # - conditions: + # - condition: template + # value_template: '{{ states(entity_long) == "closed" }}' + # sequence: + # ##### Cover Slider HA Sync - YES ##### + # - if: + # - condition: template + # value_template: '{{ sync_slider_ha == "select_yes" }}' + # then: + # - delay: + # milliseconds: "{{ delay_value }}" + # - service: "{{ command_value }}" + # data: + # component: coversettings.coverslider + # message: '0' + + # ##### Cover Value HA Sync - YES ##### + # - if: + # - condition: template + # value_template: '{{ sync_value_ha == "select_yes" }}' + # then: + # - delay: + # milliseconds: "{{ delay_value }}" + # - service: "{{ command_text_printf }}" + # data: + # component: coversettings.cover_value + # message: '0 %' + + ##### SHORT PRESS BUTTON PAGE - toggle enities ##### - conditions: - condition: trigger id: short_press + - condition: template + value_template: '{{ states(current_page) == page_buttonpage01 or states(current_page) == page_buttonpage02 or states(current_page) == page_buttonpage03 or states(current_page) == page_buttonpage04}}' sequence: - variables: ##### Entity - Page Button - Toggle Entity ##### @@ -4418,6 +8584,22 @@ action: {%- endif -%} - condition: template value_template: '{{ entity_short |length > 0 and entity_short is not match "person." and entity_short is not match "binary_sensor." }}' + - if: + - condition: template + value_template: '{{ entity_short is match "climate." }}' + then: + - variables: + entity_long: '{{ entity_short }}' + entity_long_name: >- + {%- if states(entity_short) == 'unavailable' -%} {{ entity_short }} + {%- else -%} {{ state_attr(entity_short, "friendly_name")| default('no name') }} + {%- endif -%} + entity_back: '{{ states(current_page) }}' + - service: '{{ command_set_settings_entity }}' + data: + entity: '{{ entity_long }},{{ entity_back }},{{ entity_long_name }}' + - condition: template + value_template: '{{ entity_short is not match "climate." }}' - if: - condition: template value_template: "{{ entity_confirm }}" @@ -4445,7 +8627,7 @@ action: - service: "{{ command_text_printf }}" data: component: notification.notifi_label - message: "{{ please_confirm_mui }}" + message: "{{ please_confirm_mui }}" - wait_template: "{{ is_state(last_click, ['notificationacceptrelease','notificationclearrelease','homepage']) }}" timeout: seconds: 10 @@ -4483,7 +8665,7 @@ action: {% endif %} data: entity_id: "{{ entity_short }}" - + - conditions: "{{ is_state(last_click, 'notificationclearrelease') }}" sequence: - service: "{{ command_printf }}" @@ -4526,218 +8708,215 @@ action: {% elif entity_short is match 'scene.' %} scene.turn_on {% elif entity_short is match 'script.' %} - script.turn_on + script.turn_on {% elif entity_short is match 'fan.' %} fan.toggle {% endif %} data: entity_id: "{{ entity_short }}" - ##### Page Button - LONG Press - JUMP to Page Lightsettings / Coversettings ##### + ##### LONG PRESS BUTTON PAGE - save entity for settings pages ##### - conditions: - condition: trigger id: long_press + - condition: template + value_template: '{{ states(current_page) == page_buttonpage01 or states(current_page) == page_buttonpage02 or states(current_page) == page_buttonpage03 or states(current_page) == page_buttonpage04}}' sequence: - - choose: - ##### LONG Press - LIGHT Entity ##### - - conditions: - - condition: template - value_template: '{{ entity_long is match "light." }}' - sequence: - ##### LIGHT Generel Values ##### - - service: "{{ command_printf }}" - data: - cmd: page lightsettings - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.light_name - message: '{{ entity_long_name }}' - - delay: - milliseconds: "{{ delay_value }}" - - if: - - condition: template - value_template: "{{ state_attr(entity_long, 'brightness') != none }}" - then: - - service: "{{ command_value }}" - data: - component: lightsettings.lightslider - message: '{{ (state_attr(entity_long, "brightness") | int ) |round(0) }}' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.light_value - message: '{{ (state_attr(entity_long, "brightness") | int * 100 /255) | round(0) }}%' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.light_value_2 - message: '{{ (state_attr(entity_long, "brightness") | int * 100 /255) | round(0) }}%' - else: - - service: "{{ command_value }}" - data: - component: lightsettings.lightslider - message: '0' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.light_value - message: '0 %' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.light_value_2 - message: '0 %' - - ##### LIGHT Check Color_Temp Value is available when yes send some current Values ##### - - if: - - condition: template - value_template: "{{ state_attr(entity_long, 'color_temp') != none }}" - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.temp_value - message: '{{ (state_attr(entity_long, "color_temp") | int ) |round(0) }}' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.temp_value_2 - message: '{{ (state_attr(entity_long, "color_temp") | int ) |round(0) }}' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_value }}" - data: - component: lightsettings.tempslider - message: '{{ (state_attr(entity_long, "color_temp") | int ) |round(0) }}' - - ##### LIGHT ON / OFF ##### - - choose: - ##### LIGHT PIC - ON ##### - - conditions: - - condition: template - value_template: '{{ states(entity_long) == "on" }}' - sequence: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: lightsettings.light_status.pic={{ light_pic_on }} - - ##### LIGHT PIC - OFF ##### - - conditions: - - condition: template - value_template: '{{ states(entity_long) == "off" }}' - sequence: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: lightsettings.light_status.pic={{ light_pic_off }} - - ##### LONG Press - COVER Entity ##### - - conditions: - - condition: template - value_template: '{{ entity_long is match "cover." }}' - sequence: - ##### COVER Generel Values ##### - - service: "{{ command_printf }}" - data: - cmd: page coversettings - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_value }}" - data: - component: coversettings.coverslider - message: '{{ (state_attr(entity_long, "current_position") | int ) |round(0) }}' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: coversettings.cover_value - message: '{{ (state_attr(entity_long, "current_position") | int ) |round(0) }} %' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: coversettings.cover_name - message: '{{ entity_long_name }}' - - ##### COVER Battery ICON Yes / NO ##### - - if: - - condition: template - value_template: "{{ state_attr(entity_long, 'battery') != none }}" - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: coversettings.battery_value - message: '{{ (state_attr(entity_long, "battery") | int ) |round(0) }} %' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: coversettings.battery_icon.pic={{ battery_icon }} + - variables: + ##### Long Press Entity ##### + entity_long: >- + {%- if trigger.to_state.state == "pressbuttonpage01button01" -%} {{ entity01 }} + {%- elif trigger.to_state.state == "pressbuttonpage01button02" -%} {{ entity02 }} + {%- elif trigger.to_state.state == "pressbuttonpage01button03" -%} {{ entity03 }} + {%- elif trigger.to_state.state == "pressbuttonpage01button04" -%} {{ entity04 }} + {%- elif trigger.to_state.state == "pressbuttonpage01button05" -%} {{ entity05 }} + {%- elif trigger.to_state.state == "pressbuttonpage01button06" -%} {{ entity06 }} + {%- elif trigger.to_state.state == "pressbuttonpage01button07" -%} {{ entity07 }} + {%- elif trigger.to_state.state == "pressbuttonpage01button08" -%} {{ entity08 }} + {%- elif trigger.to_state.state == "pressbuttonpage02button01" -%} {{ entity09 }} + {%- elif trigger.to_state.state == "pressbuttonpage02button02" -%} {{ entity10 }} + {%- elif trigger.to_state.state == "pressbuttonpage02button03" -%} {{ entity11 }} + {%- elif trigger.to_state.state == "pressbuttonpage02button04" -%} {{ entity12 }} + {%- elif trigger.to_state.state == "pressbuttonpage02button05" -%} {{ entity13 }} + {%- elif trigger.to_state.state == "pressbuttonpage02button06" -%} {{ entity14 }} + {%- elif trigger.to_state.state == "pressbuttonpage02button07" -%} {{ entity15 }} + {%- elif trigger.to_state.state == "pressbuttonpage02button08" -%} {{ entity16 }} + {%- elif trigger.to_state.state == "pressbuttonpage03button01" -%} {{ entity17 }} + {%- elif trigger.to_state.state == "pressbuttonpage03button02" -%} {{ entity18 }} + {%- elif trigger.to_state.state == "pressbuttonpage03button03" -%} {{ entity19 }} + {%- elif trigger.to_state.state == "pressbuttonpage03button04" -%} {{ entity20 }} + {%- elif trigger.to_state.state == "pressbuttonpage03button05" -%} {{ entity21 }} + {%- elif trigger.to_state.state == "pressbuttonpage03button06" -%} {{ entity22 }} + {%- elif trigger.to_state.state == "pressbuttonpage03button07" -%} {{ entity23 }} + {%- elif trigger.to_state.state == "pressbuttonpage03button08" -%} {{ entity24 }} + {%- elif trigger.to_state.state == "pressbuttonpage04button01" -%} {{ entity25 }} + {%- elif trigger.to_state.state == "pressbuttonpage04button02" -%} {{ entity26 }} + {%- elif trigger.to_state.state == "pressbuttonpage04button03" -%} {{ entity27 }} + {%- elif trigger.to_state.state == "pressbuttonpage04button04" -%} {{ entity28 }} + {%- elif trigger.to_state.state == "pressbuttonpage04button05" -%} {{ entity29 }} + {%- elif trigger.to_state.state == "pressbuttonpage04button06" -%} {{ entity30 }} + {%- elif trigger.to_state.state == "pressbuttonpage04button07" -%} {{ entity31 }} + {%- elif trigger.to_state.state == "pressbuttonpage04button08" -%} {{ entity32 }} + {%- endif -%} - ##### COVER OPEN / CLOSE - - choose: - ##### COVER PIC - open ##### - - conditions: - - condition: template - value_template: '{{ states(entity_long) == "open" }}' - sequence: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: coversettings.cover_status.pic={{ cover_pic_open }} - - ##### COVER PIC - Closed - - conditions: - - condition: template - value_template: '{{ states(entity_long) == "closed" }}' - sequence: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: coversettings.cover_status.pic={{ cover_pic_closed }} - - ##### LASTCLICK_LIGHTSETTINGS - Changes on page Light-Settings ##### + ##### Long Press Entity Name ##### + entity_long_name: >- + {%- if trigger.to_state.state == "pressbuttonpage01button01" -%} {{ entity01_name }} + {%- elif trigger.to_state.state == "pressbuttonpage01button02" -%} {{ entity02_name }} + {%- elif trigger.to_state.state == "pressbuttonpage01button03" -%} {{ entity03_name }} + {%- elif trigger.to_state.state == "pressbuttonpage01button04" -%} {{ entity04_name }} + {%- elif trigger.to_state.state == "pressbuttonpage01button05" -%} {{ entity05_name }} + {%- elif trigger.to_state.state == "pressbuttonpage01button06" -%} {{ entity06_name }} + {%- elif trigger.to_state.state == "pressbuttonpage01button07" -%} {{ entity07_name }} + {%- elif trigger.to_state.state == "pressbuttonpage01button08" -%} {{ entity08_name }} + {%- elif trigger.to_state.state == "pressbuttonpage02button01" -%} {{ entity09_name }} + {%- elif trigger.to_state.state == "pressbuttonpage02button02" -%} {{ entity10_name }} + {%- elif trigger.to_state.state == "pressbuttonpage02button03" -%} {{ entity11_name }} + {%- elif trigger.to_state.state == "pressbuttonpage02button04" -%} {{ entity12_name }} + {%- elif trigger.to_state.state == "pressbuttonpage02button05" -%} {{ entity13_name }} + {%- elif trigger.to_state.state == "pressbuttonpage02button06" -%} {{ entity14_name }} + {%- elif trigger.to_state.state == "pressbuttonpage02button07" -%} {{ entity15_name }} + {%- elif trigger.to_state.state == "pressbuttonpage02button08" -%} {{ entity16_name }} + {%- elif trigger.to_state.state == "pressbuttonpage03button01" -%} {{ entity17_name }} + {%- elif trigger.to_state.state == "pressbuttonpage03button02" -%} {{ entity18_name }} + {%- elif trigger.to_state.state == "pressbuttonpage03button03" -%} {{ entity19_name }} + {%- elif trigger.to_state.state == "pressbuttonpage03button04" -%} {{ entity20_name }} + {%- elif trigger.to_state.state == "pressbuttonpage03button05" -%} {{ entity21_name }} + {%- elif trigger.to_state.state == "pressbuttonpage03button06" -%} {{ entity22_name }} + {%- elif trigger.to_state.state == "pressbuttonpage03button07" -%} {{ entity23_name }} + {%- elif trigger.to_state.state == "pressbuttonpage03button08" -%} {{ entity24_name }} + {%- elif trigger.to_state.state == "pressbuttonpage04button01" -%} {{ entity25_name }} + {%- elif trigger.to_state.state == "pressbuttonpage04button02" -%} {{ entity26_name }} + {%- elif trigger.to_state.state == "pressbuttonpage04button03" -%} {{ entity27_name }} + {%- elif trigger.to_state.state == "pressbuttonpage04button04" -%} {{ entity28_name }} + {%- elif trigger.to_state.state == "pressbuttonpage04button05" -%} {{ entity29_name }} + {%- elif trigger.to_state.state == "pressbuttonpage04button06" -%} {{ entity30_name }} + {%- elif trigger.to_state.state == "pressbuttonpage04button07" -%} {{ entity31_name }} + {%- elif trigger.to_state.state == "pressbuttonpage04button08" -%} {{ entity32_name }} + {%- endif -%} + + ##### Long Press Entity Icon ##### + entity_long_icon: >- + {%- if trigger.to_state.state == "pressbuttonpage01button01" -%} {{ entity01_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage01button02" -%} {{ entity02_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage01button03" -%} {{ entity03_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage01button04" -%} {{ entity04_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage01button05" -%} {{ entity05_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage01button06" -%} {{ entity06_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage01button07" -%} {{ entity07_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage01button08" -%} {{ entity08_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage02button01" -%} {{ entity09_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage02button02" -%} {{ entity10_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage02button03" -%} {{ entity11_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage02button04" -%} {{ entity12_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage02button05" -%} {{ entity13_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage02button06" -%} {{ entity14_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage02button07" -%} {{ entity15_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage02button08" -%} {{ entity16_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage03button01" -%} {{ entity17_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage03button02" -%} {{ entity18_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage03button03" -%} {{ entity19_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage03button04" -%} {{ entity20_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage03button05" -%} {{ entity21_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage03button06" -%} {{ entity22_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage03button07" -%} {{ entity23_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage03button08" -%} {{ entity24_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage04button01" -%} {{ entity25_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage04button02" -%} {{ entity26_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage04button03" -%} {{ entity27_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage04button04" -%} {{ entity28_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage04button05" -%} {{ entity29_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage04button06" -%} {{ entity30_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage04button07" -%} {{ entity31_icon }} + {%- elif trigger.to_state.state == "pressbuttonpage04button08" -%} {{ entity32_icon }} + {%- endif -%} + + ##### Long Press Entity Icon Color ##### + entity_long_icon_color: >- + {%- if trigger.to_state.state == "pressbuttonpage01button01" -%} {{ entity01_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage01button02" -%} {{ entity02_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage01button03" -%} {{ entity03_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage01button04" -%} {{ entity04_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage01button05" -%} {{ entity05_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage01button06" -%} {{ entity06_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage01button07" -%} {{ entity07_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage01button08" -%} {{ entity08_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage02button01" -%} {{ entity09_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage02button02" -%} {{ entity10_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage02button03" -%} {{ entity11_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage02button04" -%} {{ entity12_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage02button05" -%} {{ entity13_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage02button06" -%} {{ entity14_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage02button07" -%} {{ entity15_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage02button08" -%} {{ entity16_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage03button01" -%} {{ entity17_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage03button02" -%} {{ entity18_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage03button03" -%} {{ entity19_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage03button04" -%} {{ entity20_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage03button05" -%} {{ entity21_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage03button06" -%} {{ entity22_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage03button07" -%} {{ entity23_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage03button08" -%} {{ entity24_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage04button01" -%} {{ entity25_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage04button02" -%} {{ entity26_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage04button03" -%} {{ entity27_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage04button04" -%} {{ entity28_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage04button05" -%} {{ entity29_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage04button06" -%} {{ entity30_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage04button07" -%} {{ entity31_icon_color }} + {%- elif trigger.to_state.state == "pressbuttonpage04button08" -%} {{ entity32_icon_color }} + {%- endif -%} + + + ##### Current Page ##### + entity_back: '{{ states(current_page) }}' + - service: '{{ command_set_settings_entity }}' + data: + entity: '{{ entity_long }},{{ entity_back }},{{ entity_long_name }},{{ entity_long_icon }},{{ entity_long_icon_color }}' + + ##### LASTCLICK_LIGHTSETTINGS - changes on page lightsettings ##### - conditions: - condition: trigger id: light_settings + - condition: template + value_template: "{{ states(current_page) == page_lightsettings }}" sequence: - choose: ##### Page Lightsettings - Brightness Slider MOVE ##### - conditions: - condition: template - value_template: '{{ trigger.event.data.new_state.state is match "brightness\d+" and trigger.event.data.new_state.state == states(last_click_lightsettings) }}' + #value_template: '{{ trigger.event.data.new_state.state is match "brightness\d+" and trigger.event.data.new_state.state == states(last_click_lightsettings) }}' + value_template: '{{ trigger.event.data.new_state.state is match "brightness\d+" }}' sequence: - service: light.turn_on data: entity_id: "{{ entity_long }}" - brightness: '{{ trigger.event.data.new_state.state |replace("brightness","") | int }}' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.light_value - message: '{{ (trigger.event.data.new_state.state |replace("brightness","") | int * 100 /255) |round(0) }}%' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.light_value_2 - message: '{{ (trigger.event.data.new_state.state |replace("brightness","") | int * 100 /255) |round(0) }}%' + brightness: '{{ (trigger.event.data.new_state.state |replace("brightness","") | int / 100 * 255) |round(0) }}' + #### wird nicht mehr benÃļtigt, da es im nextion editor nun direkt gemacht wird + # - delay: + # milliseconds: "{{ delay_value }}" + # - service: "{{ command_text_printf }}" + # data: + # component: lightsettings.light_value + # message: '{{ (trigger.event.data.new_state.state |replace("brightness","") | int * 100 /255) |round(0) }}%' + # - delay: + # milliseconds: "{{ delay_value }}" + # - service: "{{ command_text_printf }}" + # data: + # component: lightsettings.light_value_2 + # message: '{{ (trigger.event.data.new_state.state |replace("brightness","") | int * 100 /255) |round(0) }}%' + + # value_template: '{{ states(last_click_lightsettings) is match "brightness\d+" }}' + # sequence: + # - service: light.turn_on + # data: + # entity_id: '{{ entity_long }}' + # brightness: '{{ states(last_click_lightsettings) |replace("brightness","") | int }}' + # - service: "{{ command_text_printf }}" + # data: + # component: lightsettings.light_value + # message: '{{ (states(last_click_lightsettings) |replace("brightness","") | int * 100 /255) |round(0) }}' + ##### Page Lightsettings - color_Temp Slider MOVE ##### - conditions: @@ -4748,18 +8927,19 @@ action: data: entity_id: "{{ entity_long }}" color_temp: '{{ trigger.event.data.new_state.state |replace("colortemp","") | int }}' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.temp_value - message: '{{ trigger.event.data.new_state.state |replace("colortemp","") | int }}' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: lightsettings.temp_value_2 - message: '{{ trigger.event.data.new_state.state |replace("colortemp","") | int }}' + #### wird nicht mehr benÃļtigt, da es im nextion editor nun direkt gemacht wird + # - delay: + # milliseconds: "{{ delay_value }}" + # - service: "{{ command_text_printf }}" + # data: + # component: lightsettings.temp_value + # message: '{{ trigger.event.data.new_state.state |replace("colortemp","") | int }}' + # - delay: + # milliseconds: "{{ delay_value }}" + # - service: "{{ command_text_printf }}" + # data: + # component: lightsettings.temp_value_2 + # message: '{{ trigger.event.data.new_state.state |replace("colortemp","") | int }}' ##### Page Lightsettings - Color RGB Slider MOVE ##### - conditions: @@ -4778,36 +8958,40 @@ action: sequence: - service: "{{ command_printf }}" data: - cmd: "{{ entity_back }}" + cmd: "page {{ entity_back }}" - ##### LASTCLICK_COVERSETTINGS - Changes on page Cover-Settings ##### + ##### LASTCLICK_COVERSETTINGS - changes on page coversettings ##### - conditions: - condition: trigger id: cover_settings + - condition: template + value_template: "{{ states(current_page) == page_coversettings }}" sequence: - choose: ##### Page Coversettings - Cover Slider MOVE ##### - conditions: - condition: template - value_template: '{{ trigger.event.data.new_state.state is match "coverposition\d+" and trigger.event.data.new_state.state == states(last_click_coversettings) }}' + #value_template: '{{ trigger.event.data.new_state.state is match "coverposition\d+" and trigger.event.data.new_state.state == states(last_click_coversettings) }}' + value_template: '{{ trigger.event.data.new_state.state is match "coverposition\d+" }}' sequence: - service: cover.set_cover_position data: entity_id: "{{ entity_long }}" position: '{{ trigger.event.data.new_state.state |replace("coverposition","") | int }}' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: coversettings.cover_value - message: '{{ trigger.event.data.new_state.state |replace("coverposition","") | int }} %' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: coversettings.cover_value_2 - message: '{{ trigger.event.data.new_state.state |replace("coverposition","") | int }} %' - + #### wird nicht mehr benÃļtigt, da es im nextion editor nun direkt gemacht wird + # - delay: + # milliseconds: "{{ delay_value }}" + # - service: "{{ command_text_printf }}" + # data: + # component: coversettings.cover_value + # message: '{{ trigger.event.data.new_state.state |replace("coverposition","") | int }} %' + # - delay: + # milliseconds: "{{ delay_value }}" + # - service: "{{ command_text_printf }}" + # data: + # component: coversettings.cover_value_2 + # message: '{{ trigger.event.data.new_state.state |replace("coverposition","") | int }} %' + ##### Page Coversettings - Cover CLOSE Button ##### - conditions: - condition: template @@ -4816,7 +9000,7 @@ action: - service: cover.close_cover data: entity_id: "{{ entity_long }}" - + ##### Page Coversettings - Cover OPEN Button ##### - conditions: - condition: template @@ -4825,7 +9009,7 @@ action: - service: cover.open_cover data: entity_id: "{{ entity_long }}" - + ##### Page Coversettings - Cover STOP Button ##### - conditions: - condition: template @@ -4842,12 +9026,14 @@ action: sequence: - service: "{{ command_printf }}" data: - cmd: "{{ entity_back }}" + cmd: "page {{ entity_back }}" - ##### LASTCLICK_CLIMATESETTINGS - Changes on page Climate-Settings ##### + ##### LASTCLICK_CLIMATESETTINGS - changes on page climatesettings ##### - conditions: - condition: trigger id: climate_settings + - condition: template + value_template: "{{ states(current_page) == page_climate }}" sequence: - choose: ##### Page Climatesettings - hotwater ##### @@ -4867,11 +9053,11 @@ action: sequence: - if: - condition: template - value_template: '{{ states(climate) == "off" }}' + value_template: '{{ states(entity_long) == "off" }}' then: - service: climate.turn_on ############ data: - entity_id: !input climate + entity_id: '{{ entity_long }}' # - service: climate.set_temperature # data: # entity_id: !input climate @@ -4880,7 +9066,7 @@ action: else: - service: climate.turn_off ############ data: - entity_id: !input climate + entity_id: '{{ entity_long }}' # - service: climate.set_temperature # data: # entity_id: !input climate @@ -4892,11 +9078,11 @@ action: sequence: - if: - condition: template - value_template: '{{ states(climate) != "off" }}' + value_template: '{{ states(entity_long) != "off" }}' then: - if: - condition: template - value_template: '{{ climate_optimistic == true }}' + value_template: '{{ climate_optimistic == true }}' ## TODO - remove from here then: - variables: current_setpoint: "{{states(display_target_temperature) | round(1)}}" @@ -4905,26 +9091,26 @@ action: value: "{{ current_setpoint -0.5 }}" else: - variables: - current_setpoint: "{{state_attr(climate, 'temperature') | round(1)}}" + current_setpoint: "{{state_attr(entity_long, 'temperature') | round(1)}}" - service: climate.set_temperature data: - entity_id: !input climate + entity_id: '{{ entity_long }}' #hvac_mode: 'heat' temperature: "{{ current_setpoint -0.5 }}" - + ##### Page Climatesettings - increasetemp ##### - conditions: '{{ trigger.event.data.new_state.state == "releaseincreasetemp" }}' sequence: - if: - condition: template - value_template: '{{ states(climate) != "off" }}' + value_template: '{{ states(entity_long) != "off" }}' then: - variables: - current_setpoint: "{{state_attr(climate, 'temperature') | round(1)}}" + current_setpoint: "{{state_attr(entity_long, 'temperature') | round(1)}}" - if: - condition: template - value_template: '{{ climate_optimistic == true }}' + value_template: '{{ climate_optimistic == true }}' ## TODO - remove from here then: - variables: current_setpoint: "{{states(display_target_temperature) | round(1)}}" @@ -4933,10 +9119,10 @@ action: value: "{{ current_setpoint +0.5 }}" else: - variables: - current_setpoint: "{{state_attr(climate, 'temperature') | round(1)}}" + current_setpoint: "{{state_attr(entity_long, 'temperature') | round(1)}}" - service: climate.set_temperature data: - entity_id: !input climate + entity_id: '{{ entity_long }}' #hvac_mode: 'heat' temperature: "{{ current_setpoint +0.5 }}" @@ -4946,7 +9132,7 @@ action: sequence: - if: - condition: template - value_template: '{{ states(climate) != "off" }}' + value_template: '{{ states(entity_long) != "off" }}' then: - variables: #climateslider: '{{ trigger.event.data.new_state.state |replace("climateslider","") | int }}' @@ -4983,7 +9169,7 @@ action: {%- endif -%} - if: - condition: template - value_template: '{{ climate_optimistic == true }}' + value_template: '{{ climate_optimistic == true }}' ## TODO - remove from here then: - service: "{{ command_thermostat_cycle }}" data: @@ -4991,48 +9177,557 @@ action: else: - service: climate.set_temperature data: - entity_id: !input climate + entity_id: '{{ entity_long }}' #hvac_mode: 'heat' temperature: "{{ new_setpoint }}" - ##### Left button press ##### + #### Page Climate - Close Climate Page ##### + - conditions: + - condition: template + value_template: '{{ trigger.event.data.new_state.state == "releaseclimateclose" }}' + sequence: + - service: "{{ command_printf }}" + data: + cmd: "page {{ entity_back }}" + + +##### TRIGGER - HOME PAGE ###### + + ##### HOME PAGE - value 01 ##### + - conditions: + - condition: trigger + id: home_value01_state + - condition: template + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" + sequence: + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.value01_state + message: "{{ home_value01_label_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.value01_state + message: '{{ trigger.event.data.new_state.state |round(1) }}{{ trigger.event.data.new_state.attributes.unit_of_measurement }}' + + ##### HOME PAGE - value 02 ##### + - conditions: + - condition: trigger + id: home_value02_state + - condition: template + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" + sequence: + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.value02_state + message: "{{ home_value02_label_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.value02_state + message: '{{ trigger.event.data.new_state.state |round(1) }}{{ trigger.event.data.new_state.attributes.unit_of_measurement }}' + + ##### HOME PAGE - value 03 ##### + - conditions: + - condition: trigger + id: home_value03_state + - condition: template + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" + sequence: + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.value03_state + message: "{{ home_value03_label_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.value03_state + message: '{{ trigger.event.data.new_state.state |round(1) }}{{ trigger.event.data.new_state.attributes.unit_of_measurement }}' + + ##### CHIP RELAY 01 - statusbar 01 ##### + - conditions: + - condition: trigger + id: relay01_state + - condition: template + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" + sequence: + - variables: + chip_relay01: >- + {%- if trigger.event.data.new_state.state == 'on' -%} {{ relay01_icon }} + {%- else -%} {{ blank_icon }} + {%- endif -%} + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.icon_top_01 + message: "{{ relay01_icon_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.icon_top_01 + message: "{{ chip_relay01 }}" + + ##### CHIP RELAY 02 - statusbar 02 ##### + - conditions: + - condition: trigger + id: relay02_state + - condition: template + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" + sequence: + - variables: + chip_relay02: >- + {%- if trigger.event.data.new_state.state == 'on' -%} {{ relay02_icon }} + {%- else -%} {{ blank_icon }} + {%- endif -%} + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.icon_top_02 + message: "{{ relay02_icon_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.icon_top_02 + message: "{{ chip_relay02 }}" + + ##### CHIP HEATING - statusbar 03 ##### + - conditions: + - condition: trigger + id: climate_state + - condition: template + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" + sequence: + - variables: + chip_climate: >- + {%- if trigger.event.data.new_state.state == "heat" and trigger.event.data.new_state.attributes.hvac_action is defined and trigger.event.data.new_state.attributes.hvac_action == "heating" -%} {{ heat_icon }} + {%- elif trigger.event.data.new_state.state == "heat" -%} {{ thermostat_icon }} + {%- else -%} {{ blank_icon }} + {%- endif -%} + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.icon_top_03 + message: "{{ thermostat_icon_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.icon_top_03 + message: "{{ chip_climate }}" + + ##### CHIP 01 - statusbar 04 ##### + - conditions: + - condition: trigger + id: chip01_state + - condition: template + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" + sequence: + - variables: + chip_icon: >- + {%- if trigger.event.data.new_state.state == 'on' -%} {{ chip01_icon }} + {%- else -%} {{ blank_icon }} + {%- endif -%} + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.icon_top_04 + message: "{{ chip01_icon_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.icon_top_04 + message: "{{ chip_icon }}" + + ##### CHIP 02 - statusbar 05 ##### + - conditions: + - condition: trigger + id: chip02_state + - condition: template + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" + sequence: + - variables: + chip_icon: >- + {%- if trigger.event.data.new_state.state == 'on' -%} {{ chip02_icon }} + {%- else -%} {{ blank_icon }} + {%- endif -%} + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.icon_top_05 + message: "{{ chip02_icon_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.icon_top_05 + message: "{{ chip_icon }}" + + ##### CHIP 03 - statusbar 06 ##### + - conditions: + - condition: trigger + id: chip03_state + - condition: template + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" + sequence: + - variables: + chip_icon: >- + {%- if trigger.event.data.new_state.state == 'on' -%} {{ chip03_icon }} + {%- else -%} {{ blank_icon }} + {%- endif -%} + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.icon_top_06 + message: "{{ chip03_icon_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.icon_top_06 + message: "{{ chip_icon }}" + + ##### CHIP 04 - statusbar 07 ##### + - conditions: + - condition: trigger + id: chip04_state + - condition: template + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" + sequence: + - variables: + chip_icon: >- + {%- if trigger.event.data.new_state.state == 'on' -%} {{ chip04_icon }} + {%- else -%} {{ blank_icon }} + {%- endif -%} + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.icon_top_07 + message: "{{ chip04_icon_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.icon_top_07 + message: "{{ chip_icon }}" + + ##### CHIP 05 - statusbar 08 ##### + - conditions: + - condition: trigger + id: chip05_state + - condition: template + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" + sequence: + - variables: + chip_icon: >- + {%- if trigger.event.data.new_state.state == 'on' -%} {{ chip05_icon }} + {%- else -%} {{ blank_icon }} + {%- endif -%} + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.icon_top_08 + message: "{{ chip05_icon_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.icon_top_08 + message: "{{ chip_icon }}" + + ##### CHIP 06 - statusbar 09 ##### + - conditions: + - condition: trigger + id: chip06_state + - condition: template + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" + sequence: + - variables: + chip_icon: >- + {%- if trigger.event.data.new_state.state == 'on' -%} {{ chip06_icon }} + {%- else -%} {{ blank_icon }} + {%- endif -%} + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.icon_top_09 + message: "{{ chip06_icon_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.icon_top_09 + message: "{{ chip_icon }}" + + ##### CHIP 07 - statusbar 10 ##### + - conditions: + - condition: trigger + id: chip07_state + - condition: template + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" + sequence: + - variables: + chip_icon: >- + {%- if trigger.event.data.new_state.state == 'on' -%} {{ chip07_icon }} + {%- else -%} {{ blank_icon }} + {%- endif -%} + ### ICON Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.icon_top_10 + message: "{{ chip07_icon_color }}" + ### ICON Font ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.icon_top_10 + message: "{{ chip_icon }}" + + ##### JUMP TO - climate page ##### + - conditions: + - condition: trigger + id: open_climate_page + - condition: template + value_template: "{{ states(current_page) == page_home and climate |length > 0 }} " + sequence: + - variables: + entity_long: '{{ climate }}' + entity_long_name: >- + {%- if states(climate) == 'unavailable' -%} {{ climate }} + {%- else -%} {{ state_attr(climate, "friendly_name")| default('no name') }} + {%- endif -%} + entity_back: '{{ page_home }}' + - service: '{{ command_set_settings_entity }}' + data: + entity: '{{ entity_long }},{{ entity_back }},{{ entity_long_name }}' + + - service: "{{ command_printf }}" + data: + cmd: "page {{ page_climate }}" + + ##### JUMP TO - Weather Page ##### + - conditions: + - condition: trigger + id: open_weather_page + - condition: template + value_template: "{{ states(current_page) == page_home }}" + sequence: + - service: "{{ command_printf }}" + data: + cmd: "page {{ page_weather01 }}" + + ##### JUMP TO - QR Code Page ##### + - conditions: + - condition: trigger + id: open_qrcode_page + - condition: template + value_template: "{{ states(current_page) == page_home and qrcode_enabled == true }}" + sequence: + - service: "{{ command_printf }}" + data: + cmd: "page {{ page_qrcode }}" + + ##### JUMP TO - ENTITY Page ##### + - conditions: + - condition: trigger + id: open_entity_page + - condition: template + value_template: "{{ states(current_page) == page_home and entitypages_enabled == true }}" + sequence: + - service: "{{ command_printf }}" + data: + cmd: "page {{ page_entitypage01 }}" + + ##### JUMP TO - notification ##### + - conditions: + - condition: trigger + id: open_notification_page + - condition: template + value_template: "{{ states(current_page) == page_home and states(notification_text) |length > 0}}" + sequence: + - service: "{{ command_printf }}" + data: + cmd: "page {{ page_notification }}" + + #### SHOW BUTTON - notification #### + - conditions: + - condition: trigger + id: + - notification_text_state + - notification_unread_state + - condition: template + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' and trigger.event.data.new_state.state != 'unknown' }}" + sequence: + - alias: "Set notifiy pic" + variables: + set_button04_icon: >- + {%- if is_state(notification_unread, 'on') and states(notification_text) |length > 0 -%} {{ home_button04_icon}} + {%- elif is_state(notification_unread, 'off') and states(notification_text) |length > 0 -%} {{ home_button04_icon }} + {%- else -%} {{ blank_icon }} + {%- endif -%} + set_button04_icon_font: >- + {%- if is_state(notification_unread, 'on') and states(notification_text) |length > 0 -%} {{ home_button04_icon_color01 }} + {%- elif is_state(notification_unread, 'off') and states(notification_text) |length > 0 -%} {{ home_button04_icon_color02 }} + {%- else -%} {{ color_03 }} + {%- endif -%} + ##### SET ICON Font - Notify ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: home.button04_icon + message: "{{ set_button04_icon }}" + + ##### SET ICON Font Color - Notify ##### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.button04_icon + message: "{{ set_button04_icon_font }}" + + ##### SHOW BUTTON - notification clear ##### + - conditions: + - condition: trigger + id: btn_notificationclearrelease + - condition: template + value_template: "{{ states(current_page) == page_home and states(confirmation_message) != 'on'}}" + sequence: + - service: switch.turn_off + data: + entity_id: "{{ notification_unread }}" + - service: "{{ command_printf }}" + data: + cmd: "page {{ page_home }}" + + ##### SHOW BUTTON - notification accept ##### + - conditions: + - condition: trigger + id: btn_notificationacceptrelease + - condition: template + value_template: "{{ states(current_page) == page_home and states(confirmation_message) != 'on'}}" + sequence: + - service: switch.turn_off + data: + entity_id: "{{ notification_unread }}" + - service: "{{ command_notification_clear }}" + data: {} + - service: "{{ command_printf }}" + data: + cmd: "page {{ page_home }}" + + ##### LEFT BUTTON - press ##### - conditions: - condition: trigger id: left_button_press sequence: - - service: >- - {% if left_button_entity is match 'light.' %} - light.toggle - {% elif left_button_entity is match 'switch.' %} - switch.toggle - {% elif left_button_entity is match 'cover.' %} - cover.toggle - {% elif left_button_entity is match 'input_boolean.' %} - input_boolean.toggle - {% elif left_button_entity is match 'automation.' %} - automation.toggle - {% elif left_button_entity is match 'button.' %} - button.press - {% elif left_button_entity is match 'input_button.' %} - input_button.press - {% elif left_button_entity is match 'scene.' %} - scene.turn_on - {% elif left_button_entity is match 'script.' %} - script.turn_on - {% elif left_button_entity is match 'fan.' %} - fan.toggle - {% endif %} - data: - entity_id: "{{ left_button_entity }}" - - delay: - milliseconds: "{{ delay_value }}" + - wait_template: "{{ is_state(left_button, 'off') }}" + timeout: !input hold_delay + continue_on_timeout: true + - if: + - condition: template + value_template: "{{ not wait.completed }}" + then: # Hold + - choose: + - conditions: '{{ left_button_hold_select == "Default" and left_button_entity |length > 0 }}' + sequence: + - variables: + entity_long: '{{ left_button_entity }}' + entity_long_name: >- + {%- if left_button_name |length > 0 -%} {{ left_button_name }} + {%- elif states(left_button_entity) == 'unavailable' -%} {{ left_button_entity }} + {%- else -%} {{ state_attr(left_button_entity, "friendly_name")| default('no name') }} + {%- endif -%} + entity_back: '{{ page_home }}' + - service: '{{ command_set_settings_entity }}' + data: + entity: '{{ entity_long }},{{ entity_back }},{{ entity_long_name }}' - ##### Left button State ##### + - conditions: '{{ left_button_hold_select == "Custom Action" }}' + sequence: !input left_button_hold_custom_action + else: # Single Click + - condition: template + value_template: '{{ left_button_entity |length > 0 }}' + - service: >- + {% if left_button_entity is match 'light.' %} + light.toggle + {% elif left_button_entity is match 'switch.' %} + switch.toggle + {% elif left_button_entity is match 'cover.' %} + cover.toggle + {% elif left_button_entity is match 'input_boolean.' %} + input_boolean.toggle + {% elif left_button_entity is match 'automation.' %} + automation.toggle + {% elif left_button_entity is match 'button.' %} + button.press + {% elif left_button_entity is match 'input_button.' %} + input_button.press + {% elif left_button_entity is match 'scene.' %} + scene.turn_on + {% elif left_button_entity is match 'script.' %} + script.turn_on + {% elif left_button_entity is match 'fan.' %} + fan.toggle + {% endif %} + data: + entity_id: "{{ left_button_entity }}" + + ##### LEFT BUTTON - state ##### - conditions: - condition: trigger id: left_button_state + - condition: template + value_template: "{{ states(current_page) == page_home }}" sequence: - + ###### Left Hardware Button PIC ##### - variables: # Hardware Button PIC @@ -5046,42 +9741,71 @@ action: data: cmd: home.left_bt_pic.pic={{ left_hardware_button_state }} - ##### Right button press ##### + ##### RIGHT BUTTON - press ##### - conditions: - condition: trigger id: right_button_press sequence: - - service: >- - {% if right_button_entity is match 'light.' %} - light.toggle - {% elif right_button_entity is match 'switch.' %} - switch.toggle - {% elif right_button_entity is match 'cover.' %} - cover.toggle - {% elif right_button_entity is match 'input_boolean.' %} - input_boolean.toggle - {% elif right_button_entity is match 'automation.' %} - automation.toggle - {% elif right_button_entity is match 'button.' %} - button.press - {% elif right_button_entity is match 'input_button.' %} - input_button.press - {% elif right_button_entity is match 'scene.' %} - scene.turn_on - {% elif right_button_entity is match 'script.' %} - script.turn_on - {% elif right_button_entity is match 'fan.' %} - fan.toggle - {% endif %} - data: - entity_id: "{{ right_button_entity }}" + - wait_template: "{{ is_state(right_button, 'off') }}" + timeout: !input hold_delay + continue_on_timeout: true + - if: + - condition: template + value_template: "{{ not wait.completed }}" + then: # Hold + - choose: + - conditions: '{{ right_button_hold_select == "Default" and right_button_entity |length > 0 }}' + sequence: + - variables: + entity_long: '{{ right_button_entity }}' + entity_long_name: >- + {%- if right_button_name |length > 0 -%} {{ right_button_name }} + {%- elif states(right_button_entity) == 'unavailable' -%} {{ right_button_entity }} + {%- else -%} {{ state_attr(right_button_entity, "friendly_name")| default('no name') }} + {%- endif -%} + entity_back: '{{ page_home }}' + - service: '{{ command_set_settings_entity }}' + data: + entity: '{{ entity_long }},{{ entity_back }},{{ entity_long_name }}' - ##### Right button State ##### + - conditions: '{{ right_button_hold_select == "Custom Action" }}' + sequence: !input right_button_hold_custom_action + else: # Single Click + - condition: template + value_template: '{{ right_button_entity |length > 0 }}' + - service: >- + {% if right_button_entity is match 'light.' %} + light.toggle + {% elif right_button_entity is match 'switch.' %} + switch.toggle + {% elif right_button_entity is match 'cover.' %} + cover.toggle + {% elif right_button_entity is match 'input_boolean.' %} + input_boolean.toggle + {% elif right_button_entity is match 'automation.' %} + automation.toggle + {% elif right_button_entity is match 'button.' %} + button.press + {% elif right_button_entity is match 'input_button.' %} + input_button.press + {% elif right_button_entity is match 'scene.' %} + scene.turn_on + {% elif right_button_entity is match 'script.' %} + script.turn_on + {% elif right_button_entity is match 'fan.' %} + fan.toggle + {% endif %} + data: + entity_id: "{{ right_button_entity }}" + + ##### RIGHT BUTTON - state ##### - conditions: - condition: trigger id: right_button_state + - condition: template + value_template: "{{ states(current_page) == page_home }}" sequence: - + ###### Left Hardware Button PIC ##### - variables: # Hardware Button PIC @@ -5095,16 +9819,33 @@ action: data: cmd: home.right_bt_pic.pic={{ right_hardware_button_state }} - ##### Date and Time Home Page ##### + ##### DATE AND TIME ##### - conditions: - condition: trigger id: time_state + - condition: template + value_template: "{{ states(current_page) == page_home }}" sequence: - ##### Time Home Page ##### + ### TIME Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.time + message: "{{ time_label_color }}" + ### TIME Font ### - service: "{{ command_text_printf }}" data: component: home.time message: "{{ time }}" + ### DATE Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.date + message: "{{ date_label_color }}" + ### DATE Font ### - delay: milliseconds: "{{ delay_value }}" - service: "{{ command_text_printf }}" @@ -5112,98 +9853,97 @@ action: component: home.date message: "{{ date01_mui }}" - ##### Humidity ##### - - conditions: - - condition: trigger - id: humidity_state - - condition: template - value_template: "{{ trigger.event.data.new_state.state != 'unavailable' }}" - sequence: - - service: "{{ command_text_printf }}" - data: - component: home.humidity_state - message: "{{ trigger.event.data.new_state.state |round(0) }}%" - - ##### Hotwater Temp ##### - - conditions: - - condition: trigger - id: hotwatertemp_state - - condition: template - value_template: "{{ trigger.event.data.new_state.state != 'unavailable' }}" - sequence: - - service: "{{ command_text_printf }}" - data: - component: home.hotwater_temp - message: "{{ trigger.event.data.new_state.state |round(1) }}°" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: climate.hotwater_temp - message: "{{ trigger.event.data.new_state.state |round(1) }}°" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: home.hotwater_pic.pic={{ hotwater_pic_on }} - - ##### Outdoor Temp Entity ##### + ##### OUTDOOR TEMP - entity ##### - conditions: - condition: trigger id: outdoortemp_state - condition: template - value_template: "{{ trigger.event.data.new_state.state != 'unavailable' }}" + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" sequence: - - service: "{{ command_text_printf }}" + ### LABEL Outdoor Temp Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" data: component: home.outdoor_temp - message: "{{ trigger.event.data.new_state.state |round(0) }}°" + message: "{{ home_outdoor_temp_label_color }}" + ### LABEL Outdoor Temp Font ### - delay: milliseconds: "{{ delay_value }}" - service: "{{ command_text_printf }}" data: - component: climate.outdoor_temp - message: "{{ trigger.event.data.new_state.state |round(0) }}°" + component: home.outdoor_temp + message: "{{ trigger.event.data.new_state.state |round(1) }}°" - ##### Indoor Temp Entity ##### + ##### INDOOR TEMP - entity ##### - conditions: - condition: trigger id: indoortemp_state - condition: template - value_template: "{{ trigger.event.data.new_state.state != 'unavailable' }}" + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" sequence: + ### LABEL Indoor Temp Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.current_temp + message: "{{ home_indoor_temp_label_color }}" + ### LABEL Indoor Temp Font ### + - delay: + milliseconds: "{{ delay_value }}" - service: "{{ command_text_printf }}" data: component: home.current_temp message: "{{ trigger.event.data.new_state.state |round(1) }}°" - ##### Indoor NSPANEL Temp Entity ##### + ##### INDOOR TEMP - nspanel ##### - conditions: - condition: trigger id: nspaneltemp_state - condition: template - value_template: "{{ trigger.event.data.new_state.state != 'unavailable' }}" + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" sequence: - if: - condition: template value_template: '{{ indoortemp is not match "sensor." }}' then: + ### LABEL Indoor Temp Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.current_temp + message: "{{ home_indoor_temp_label_color }}" + ### LABEL Indoor Temp Font ### + - delay: + milliseconds: "{{ delay_value }}" - service: "{{ command_text_printf }}" data: component: home.current_temp message: "{{ trigger.event.data.new_state.state |round(1) }}°" - ##### Weather state change update ##### + ##### WEATHER STATE - change update ##### - conditions: - condition: trigger id: weather_state_change - condition: template - value_template: "{{ trigger.event.data.new_state.state != 'unavailable' }}" + value_template: "{{ states(current_page) == page_home and trigger.event.data.new_state.state != 'unavailable' }}" sequence: - if: - condition: template value_template: '{{ outdoortemp is not match "sensor." }}' then: + ### LABEL Outdoor Temp Font Color ### + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_font_color }}" + data: + component: home.outdoor_temp + message: "{{ home_outdoor_temp_label_color }}" + ### LABEL Outdoor Temp Font ### + - delay: + milliseconds: "{{ delay_value }}" - service: "{{ command_text_printf }}" data: component: home.outdoor_temp @@ -5212,7 +9952,7 @@ action: data: component: climate.outdoor_temp message: '{{trigger.event.data.new_state.attributes.temperature | round(0)}}°' - + - variables: weather_pic: >- {%- if trigger.event.data.new_state.state == 'sunny' -%} {{ weather_sunny }} @@ -5238,2013 +9978,65 @@ action: data: cmd: home.weather.pic={{ weather_pic }} - ##### PAGE CHANGED ##### + + +########################################################################################################### + + + ##### Sync Climate ##### -> muss noch in page changed climate wwenn climate page fertig - conditions: - condition: trigger - id: current_page_changed - sequence: - - choose: - ## PAGE HOME ## - - conditions: '{{ trigger.event.data.new_state.state == page_home }}' - sequence: - ##### NSPanel Date ##### - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: home.date - message: "{{ date01_mui }}" - - ##### NSPanel Time ##### - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: home.time - message: "{{ time }}" - - ##### NSPanel Humidity ##### - - if: - - condition: template - value_template: '{{ humidity is match "sensor." and states(humidity).state != "unavailable" }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: home.humidity_pic.pic={{ humidity_pic_on }} - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: home.humidity_state - message: "{{ states(humidity) |round(0) }}%" - - ##### NSPanel Hotwater ##### - - if: - - condition: template - value_template: '{{ hotwatertemp is match "sensor." and states(hotwatertemp).state != "unavailable" }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: home.hotwater_pic.pic={{ hotwater_pic_on }} - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: home.hotwater_temp - message: "{{ states(hotwatertemp) |round(1) }}°" - - ##### NSPanel Outdoor Temp ##### - - variables: - outdoor_temp: >- - {%- if outdoortemp is match "sensor." and states(outdoortemp).state != "unavailable" -%} {{ states(outdoortemp) |round(0) }} - {%- elif state_attr(weather_entity, "temperature") != None -%} {{state_attr(weather_entity,"temperature") | round(0)}} - {%- else -%} 0 - {%- endif -%} - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: home.outdoor_temp - message: "{{ outdoor_temp }}°" - - ##### NSPanel Indoor Temp ##### - - variables: - indoor_temp: >- - {%- if indoortemp is match "sensor." and states(indoortemp).state != "unavailable" -%} {{ states(indoortemp) |round(1) }} - {%- else -%} {{ states(nspaneltemp) |round(1) }} - {%- endif -%} - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: home.current_temp - message: "{{ indoor_temp }}°" - - ##### Weather Icon Home Page ##### - - variables: - weather_pic: >- - {%- if states(weather_entity) == 'sunny' -%} {{ weather_sunny }} - {%- elif states(weather_entity) == 'cloudy' -%} {{ weather_cloudy }} - {%- elif states(weather_entity) == 'rainy' -%} {{ weather_rainy }} - {%- elif states(weather_entity) == 'pouring' -%} {{ weather_pouring }} - {%- elif states(weather_entity) == 'snowy' -%} {{ weather_snowy }} - {%- elif states(weather_entity) == 'hail' -%} {{ weather_hail }} - {%- elif states(weather_entity) == 'snowy-rainy' -%} {{ weather_snowy_rainy }} - {%- elif states(weather_entity) == 'fog' -%} {{ weather_fog }} - {%- elif states(weather_entity) == 'windy' -%} {{ weather_windy }} - {%- elif states(weather_entity) == 'windy-variant' -%} {{ weather_windy-variant }} - {%- elif states(weather_entity) == 'lightning' -%} {{ weather_lightning }} - {%- elif states(weather_entity) == 'partlycloudy' and states('sun.sun') == 'above_horizon' -%} {{ weather_partlycloudy_day }} - {%- elif states(weather_entity) == 'partlycloudy' and states('sun.sun') == 'below_horizon' -%} {{ weather_partlycloudy_night }} - {%- elif states(weather_entity) == 'lightning-rainy' and states('sun.sun') == 'above_horizon' -%} {{ weather_lightning_rainy_day }} - {%- elif states(weather_entity) == 'lightning-rainy' and states('sun.sun') == 'below_horizon' -%} {{ weather_lightning_rainy_night }} - {%- elif states(weather_entity) == 'execptional' and states('sun.sun') == 'above_horizon' -%} {{ weather_execptional_day }} - {%- elif states(weather_entity) == 'execptional' and states('sun.sun') == 'below_horizon' -%} {{ weather_execptional_night }} - {%- elif states(weather_entity) == 'clear-night' -%} {{ weather_clear_night }} - {%- endif -%} - - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: home.weather.pic={{ weather_pic }} - - ##### NSPanel Left Button Name ##### - - if: - - condition: template - value_template: '{{ left_button_name |length > 0 }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: home.left_bt_text - message: "{{ left_button_name }}" - - ##### SET Left Hardware Button PIC on Home Page #### - - if: - - condition: template - value_template: '{{ left_button_entity |length > 0 and states(left_button_entity).state != "unavailable" }}' - then: - - variables: - # Hardware Button PIC - left_hardware_button_state: >- - {%- if states(left_button_entity) == 'off' -%} {{ hardware_button_pic_off }} - {%- elif states(left_button_entity) == 'on' -%} {{ hardware_button_pic_on }} - {%- endif -%} - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: home.left_bt_pic.pic={{ left_hardware_button_state }} - - ##### NSPanel Right Button Name ##### - - if: - - condition: template - value_template: '{{ right_button_name |length > 0 }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_text_printf }}" - data: - component: home.right_bt_text - message: "{{ right_button_name }}" - - ##### SET Right Hardware Button PIC on Home Page ##### - - - if: - - condition: template - value_template: '{{ right_button_entity |length > 0 and states(right_button_entity).state != "unavailable" }}' - then: - - variables: - # Hardware Button PIC - right_hardware_button_state: >- - {%- if states(right_button_entity) == 'off' -%} {{ hardware_button_pic_off }} - {%- elif states(right_button_entity) == 'on' -%} {{ hardware_button_pic_on }} - {%- endif -%} - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: home.right_bt_pic.pic={{ right_hardware_button_state }} - - ##### StatusBar - Climate Symbol ###### - - if: - - condition: template - value_template: '{{ climate |length > 0 }}' - then: - - variables: - top_menu_climate: >- - {%- if states(climate) == "heat" and state_attr(climate, "hvac_action") != None and state_attr(climate, "hvac_action") == "heating" -%} {{ heat_pic_on }} - {%- elif states(climate) == "heat" -%} {{ thermostat_pic_on }} - {%- else -%} {{ top_menu_blank }} - {%- endif -%} - - service: "{{ command_printf }}" - data: - cmd: home.icon_top_03.pic={{ top_menu_climate }} - - ##### StatusBar - Relay Symbols ###### - - variables: - relay01_pic: >- - {%- if states(relay01_entity) == 'on' -%} {{ relay01_pic_on }} - {%- else -%} {{ top_menu_blank }} - {%- endif -%} - relay02_pic: >- - {%- if states(relay02_entity) == 'on' -%} {{ relay02_pic_on }} - {%- else -%} {{ top_menu_blank }} - {%- endif -%} - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: home.icon_top_01.pic={{ relay01_pic }} - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: home.icon_top_02.pic={{ relay02_pic }} - - ##### climate-page left - apply climate temperature if climate_optimistic ##### - - if: - - condition: template - value_template: '{{ trigger.event.data.old_state.state == page_climate }}' - then: - - if: - - condition: template - value_template: '{{ climate_optimistic == true }}' - then: - - variables: - display_target_temperature: "{{states(display_target_temperature) | round(1)}}" - - if: - - condition: template - value_template: '{{ display_target_temperature != 0.0 }}' - then: - - service: climate.set_temperature - data: - entity_id: !input climate - #hvac_mode: 'heat' - temperature: "{{ display_target_temperature }}" - - ##### Set notify icon ##### - - variables: - notify_pic: >- - {%- if is_state(notification_unread, 'on') and states(notification_text) |length > 0 -%} {{ home_button_notify_red }} - {%- elif is_state(notification_unread, 'off') and states(notification_text) |length > 0 -%} {{ home_button_notify_white }} - {%- else -%} {{ home_button_blank }} - {%- endif -%} - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: "homebt04_pic.pic={{ notify_pic }}" - - ###### QR Code - Icon ###### - - if: - - condition: template - value_template: '{{ qrcode_state == true }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: "homebt05_pic.pic={{ home_button_qrcode }}" - - ###### ENTITIES - Icon ###### - - if: - - condition: template - value_template: '{{ entitypages_enabled }}' - then: - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: "homebt06_pic.pic={{ home_button_entities }}" - - ###### StatusBar - Icon 04 ###### - - if: - - condition: template - value_template: '{{ heatingsystemflame |length > 0 }}' - then: - - variables: - flame_pic: >- - {%- if states(heatingsystemflame) == "on" -%} {{ flame_pic_on }} - {%- else -%} {{ top_menu_blank }} - {%- endif -%} - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: home.icon_top_04.pic={{ flame_pic }} - - ## PAGE WEATHE01 ## - - conditions: '{{ trigger.event.data.new_state.state == page_weather01 }}' - sequence: - - choose: - - conditions: '{{ weather == "Default" }}' - sequence: - - variables: - # weather PIC - weather_icon: >- - {%- if states(weather_entity) == 'sunny' -%} {{ weather_sunny }} - {%- elif states(weather_entity) == 'cloudy' -%} {{ weather_cloudy }} - {%- elif states(weather_entity) == 'rainy' -%} {{ weather_rainy }} - {%- elif states(weather_entity) == 'pouring' -%} {{ weather_pouring }} - {%- elif states(weather_entity) == 'snowy' -%} {{ weather_snowy }} - {%- elif states(weather_entity) == 'hail' -%} {{ weather_hail }} - {%- elif states(weather_entity) == 'snowy-rainy' -%} {{ weather_snowy_rainy }} - {%- elif states(weather_entity) == 'fog' -%} {{ weather_fog }} - {%- elif states(weather_entity) == 'windy' -%} {{ weather_windy }} - {%- elif states(weather_entity) == 'windy-variant' -%} {{ weather_windy-variant }} - {%- elif states(weather_entity) == 'lightning' -%} {{ weather_lightning }} - {%- elif states(weather_entity) == 'partlycloudy' and states('sun.sun') == 'above_horizon' -%} {{ weather_partlycloudy_day }} - {%- elif states(weather_entity) == 'partlycloudy' and states('sun.sun') == 'below_horizon' -%} {{ weather_partlycloudy_night }} - {%- elif states(weather_entity) == 'lightning-rainy' and states('sun.sun') == 'above_horizon' -%} {{ weather_lightning_rainy_day }} - {%- elif states(weather_entity) == 'lightning-rainy' and states('sun.sun') == 'below_horizon' -%} {{ weather_lightning_rainy_night }} - {%- elif states(weather_entity) == 'execptional' and states('sun.sun') == 'above_horizon' -%} {{ weather_execptional_day }} - {%- elif states(weather_entity) == 'execptional' and states('sun.sun') == 'below_horizon' -%} {{ weather_execptional_night }} - {%- elif states(weather_entity) == 'clear-night' -%} {{ weather_clear_night }} - {%- endif -%} - - ##### SET weather PIC on Home Page #### - - service: "{{ command_printf }}" - data: - cmd: weather01.weather_icon.pic={{ weather_icon }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MAX #### - - service: "{{ command_text_printf }}" - data: - component: weather01.temp_max ### Temperature MAX ### - message: '{{state_attr(weather_entity,"temperature") | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Name ##### - - service: "{{ command_text_printf }}" - data: - component: weather01.day - message: "{{ day01_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Date ##### - - service: "{{ command_text_printf }}" - data: - component: weather01.date - message: "{{ date01_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 1 ##### - - ##### field 2 ##### - - ##### field 3 ##### - - service: "{{ command_text_printf }}" - data: - component: weather01.value03 - message: '{{state_attr(weather_entity,"wind_speed") | round(0)}} km/h' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather01.value03_pic.pic={{ weather_icon_wind }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 4 ##### - - ##### field 5 ##### - - - conditions: '{{ weather == "AccuWeather" }}' - sequence: - - variables: - # weather PIC - weather_icon: >- - {%- if state_attr(weather_entity,"forecast")[0].condition == 'sunny' -%} {{ weather_sunny }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'cloudy' -%} {{ weather_cloudy }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'rainy' -%} {{ weather_rainy }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'pouring' -%} {{ weather_pouring }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'snowy' -%} {{ weather_snowy }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'hail' -%} {{ weather_hail }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'fog' -%} {{ weather_fog }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'windy' -%} {{ weather_windy }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'windy-variant' -%} {{ weather_windy-variant }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'lightning' -%} {{ weather_lightning }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'execptional' -%} {{ weather_execptional_day }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'clear-night' -%} {{ weather_clear_night }} - {%- endif -%} - - ##### SET weather PIC on Home Page #### - - service: "{{ command_printf }}" - data: - cmd: weather01.weather_icon.pic={{ weather_icon }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MIN #### - - service: "{{ command_text_printf }}" - data: - component: weather01.temp_min ### Temperature MIN ### - message: '{{states(accuweather_realfeel_temperature_min_0d) | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Slash ##### - - service: "{{ command_text_printf }}" - data: - component: weather01.slash - message: '/' - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MAX #### - - service: "{{ command_text_printf }}" - data: - component: weather01.temp_max ### Temperature MAX ### - message: '{{states(accuweather_realfeel_temperature_max_0d) | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Name ##### - - service: "{{ command_text_printf }}" - data: - component: weather01.day - message: "{{ day01_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Date ##### - - service: "{{ command_text_printf }}" - data: - component: weather01.date - message: "{{ date01_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 1 ##### - - service: "{{ command_text_printf }}" - data: - component: weather01.value01 - message: "{{ state_attr(weather_entity,'forecast')[0].precipitation_probability}} %" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather01.value01_pic.pic={{ weather_icon_rain }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 2 ##### - - service: "{{ command_text_printf }}" - data: - component: weather01.value02 - message: "{{states(accuweather_hours_of_sun_0d) | round(0)}} h" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather01.value02_pic.pic={{ weather_icon_sun }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 3 ##### - - service: "{{ command_text_printf }}" - data: - component: weather01.value03 - message: "{{state_attr(accuweather_uv_index_0d, 'level')}} {{states(accuweather_uv_index_0d) | round(0)}}" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather01.value03_pic.pic={{ weather_icon_protect }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 4 ##### - - service: "{{ command_text_printf }}" - data: - component: weather01.value04 - message: "{{states(accuweather_thunderstorm_probability_day_0d) | round(0)}} %" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather01.value04_pic.pic={{ weather_icon_lightning }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 5 ##### - - service: "{{ command_text_printf }}" - data: - component: weather01.value05 - message: "{{states(accuweather_wind_day_0d) | round(0)}} km/h" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather01.value05_pic.pic={{ weather_icon_wind }} - - default: - - service: "{{ command_printf }}" - data: - cmd: "page {{ page_home }}" - - ## PAGE WEATHE02 ## - - conditions: '{{ trigger.event.data.new_state.state == page_weather02 }}' - sequence: - - choose: - - conditions: '{{ weather == "Default" }}' - sequence: - - variables: - # weather PIC - weather_icon: >- - {%- if state_attr(weather_entity,"forecast")[0].condition == 'sunny' -%} {{ weather_sunny }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'cloudy' -%} {{ weather_cloudy }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'rainy' -%} {{ weather_rainy }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'pouring' -%} {{ weather_pouring }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'snowy' -%} {{ weather_snowy }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'hail' -%} {{ weather_hail }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'fog' -%} {{ weather_fog }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'windy' -%} {{ weather_windy }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'windy-variant' -%} {{ weather_windy-variant }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'lightning' -%} {{ weather_lightning }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'execptional' -%} {{ weather_execptional_day }} - {%- elif state_attr(weather_entity,"forecast")[0].condition == 'clear-night' -%} {{ weather_clear_night }} - {%- endif -%} - - ##### SET weather PIC on Home Page #### - - service: "{{ command_printf }}" - data: - cmd: weather02.weather_icon.pic={{ weather_icon }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MIN #### - - service: "{{ command_text_printf }}" - data: - component: weather02.temp_min ### Temperature MIN ### - message: '{{state_attr(weather_entity,"forecast")[0].templow | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Slash ##### - - service: "{{ command_text_printf }}" - data: - component: weather02.slash - message: '/' - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MAX #### - - service: "{{ command_text_printf }}" - data: - component: weather02.temp_max ### Temperature MAX ### - message: '{{state_attr(weather_entity,"forecast")[0].temperature | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Name ##### - - service: "{{ command_text_printf }}" - data: - component: weather02.day - message: "{{ day02_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Date ##### - - service: "{{ command_text_printf }}" - data: - component: weather02.date - message: "{{ date02_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 1 ##### - - ##### field 2 ##### - - service: "{{ command_text_printf }}" - data: - component: weather02.value02 - message: '{{state_attr(weather_entity,"forecast")[0].precipitation| round(1)}} mm' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather02.value02_pic.pic={{ weather_icon_rain }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 3 ##### - - service: "{{ command_text_printf }}" - data: - component: weather02.value03 - message: '{{state_attr(weather_entity,"forecast")[0].wind_speed | round(1)}} km/h' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather02.value03_pic.pic={{ weather_icon_wind }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 4 ##### - - ##### field 5 ##### - - - conditions: '{{ weather == "AccuWeather" }}' - sequence: - - variables: - # weather PIC - weather_icon: >- - {%- if state_attr(weather_entity,"forecast")[1].condition == 'sunny' -%} {{ weather_sunny }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'cloudy' -%} {{ weather_cloudy }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'rainy' -%} {{ weather_rainy }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'pouring' -%} {{ weather_pouring }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'snowy' -%} {{ weather_snowy }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'hail' -%} {{ weather_hail }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'fog' -%} {{ weather_fog }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'windy' -%} {{ weather_windy }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'windy-variant' -%} {{ weather_windy-variant }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'lightning' -%} {{ weather_lightning }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'execptional' -%} {{ weather_execptional_day }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'clear-night' -%} {{ weather_clear_night }} - {%- endif -%} - - ##### SET weather PIC on Home Page #### - - service: "{{ command_printf }}" - data: - cmd: weather02.weather_icon.pic={{ weather_icon }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MIN #### - - service: "{{ command_text_printf }}" - data: - component: weather02.temp_min ### Temperature MIN ### - message: '{{states(accuweather_realfeel_temperature_min_1d) | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Slash ##### - - service: "{{ command_text_printf }}" - data: - component: weather02.slash - message: '/' - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MAX #### - - service: "{{ command_text_printf }}" - data: - component: weather02.temp_max ### Temperature MAX ### - message: '{{states(accuweather_realfeel_temperature_max_1d) | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Name ##### - - service: "{{ command_text_printf }}" - data: - component: weather02.day - message: "{{ day02_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Date ##### - - service: "{{ command_text_printf }}" - data: - component: weather02.date - message: "{{ date02_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 1 ##### - - service: "{{ command_text_printf }}" - data: - component: weather02.value01 - message: "{{ state_attr(weather_entity,'forecast')[1].precipitation_probability}} %" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather02.value01_pic.pic={{ weather_icon_rain }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 2 ##### - - service: "{{ command_text_printf }}" - data: - component: weather02.value02 - message: "{{states(accuweather_hours_of_sun_1d) | round(0)}} h" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather02.value02_pic.pic={{ weather_icon_sun }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 3 ##### - - service: "{{ command_text_printf }}" - data: - component: weather02.value03 - message: "{{state_attr(accuweather_uv_index_1d, 'level')}} {{states(accuweather_uv_index_1d) | round(0)}}" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather02.value03_pic.pic={{ weather_icon_protect }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 4 ##### - - service: "{{ command_text_printf }}" - data: - component: weather02.value04 - message: "{{states(accuweather_thunderstorm_probability_day_1d) | round(0)}} %" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather02.value04_pic.pic={{ weather_icon_lightning }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 5 ##### - - service: "{{ command_text_printf }}" - data: - component: weather02.value05 - message: "{{states(accuweather_wind_day_1d) | round(0)}} km/h" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather02.value05_pic.pic={{ weather_icon_wind }} - - default: - - service: "{{ command_printf }}" - data: - cmd: "page {{ page_home }}" - - ## PAGE WEATHE03 ## - - conditions: '{{ trigger.event.data.new_state.state == page_weather03 }}' - sequence: - - choose: - - conditions: '{{ weather == "Default" }}' - sequence: - - variables: - # weather PIC - weather_icon: >- - {%- if state_attr(weather_entity,"forecast")[1].condition == 'sunny' -%} {{ weather_sunny }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'cloudy' -%} {{ weather_cloudy }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'rainy' -%} {{ weather_rainy }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'pouring' -%} {{ weather_pouring }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'snowy' -%} {{ weather_snowy }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'hail' -%} {{ weather_hail }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'fog' -%} {{ weather_fog }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'windy' -%} {{ weather_windy }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'windy-variant' -%} {{ weather_windy-variant }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'lightning' -%} {{ weather_lightning }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'execptional' -%} {{ weather_execptional_day }} - {%- elif state_attr(weather_entity,"forecast")[1].condition == 'clear-night' -%} {{ weather_clear_night }} - {%- endif -%} - - ##### SET weather PIC on Home Page #### - - service: "{{ command_printf }}" - data: - cmd: weather03.weather_icon.pic={{ weather_icon }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MIN #### - - service: "{{ command_text_printf }}" - data: - component: weather03.temp_min ### Temperature MIN ### - message: '{{state_attr(weather_entity,"forecast")[1].templow | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Slash ##### - - service: "{{ command_text_printf }}" - data: - component: weather03.slash - message: '/' - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MAX #### - - service: "{{ command_text_printf }}" - data: - component: weather03.temp_max ### Temperature MAX ### - message: '{{state_attr(weather_entity,"forecast")[1].temperature | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Name ##### - - service: "{{ command_text_printf }}" - data: - component: weather03.day - message: "{{ day03_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Date ##### - - service: "{{ command_text_printf }}" - data: - component: weather03.date - message: "{{ date03_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 1 ##### - - ##### field 2 ##### - - service: "{{ command_text_printf }}" - data: - component: weather03.value02 - message: '{{state_attr(weather_entity,"forecast")[1].precipitation| round(1)}} mm' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather03.value02_pic.pic={{ weather_icon_rain }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 3 ##### - - service: "{{ command_text_printf }}" - data: - component: weather03.value03 - message: '{{state_attr(weather_entity,"forecast")[1].wind_speed | round(1)}} km/h' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather03.value03_pic.pic={{ weather_icon_wind }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 4 ##### - - ##### field 5 ##### - - - conditions: '{{ weather == "AccuWeather" }}' - sequence: - - variables: - # weather PIC - weather_icon: >- - {%- if state_attr(weather_entity,"forecast")[2].condition == 'sunny' -%} {{ weather_sunny }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'cloudy' -%} {{ weather_cloudy }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'rainy' -%} {{ weather_rainy }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'pouring' -%} {{ weather_pouring }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'snowy' -%} {{ weather_snowy }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'hail' -%} {{ weather_hail }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'fog' -%} {{ weather_fog }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'windy' -%} {{ weather_windy }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'windy-variant' -%} {{ weather_windy-variant }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'lightning' -%} {{ weather_lightning }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'execptional' -%} {{ weather_execptional_day }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'clear-night' -%} {{ weather_clear_night }} - {%- endif -%} - - ##### SET weather PIC on Home Page #### - - service: "{{ command_printf }}" - data: - cmd: weather03.weather_icon.pic={{ weather_icon }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MIN #### - - service: "{{ command_text_printf }}" - data: - component: weather03.temp_min ### Temperature MIN ### - message: '{{states(accuweather_realfeel_temperature_min_2d) | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Slash ##### - - service: "{{ command_text_printf }}" - data: - component: weather03.slash - message: '/' - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MAX #### - - service: "{{ command_text_printf }}" - data: - component: weather03.temp_max ### Temperature MAX ### - message: '{{states(accuweather_realfeel_temperature_max_2d) | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Name ##### - - service: "{{ command_text_printf }}" - data: - component: weather03.day - message: "{{ day03_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Date ##### - - service: "{{ command_text_printf }}" - data: - component: weather03.date - message: "{{ date03_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 1 ##### - - service: "{{ command_text_printf }}" - data: - component: weather03.value01 - message: "{{ state_attr(weather_entity,'forecast')[2].precipitation_probability}} %" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather03.value01_pic.pic={{ weather_icon_rain }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 2 ##### - - service: "{{ command_text_printf }}" - data: - component: weather03.value02 - message: "{{states(accuweather_hours_of_sun_2d) | round(0)}} h" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather03.value02_pic.pic={{ weather_icon_sun }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 3 ##### - - service: "{{ command_text_printf }}" - data: - component: weather03.value03 - message: "{{state_attr(accuweather_uv_index_2d, 'level')}} {{states(accuweather_uv_index_2d) | round(0)}}" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather03.value03_pic.pic={{ weather_icon_protect }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 4 ##### - - service: "{{ command_text_printf }}" - data: - component: weather03.value04 - message: "{{states(accuweather_thunderstorm_probability_day_2d) | round(0)}} %" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather03.value04_pic.pic={{ weather_icon_lightning }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 5 ##### - - service: "{{ command_text_printf }}" - data: - component: weather03.value05 - message: "{{states(accuweather_wind_day_2d) | round(0)}} km/h" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather03.value05_pic.pic={{ weather_icon_wind }} - - default: - - service: "{{ command_printf }}" - data: - cmd: "page {{ page_home }}" - - ## PAGE WEATHE04 ## - - conditions: '{{ trigger.event.data.new_state.state == page_weather04 }}' - sequence: - - choose: - - conditions: '{{ weather == "Default" }}' - sequence: - - variables: - # weather PIC - weather_icon: >- - {%- if state_attr(weather_entity,"forecast")[2].condition == 'sunny' -%} {{ weather_sunny }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'cloudy' -%} {{ weather_cloudy }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'rainy' -%} {{ weather_rainy }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'pouring' -%} {{ weather_pouring }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'snowy' -%} {{ weather_snowy }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'hail' -%} {{ weather_hail }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'fog' -%} {{ weather_fog }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'windy' -%} {{ weather_windy }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'windy-variant' -%} {{ weather_windy-variant }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'lightning' -%} {{ weather_lightning }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'execptional' -%} {{ weather_execptional_day }} - {%- elif state_attr(weather_entity,"forecast")[2].condition == 'clear-night' -%} {{ weather_clear_night }} - {%- endif -%} - - ##### SET weather PIC on Home Page #### - - service: "{{ command_printf }}" - data: - cmd: weather04.weather_icon.pic={{ weather_icon }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MIN #### - - service: "{{ command_text_printf }}" - data: - component: weather04.temp_min ### Temperature MIN ### - message: '{{state_attr(weather_entity,"forecast")[2].templow | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Slash ##### - - service: "{{ command_text_printf }}" - data: - component: weather04.slash - message: '/' - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MAX #### - - service: "{{ command_text_printf }}" - data: - component: weather04.temp_max ### Temperature MAX ### - message: '{{state_attr(weather_entity,"forecast")[2].temperature | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Name ##### - - service: "{{ command_text_printf }}" - data: - component: weather04.day - message: "{{ day04_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Date ##### - - service: "{{ command_text_printf }}" - data: - component: weather04.date - message: "{{ date04_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 1 ##### - - ##### field 2 ##### - - service: "{{ command_text_printf }}" - data: - component: weather04.value02 - message: '{{state_attr(weather_entity,"forecast")[2].precipitation| round(1)}} mm' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather04.value02_pic.pic={{ weather_icon_rain }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 3 ##### - - service: "{{ command_text_printf }}" - data: - component: weather04.value03 - message: '{{state_attr(weather_entity,"forecast")[2].wind_speed | round(1)}} km/h' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather04.value03_pic.pic={{ weather_icon_wind }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 4 ##### - - ##### field 5 ##### - - - conditions: '{{ weather == "AccuWeather" }}' - sequence: - - variables: - # weather PIC - weather_icon: >- - {%- if state_attr(weather_entity,"forecast")[3].condition == 'sunny' -%} {{ weather_sunny }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'cloudy' -%} {{ weather_cloudy }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'rainy' -%} {{ weather_rainy }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'pouring' -%} {{ weather_pouring }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'snowy' -%} {{ weather_snowy }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'hail' -%} {{ weather_hail }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'fog' -%} {{ weather_fog }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'windy' -%} {{ weather_windy }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'windy-variant' -%} {{ weather_windy-variant }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'lightning' -%} {{ weather_lightning }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'execptional' -%} {{ weather_execptional_day }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'clear-night' -%} {{ weather_clear_night }} - {%- endif -%} - - ##### SET weather PIC on Home Page #### - - service: "{{ command_printf }}" - data: - cmd: weather04.weather_icon.pic={{ weather_icon }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MIN #### - - service: "{{ command_text_printf }}" - data: - component: weather04.temp_min ### Temperature MIN ### - message: '{{states(accuweather_realfeel_temperature_min_3d) | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Slash ##### - - service: "{{ command_text_printf }}" - data: - component: weather04.slash - message: '/' - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MAX #### - - service: "{{ command_text_printf }}" - data: - component: weather04.temp_max ### Temperature MAX ### - message: '{{states(accuweather_realfeel_temperature_max_3d) | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Name ##### - - service: "{{ command_text_printf }}" - data: - component: weather04.day - message: "{{ day04_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Date ##### - - service: "{{ command_text_printf }}" - data: - component: weather04.date - message: "{{ date04_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 1 ##### - - service: "{{ command_text_printf }}" - data: - component: weather04.value01 - message: "{{ state_attr(weather_entity,'forecast')[3].precipitation_probability}} %" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather04.value01_pic.pic={{ weather_icon_rain }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 2 ##### - - service: "{{ command_text_printf }}" - data: - component: weather04.value02 - message: "{{states(accuweather_hours_of_sun_3d) | round(0)}} h" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather04.value02_pic.pic={{ weather_icon_sun }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 3 ##### - - service: "{{ command_text_printf }}" - data: - component: weather04.value03 - message: "{{state_attr(accuweather_uv_index_3d, 'level')}} {{states(accuweather_uv_index_3d) | round(0)}}" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather04.value03_pic.pic={{ weather_icon_protect }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 4 ##### - - service: "{{ command_text_printf }}" - data: - component: weather04.value04 - message: "{{states(accuweather_thunderstorm_probability_day_3d) | round(0)}} %" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather04.value04_pic.pic={{ weather_icon_lightning }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 5 ##### - - service: "{{ command_text_printf }}" - data: - component: weather04.value05 - message: "{{states(accuweather_wind_day_3d) | round(0)}} km/h" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather04.value05_pic.pic={{ weather_icon_wind }} - - default: - - service: "{{ command_printf }}" - data: - cmd: "page {{ page_home }}" - - ## PAGE WEATHE05 ## - - conditions: '{{ trigger.event.data.new_state.state == page_weather05 }}' - sequence: - - choose: - - conditions: '{{ weather == "Default" }}' - sequence: - - variables: - # weather PIC - weather_icon: >- - {%- if state_attr(weather_entity,"forecast")[3].condition == 'sunny' -%} {{ weather_sunny }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'cloudy' -%} {{ weather_cloudy }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'rainy' -%} {{ weather_rainy }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'pouring' -%} {{ weather_pouring }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'snowy' -%} {{ weather_snowy }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'hail' -%} {{ weather_hail }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'fog' -%} {{ weather_fog }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'windy' -%} {{ weather_windy }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'windy-variant' -%} {{ weather_windy-variant }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'lightning' -%} {{ weather_lightning }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'execptional' -%} {{ weather_execptional_day }} - {%- elif state_attr(weather_entity,"forecast")[3].condition == 'clear-night' -%} {{ weather_clear_night }} - {%- endif -%} - - ##### SET weather PIC on Home Page #### - - service: "{{ command_printf }}" - data: - cmd: weather05.weather_icon.pic={{ weather_icon }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MIN #### - - service: "{{ command_text_printf }}" - data: - component: weather05.temp_min ### Temperature MIN ### - message: '{{state_attr(weather_entity,"forecast")[3].templow | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Slash ##### - - service: "{{ command_text_printf }}" - data: - component: weather05.slash - message: '/' - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MAX #### - - service: "{{ command_text_printf }}" - data: - component: weather05.temp_max ### Temperature MAX ### - message: '{{state_attr(weather_entity,"forecast")[3].temperature | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Name ##### - - service: "{{ command_text_printf }}" - data: - component: weather05.day - message: "{{ day05_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Date ##### - - service: "{{ command_text_printf }}" - data: - component: weather05.date - message: "{{ date05_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 1 ##### - - ##### field 2 ##### - - service: "{{ command_text_printf }}" - data: - component: weather05.value02 - message: '{{state_attr(weather_entity,"forecast")[3].precipitation| round(1)}} mm' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather05.value02_pic.pic={{ weather_icon_rain }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 3 ##### - - service: "{{ command_text_printf }}" - data: - component: weather05.value03 - message: '{{state_attr(weather_entity,"forecast")[3].wind_speed | round(1)}} km/h' - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather05.value03_pic.pic={{ weather_icon_wind }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 4 ##### - - ##### field 5 ##### - - - conditions: '{{ weather == "AccuWeather" }}' - sequence: - - variables: - # weather PIC - weather_icon: >- - {%- if state_attr(weather_entity,"forecast")[4].condition == 'sunny' -%} {{ weather_sunny }} - {%- elif state_attr(weather_entity,"forecast")[4].condition == 'cloudy' -%} {{ weather_cloudy }} - {%- elif state_attr(weather_entity,"forecast")[4].condition == 'rainy' -%} {{ weather_rainy }} - {%- elif state_attr(weather_entity,"forecast")[4].condition == 'pouring' -%} {{ weather_pouring }} - {%- elif state_attr(weather_entity,"forecast")[4].condition == 'snowy' -%} {{ weather_snowy }} - {%- elif state_attr(weather_entity,"forecast")[4].condition == 'hail' -%} {{ weather_hail }} - {%- elif state_attr(weather_entity,"forecast")[4].condition == 'snowy-rainy' -%} {{ weather_snowy_rainy }} - {%- elif state_attr(weather_entity,"forecast")[4].condition == 'fog' -%} {{ weather_fog }} - {%- elif state_attr(weather_entity,"forecast")[4].condition == 'windy' -%} {{ weather_windy }} - {%- elif state_attr(weather_entity,"forecast")[4].condition == 'windy-variant' -%} {{ weather_windy-variant }} - {%- elif state_attr(weather_entity,"forecast")[4].condition == 'lightning' -%} {{ weather_lightning }} - {%- elif state_attr(weather_entity,"forecast")[4].condition == 'partlycloudy' -%} {{ weather_partlycloudy_day }} - {%- elif state_attr(weather_entity,"forecast")[4].condition == 'lightning-rainy' -%} {{ weather_lightning_rainy_day }} - {%- elif state_attr(weather_entity,"forecast")[4].condition == 'execptional' -%} {{ weather_execptional_day }} - {%- elif state_attr(weather_entity,"forecast")[4].condition == 'clear-night' -%} {{ weather_clear_night }} - {%- endif -%} - - ##### SET weather PIC on Home Page #### - - service: "{{ command_printf }}" - data: - cmd: weather05.weather_icon.pic={{ weather_icon }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MIN #### - - service: "{{ command_text_printf }}" - data: - component: weather05.temp_min ### Temperature MIN ### - message: '{{states(accuweather_realfeel_temperature_min_4d) | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Slash ##### - - service: "{{ command_text_printf }}" - data: - component: weather05.slash - message: '/' - - delay: - milliseconds: "{{ delay_value }}" - - ##### SET TEMP MAX #### - - service: "{{ command_text_printf }}" - data: - component: weather05.temp_max ### Temperature MAX ### - message: '{{states(accuweather_realfeel_temperature_max_4d) | round(0)}}°' - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Name ##### - - service: "{{ command_text_printf }}" - data: - component: weather05.day - message: "{{ day05_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### Day Date ##### - - service: "{{ command_text_printf }}" - data: - component: weather05.date - message: "{{ date05_mui }}" - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 1 ##### - - service: "{{ command_text_printf }}" - data: - component: weather05.value01 - message: "{{ state_attr(weather_entity,'forecast')[4].precipitation_probability}} %" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather05.value01_pic.pic={{ weather_icon_rain }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 2 ##### - - service: "{{ command_text_printf }}" - data: - component: weather05.value02 - message: "{{states(accuweather_hours_of_sun_4d) | round(0)}} h" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather05.value02_pic.pic={{ weather_icon_sun }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 3 ##### - - service: "{{ command_text_printf }}" - data: - component: weather05.value03 - message: "{{state_attr(accuweather_uv_index_4d, 'level')}} {{states(accuweather_uv_index_4d) | round(0)}}" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather05.value03_pic.pic={{ weather_icon_protect }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 4 ##### - - service: "{{ command_text_printf }}" - data: - component: weather05.value04 - message: "{{states(accuweather_thunderstorm_probability_day_4d) | round(0)}} %" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather05.value04_pic.pic={{ weather_icon_lightning }} - - delay: - milliseconds: "{{ delay_value }}" - - ##### field 5 ##### - - service: "{{ command_text_printf }}" - data: - component: weather05.value05 - message: "{{states(accuweather_wind_day_4d) | round(0)}} km/h" - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: weather05.value05_pic.pic={{ weather_icon_wind }} - - default: - - service: "{{ command_printf }}" - data: - cmd: "page {{ page_home }}" - - ## PAGE CLIMATE ## - - conditions: '{{ trigger.event.data.new_state.state == page_climate }}' - alias: 'climate page' - sequence: - - variables: - hvac_mode: "{{ states(climate) }}" - outdoor_temp: >- - {%- if outdoortemp is match "sensor." and states(outdoortemp).state != "unavailable" -%} {{ states(outdoortemp) |round(0) }} - {%- elif state_attr(weather_entity, "temperature") != None -%} {{state_attr(weather_entity,"temperature") | round(0)}} - {%- else -%} 0 - {%- endif -%} - heating_state: >- - {%- if hvac_mode == "off" -%} {{ off_mui }} - {%- elif hvac_mode != "off" -%} {{ on_mui }} - {%- endif -%} - - - service: "{{ command_text_printf }}" - data: - component: outdoor_temp - message: "{{ outdoor_temp }}°" - - service: "{{ command_text_printf }}" - data: - component: current_temp - message: "{{state_attr(climate, 'current_temperature') | round(1)}}°" - - if: - condition: template - value_template: '{{ hvac_mode != "off" }}' - then: - - variables: - target_temp: "{{state_attr(climate, 'temperature') | round(1)}}" - - service: "{{ command_thermostat_cycle }}" - data: - value: "{{target_temp}}" - else: - - service: "{{ command_thermostat_cycle }}" - data: - value: "0" - - service: "{{ command_text_printf }}" - data: - component: target_temp - message: " " - - - service: "{{ command_text_printf }}" - data: - component: heating_state - message: "{{heating_state}}" - - # HVAC Button PIC - - variables: - heating_bt_pic: >- - {%- if hvac_mode == "off" -%} {{ heating_bt_pic_off }} - {%- else -%} {{ heating_bt_pic_on }} - {%- endif -%} - - delay: - milliseconds: "{{ delay_value }}" - - service: "{{ command_printf }}" - data: - cmd: heating_bt_pic.pic={{ heating_bt_pic }} - - variables: - hotw_bt_pic: >- - {%- if hotwatercharge | length > 0 and states(hotwatercharge) == 'on' -%} {{ hotw_bt_on }} - {%- elif hotwatercharge | length > 0 and states(hotwatercharge) == 'off' -%} {{ hotw_bt_off }} - {%- else -%} {{ hotw_bt_blank }} - {%- endif -%} - - service: "{{ command_printf }}" - data: - cmd: hotw_bt_pic.pic={{ hotw_bt_pic }} - - - if: - - condition: template - value_template: '{{ hotwatertemp is match "sensor." }}' - then: - - service: "{{ command_text_printf }}" - data: - component: climate.hotwater_temp - message: "{{ states(hotwatertemp) |round(1) }}°" - - ## PAGE SETTINGS ## - - conditions: '{{ trigger.event.data.new_state.state == page_settings }}' - sequence: - - ## PAGE BOOT ## - - conditions: '{{ trigger.event.data.new_state.state == page_boot }}' - sequence: - - ## PAGE SCREENSAVER ## - - conditions: '{{ trigger.event.data.new_state.state == page_screensaver }}' - sequence: - - ## PAGE LIGHTSETTUNGS ## - - conditions: '{{ trigger.event.data.new_state.state == page_lightsettings }}' - sequence: - - ## PAGE COVERSETTINGS ## - - conditions: '{{ trigger.event.data.new_state.state == page_coversettings }}' - sequence: - - ## PAGE BUTTONPAGE01 ## - - conditions: '{{ trigger.event.data.new_state.state == page_buttonpage01 }}' - sequence: - ##### Button Page Label ##### - - if: - - condition: template - value_template: '{{ button_page01_label |length > 0 }}' - then: - - service: "{{ command_text_printf }}" - data: - component: "bpage01_label" - message: "{{ button_page01_label }}" - - ## PAGE BUTTONPAGE02 ## - - conditions: '{{ trigger.event.data.new_state.state == page_buttonpage02 }}' - sequence: - ##### Button Page Label ##### - - if: - - condition: template - value_template: '{{ button_page02_label |length > 0 }}' - then: - - service: "{{ command_text_printf }}" - data: - component: "bpage02_label" - message: "{{ button_page02_label }}" - - ## PAGE BUTTONPAGE03 ## - - conditions: '{{ trigger.event.data.new_state.state == page_buttonpage03 }}' - sequence: - ##### Button Page Label ##### - - if: - - condition: template - value_template: '{{ button_page03_label |length > 0 }}' - then: - - service: "{{ command_text_printf }}" - data: - component: "bpage03_label" - message: "{{ button_page03_label }}" - - ## PAGE BUTTONPAGE04 ## - - conditions: '{{ trigger.event.data.new_state.state == page_buttonpage04 }}' - sequence: - ##### Button Page Label ##### - - if: - - condition: template - value_template: '{{ button_page04_label |length > 0 }}' - then: - - service: "{{ command_text_printf }}" - data: - component: "bpage04_label" - message: "{{ button_page04_label }}" - - ## PAGE NOTIFICATION ## - - conditions: '{{ trigger.event.data.new_state.state == page_notification }}' - sequence: - - ## PAGE QR Code ## - - conditions: '{{ trigger.event.data.new_state.state == page_qrcode }}' - sequence: - - ## ENTITY PAGE 01 ## - - conditions: '{{ trigger.event.data.new_state.state == page_entitypage01 }}' - sequence: - ##### ENTITY Page Label ##### - - if: - - condition: template - value_template: '{{ entity_page01_label |length > 0 }}' - then: - - service: "{{ command_text_printf }}" - data: - component: "entity01_label" - message: "{{ entity_page01_label }}" - ##### Entities ##### - - repeat: - for_each: - - row: entitypage01.value01 - entity: "{{ entities_entity01 }}" - entity_name: "{{ entities_entity01_name }}" - entity_icon: "{{ entities_entity01_icon }}" - - row: entitypage01.value02 - entity: "{{ entities_entity02 }}" - entity_name: "{{ entities_entity02_name }}" - entity_icon: "{{ entities_entity02_icon }}" - - row: entitypage01.value03 - entity: "{{ entities_entity03 }}" - entity_name: "{{ entities_entity03_name }}" - entity_icon: "{{ entities_entity03_icon }}" - - row: entitypage01.value04 - entity: "{{ entities_entity04 }}" - entity_name: "{{ entities_entity04_name }}" - entity_icon: "{{ entities_entity04_icon }}" - - row: entitypage01.value05 - entity: "{{ entities_entity05 }}" - entity_name: "{{ entities_entity05_name }}" - entity_icon: "{{ entities_entity05_icon }}" - - row: entitypage01.value06 - entity: "{{ entities_entity06 }}" - entity_name: "{{ entities_entity06_name }}" - entity_icon: "{{ entities_entity06_icon }}" - - row: entitypage01.value07 - entity: "{{ entities_entity07 }}" - entity_name: "{{ entities_entity07_name }}" - entity_icon: "{{ entities_entity07_icon }}" - - row: entitypage01.value08 - entity: "{{ entities_entity08 }}" - entity_name: "{{ entities_entity08_name }}" - entity_icon: "{{ entities_entity08_icon }}" - - sequence: - - if: - - condition: template - value_template: '{{ repeat.item.entity|length > 0 }}' - then: - - if: - - condition: template - value_template: '{{ repeat.item.entity_icon |length > 0 }}' - then: - - service: "{{ command_text_printf }}" - data: - component: "{{ repeat.item.row }}_pic" - message: "{{ repeat.item.entity_icon }}" - - service: "{{ command_text_printf }}" - data: - component: "{{ repeat.item.row }}_label" - message: >- - {%- if repeat.item.entity_name |length > 0 -%} {{ repeat.item.entity_name }} - {%- elif states(repeat.item.entity) == 'unavailable' -%} {{ repeat.item.entity }} - {%- else -%} {{ state_attr(repeat.item.entity, "friendly_name")| default('no name') }} - {%- endif -%} - - service: "{{ command_text_printf }}" - data: - component: "{{ repeat.item.row }}" - #message: '{{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement")| default("") }}' - message: >- - {%- if state_attr(repeat.item.entity, "unit_of_measurement") == None -%} - {{ states(repeat.item.entity) }} - {%- else -%} - {{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement") }} - {%- endif -%} - - ## ENTITY PAGE 02 ## - - conditions: '{{ trigger.event.data.new_state.state == page_entitypage02 }}' - sequence: - ##### ENTITY Page Label ##### - - if: - - condition: template - value_template: '{{ entity_page02_label |length > 0 }}' - then: - - service: "{{ command_text_printf }}" - data: - component: "entity02_label" - message: "{{ entity_page02_label }}" - ##### Entities ##### - - repeat: - for_each: - - row: entitypage02.value01 - entity: "{{ entities_entity09 }}" - entity_name: "{{ entities_entity09_name }}" - entity_icon: "{{ entities_entity09_icon }}" - - row: entitypage02.value02 - entity: "{{ entities_entity10 }}" - entity_name: "{{ entities_entity10_name }}" - entity_icon: "{{ entities_entity10_icon }}" - - row: entitypage02.value03 - entity: "{{ entities_entity11 }}" - entity_name: "{{ entities_entity11_name }}" - entity_icon: "{{ entities_entity11_icon }}" - - row: entitypage02.value04 - entity: "{{ entities_entity12 }}" - entity_name: "{{ entities_entity12_name }}" - entity_icon: "{{ entities_entity12_icon }}" - - row: entitypage02.value05 - entity: "{{ entities_entity13 }}" - entity_name: "{{ entities_entity13_name }}" - entity_icon: "{{ entities_entity13_icon }}" - - row: entitypage02.value06 - entity: "{{ entities_entity14 }}" - entity_name: "{{ entities_entity14_name }}" - entity_icon: "{{ entities_entity14_icon }}" - - row: entitypage02.value07 - entity: "{{ entities_entity15 }}" - entity_name: "{{ entities_entity15_name }}" - entity_icon: "{{ entities_entity15_icon }}" - - row: entitypage02.value08 - entity: "{{ entities_entity16 }}" - entity_name: "{{ entities_entity16_name }}" - entity_icon: "{{ entities_entity16_icon }}" - - sequence: - - if: - - condition: template - value_template: '{{ repeat.item.entity|length > 0 }}' - then: - - if: - - condition: template - value_template: '{{ repeat.item.entity_icon |length > 0 }}' - then: - - service: "{{ command_text_printf }}" - data: - component: "{{ repeat.item.row }}_pic" - message: "{{ repeat.item.entity_icon }}" - - service: "{{ command_text_printf }}" - data: - component: "{{ repeat.item.row }}_label" - message: >- - {%- if repeat.item.entity_name |length > 0 -%} {{ repeat.item.entity_name }} - {%- elif states(repeat.item.entity) == 'unavailable' -%} {{ repeat.item.entity }} - {%- else -%} {{ state_attr(repeat.item.entity, "friendly_name")| default('no name') }} - {%- endif -%} - - service: "{{ command_text_printf }}" - data: - component: "{{ repeat.item.row }}" - #message: '{{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement")| default("") }}' - message: >- - {%- if state_attr(repeat.item.entity, "unit_of_measurement") == None -%} - {{ states(repeat.item.entity) }} - {%- else -%} - {{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement") }} - {%- endif -%} - - ## ENTITY PAGE 03 ## - - conditions: '{{ trigger.event.data.new_state.state == page_entitypage03 }}' - sequence: - ##### ENTITY Page Label ##### - - if: - - condition: template - value_template: '{{ entity_page03_label |length > 0 }}' - then: - - service: "{{ command_text_printf }}" - data: - component: "entity03_label" - message: "{{ entity_page03_label }}" - ##### Entities ##### - - repeat: - for_each: - - row: entitypage03.value01 - entity: "{{ entities_entity17 }}" - entity_name: "{{ entities_entity17_name }}" - entity_icon: "{{ entities_entity17_icon }}" - - row: entitypage03.value02 - entity: "{{ entities_entity18 }}" - entity_name: "{{ entities_entity18_name }}" - entity_icon: "{{ entities_entity18_icon }}" - - row: entitypage03.value03 - entity: "{{ entities_entity19 }}" - entity_name: "{{ entities_entity19_name }}" - entity_icon: "{{ entities_entity19_icon }}" - - row: entitypage03.value04 - entity: "{{ entities_entity20 }}" - entity_name: "{{ entities_entity20_name }}" - entity_icon: "{{ entities_entity20_icon }}" - - row: entitypage03.value05 - entity: "{{ entities_entity21 }}" - entity_name: "{{ entities_entity21_name }}" - entity_icon: "{{ entities_entity21_icon }}" - - row: entitypage03.value06 - entity: "{{ entities_entity22 }}" - entity_name: "{{ entities_entity22_name }}" - entity_icon: "{{ entities_entity22_icon }}" - - row: entitypage03.value07 - entity: "{{ entities_entity23 }}" - entity_name: "{{ entities_entity23_name }}" - entity_icon: "{{ entities_entity23_icon }}" - - row: entitypage03.value08 - entity: "{{ entities_entity24 }}" - entity_name: "{{ entities_entity24_name }}" - entity_icon: "{{ entities_entity24_icon }}" - - sequence: - - if: - - condition: template - value_template: '{{ repeat.item.entity|length > 0 }}' - then: - - if: - - condition: template - value_template: '{{ repeat.item.entity_icon |length > 0 }}' - then: - - service: "{{ command_text_printf }}" - data: - component: "{{ repeat.item.row }}_pic" - message: "{{ repeat.item.entity_icon }}" - - service: "{{ command_text_printf }}" - data: - component: "{{ repeat.item.row }}_label" - message: >- - {%- if repeat.item.entity_name |length > 0 -%} {{ repeat.item.entity_name }} - {%- elif states(repeat.item.entity) == 'unavailable' -%} {{ repeat.item.entity }} - {%- else -%} {{ state_attr(repeat.item.entity, "friendly_name")| default('no name') }} - {%- endif -%} - - service: "{{ command_text_printf }}" - data: - component: "{{ repeat.item.row }}" - #message: '{{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement")| default("") }}' - message: >- - {%- if state_attr(repeat.item.entity, "unit_of_measurement") == None -%} - {{ states(repeat.item.entity) }} - {%- else -%} - {{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement") }} - {%- endif -%} - - ## ENTITY PAGE 04 ## - - conditions: '{{ trigger.event.data.new_state.state == page_entitypage04 }}' - sequence: - ##### ENTITY Page Label ##### - - if: - - condition: template - value_template: '{{ entity_page04_label |length > 0 }}' - then: - - service: "{{ command_text_printf }}" - data: - component: "entity04_label" - message: "{{ entity_page04_label }}" - ##### Entities ##### - - repeat: - for_each: - - row: entitypage04.value01 - entity: "{{ entities_entity25 }}" - entity_name: "{{ entities_entity25_name }}" - entity_icon: "{{ entities_entity25_icon }}" - - row: entitypage04.value02 - entity: "{{ entities_entity26 }}" - entity_name: "{{ entities_entity26_name }}" - entity_icon: "{{ entities_entity26_icon }}" - - row: entitypage04.value03 - entity: "{{ entities_entity27 }}" - entity_name: "{{ entities_entity27_name }}" - entity_icon: "{{ entities_entity27_icon }}" - - row: entitypage04.value04 - entity: "{{ entities_entity28 }}" - entity_name: "{{ entities_entity28_name }}" - entity_icon: "{{ entities_entity28_icon }}" - - row: entitypage04.value05 - entity: "{{ entities_entity29 }}" - entity_name: "{{ entities_entity29_name }}" - entity_icon: "{{ entities_entity29_icon }}" - - row: entitypage04.value06 - entity: "{{ entities_entity30 }}" - entity_name: "{{ entities_entity30_name }}" - entity_icon: "{{ entities_entity30_icon }}" - - row: entitypage04.value07 - entity: "{{ entities_entity31 }}" - entity_name: "{{ entities_entity31_name }}" - entity_icon: "{{ entities_entity31_icon }}" - - row: entitypage04.value08 - entity: "{{ entities_entity32 }}" - entity_name: "{{ entities_entity32_name }}" - entity_icon: "{{ entities_entity32_icon }}" - - sequence: - - if: - - condition: template - value_template: '{{ repeat.item.entity|length > 0 }}' - then: - - if: - - condition: template - value_template: '{{ repeat.item.entity_icon |length > 0 }}' - then: - - service: "{{ command_text_printf }}" - data: - component: "{{ repeat.item.row }}_pic" - message: "{{ repeat.item.entity_icon }}" - - service: "{{ command_text_printf }}" - data: - component: "{{ repeat.item.row }}_label" - message: >- - {%- if repeat.item.entity_name |length > 0 -%} {{ repeat.item.entity_name }} - {%- elif states(repeat.item.entity) == 'unavailable' -%} {{ repeat.item.entity }} - {%- else -%} {{ state_attr(repeat.item.entity, "friendly_name")| default('no name') }} - {%- endif -%} - - service: "{{ command_text_printf }}" - data: - component: "{{ repeat.item.row }}" - #message: '{{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement")| default("") }}' - message: >- - {%- if state_attr(repeat.item.entity, "unit_of_measurement") == None -%} - {{ states(repeat.item.entity) }} - {%- else -%} - {{ states(repeat.item.entity) }} {{ state_attr(repeat.item.entity, "unit_of_measurement") }} - {%- endif -%} - - - ##### Open Climate Settings ##### - - conditions: - - condition: trigger - id: open_climate_settings + id: climate_state + - condition: template + value_template: "{{ trigger.event.data.new_state.state != 'unavailable' }}" + # - condition: template + # value_template: '{{ states(current_page) == page_climate }}' + # - condition: template + # value_template: '{{ climate_optimistic == false }}' sequence: + - variables: + heating_state: >- + {%- if trigger.event.data.new_state.state == "off" -%} {{ off_mui }} + {%- elif trigger.event.data.new_state.state != "off" -%} {{ on_mui }} + {%- endif -%} + heating_bt_pic: >- + {%- if trigger.event.data.new_state.state == "off" -%} {{ heating_bt_pic_off }} + {%- else -%} {{ heating_bt_pic_on }} + {%- endif -%} + + - service: "{{ command_text_printf }}" + data: + component: current_temp + message: "{{ trigger.event.data.new_state.attributes.current_temperature | round(1)}}°" + - service: "{{ command_text_printf }}" + data: + component: heating_state + message: "{{heating_state}}" + - service: "{{ command_printf }}" + data: + cmd: heating_bt_pic.pic={{ heating_bt_pic }} - if: - - condition: template - value_template: '{{ climate |length > 0 }}' + - condition: template + value_template: '{{ trigger.event.data.new_state.state != "off" }}' #### TODO AND->OR (not) not optimistic-mode then: - - service: "{{ command_printf }}" + - service: "{{ command_thermostat_cycle }}" data: - cmd: "page {{ page_climate }}" + value: "{{trigger.event.data.new_state.attributes.temperature | round(1)}}" + else: + - service: "{{ command_thermostat_cycle }}" + data: + value: "0" + - service: "{{ command_text_printf }}" + data: + component: target_temp + message: " " - ##### Set Flame-Symbol ##### - - conditions: - - condition: trigger - id: heatingsystemflame_state - sequence: - - variables: - flame_pic: >- - {%- if trigger.event.data.new_state.state == 'on' -%} {{ flame_pic_on }} - {%- else -%} {{ top_menu_blank }} - {%- endif -%} - - service: "{{ command_printf }}" - data: - cmd: home.icon_top_04.pic={{ flame_pic }} - - ##### Set Relay01-Symbol ##### - - conditions: - - condition: trigger - id: relay01_state - sequence: - - variables: - relay01_pic: >- - {%- if trigger.event.data.new_state.state == 'on' -%} {{ relay01_pic_on }} - {%- else -%} {{ top_menu_blank }} - {%- endif -%} - - service: "{{ command_printf }}" - data: - cmd: home.icon_top_01.pic={{ relay01_pic }} - - ##### Set Relay02-Symbol ##### - - conditions: - - condition: trigger - id: relay02_state - sequence: - - variables: - relay02_pic: >- - {%- if trigger.event.data.new_state.state == 'on' -%} {{ relay02_pic_on }} - {%- else -%} {{ top_menu_blank }} - {%- endif -%} - - service: "{{ command_printf }}" - data: - cmd: home.icon_top_02.pic={{ relay02_pic }} - - ##### Sync Hotwater Charge button-symbol ##### + ##### Sync Hotwater Charge button-symbol ##### -> kann wenn climate page fertig - conditions: - condition: trigger id: hotwatercharge_state - condition: template - value_template: '{{ states(current_page) == page_climate }}' + value_template: "{{ states(current_page) == page_climate }}" sequence: - variables: hotw_bt_pic: >- @@ -7256,70 +10048,38 @@ action: data: cmd: hotw_bt_pic.pic={{ hotw_bt_pic }} - ##### Sync Climate ##### + ##### Hotwater Temp ##### kann raus und wird durch neue value 01 und value 02 ersetzt wenn climate page fertig - conditions: - condition: trigger - id: climate_state + id: hotwatertemp_state - condition: template - value_template: "{{ trigger.event.data.new_state.state != 'unavailable' }}" - # - condition: template - # value_template: '{{ states(current_page) == page_climate }}' - # - condition: template - # value_template: '{{ climate_optimistic == false }}' + value_template: "{{ states(current_page) == page_climate and trigger.event.data.new_state.state != 'unavailable' }}" sequence: - - choose: - ### current page is climate ### - - conditions: '{{ states(current_page) == page_climate }}' - sequence: - - variables: - heating_state: >- - {%- if trigger.event.data.new_state.state == "off" -%} {{ off_mui }} - {%- elif trigger.event.data.new_state.state != "off" -%} {{ on_mui }} - {%- endif -%} - heating_bt_pic: >- - {%- if trigger.event.data.new_state.state == "off" -%} {{ heating_bt_pic_off }} - {%- else -%} {{ heating_bt_pic_on }} - {%- endif -%} + - service: "{{ command_text_printf }}" + data: + component: home.hotwater_temp + message: "{{ trigger.event.data.new_state.state |round(1) }}°" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_text_printf }}" + data: + component: climate.hotwater_temp + message: "{{ trigger.event.data.new_state.state |round(1) }}°" + - delay: + milliseconds: "{{ delay_value }}" + - service: "{{ command_printf }}" + data: + cmd: home.hotwater_pic.pic={{ hotwater_pic_on }} - - service: "{{ command_text_printf }}" - data: - component: current_temp - message: "{{ trigger.event.data.new_state.attributes.current_temperature | round(1)}}°" - - service: "{{ command_text_printf }}" - data: - component: heating_state - message: "{{heating_state}}" - - service: "{{ command_printf }}" - data: - cmd: heating_bt_pic.pic={{ heating_bt_pic }} - - if: - - condition: template - value_template: '{{ trigger.event.data.new_state.state != "off" }}' - then: - - service: "{{ command_thermostat_cycle }}" - data: - value: "{{trigger.event.data.new_state.attributes.temperature | round(1)}}" - else: - - service: "{{ command_thermostat_cycle }}" - data: - value: "0" - - service: "{{ command_text_printf }}" - data: - component: target_temp - message: " " - - ### current page is home ### - - conditions: '{{ states(current_page) == page_home }}' - sequence: - - variables: - top_menu_climate: >- - {%- if trigger.event.data.new_state.state == "heat" and trigger.event.data.new_state.attributes.hvac_action is defined and trigger.event.data.new_state.attributes.hvac_action == "heating" -%} {{ heat_pic_on }} - {%- elif trigger.event.data.new_state.state == "heat" -%} {{ thermostat_pic_on }} - {%- else -%} {{ top_menu_blank }} - {%- endif -%} - - service: "{{ command_printf }}" - data: - cmd: home.icon_top_03.pic={{ top_menu_climate }} + #### TFT Upload Automation ##### + - conditions: + - condition: trigger + id: tft_upload + sequence: + - delay: + seconds: 2 + - service: "{{ tft_upload }}" + data: {} diff --git a/nspanel_esphome.yaml b/nspanel_esphome.yaml index 6cda307..9746491 100644 --- a/nspanel_esphome.yaml +++ b/nspanel_esphome.yaml @@ -107,12 +107,22 @@ uart: baud_rate: 115200 id: tf_uart -###### REBOOT BUTTON ##### +##### START - BUTTON CONFIGURATION ##### button: + ###### REBOOT BUTTON ##### - platform: restart name: ${device_name} Restart id: restart_nspanel + ##### UPDATE TFT DISPLAY ##### + - platform: template + name: ${device_name} Update TFT display + icon: mdi:file-sync + id: tft_update + entity_category: config + on_press: + - delay: 16ms + - lambda: id(disp1).upload_tft(); ##### START - API CONFIGURATION ##### api: @@ -161,7 +171,7 @@ api: - lambda: 'id(disp1).set_component_value(component.c_str(), message);' ##### Service to send a command "hide componente" directly to the display ##### - - service: send_command_hide + - service: send_command_hide ### unused ### variables: component: string then: @@ -170,7 +180,7 @@ api: - lambda: 'id(disp1).hide_component(component.c_str());' ##### Service to send a command "show componente" directly to the display ##### - - service: send_command_show + - service: send_command_show ### unused ### variables: component: string then: @@ -178,6 +188,13 @@ api: switch.is_on: nextion_init - lambda: 'id(disp1).show_component(component.c_str());' + ##### Service to send a command "show ALL componente" directly to the display ##### + - service: send_command_show_all ### unused ### + then: + - wait_until: + switch.is_on: nextion_init + - lambda: 'id(disp1).show_component("255");' + ##### Service to send a command "font color" directly to the display ##### - service: send_command_font_color variables: @@ -229,6 +246,16 @@ api: id(notification_text).publish_state(""); - switch.turn_off: notification_unread + ##### Service to set entity-information for settings-page(s) + - service: set_settings_entity + variables: + entity: string + then: + - wait_until: + switch.is_on: nextion_init + - lambda: |- + id(settings_entity).publish_state(entity.c_str()); + ##### Service to play a rtttl tones ##### # Example tones : https://codebender.cc/sketch:109888#RTTTL%20Songs.ino - service: play_rtttl @@ -338,18 +365,13 @@ binary_sensor: ###### LEFT BUTTON BELOW DISPLAY TO TOGGLE RELAY##### - platform: gpio - # name: ${device_name} Left Button + name: ${device_name} Left Button id: left_button pin: number: 14 inverted: true on_click: - - min_length: 50ms - max_length: 1000ms then: - - binary_sensor.template.publish: - id: left_button_short - state: ON - if: condition: and: @@ -365,50 +387,17 @@ binary_sensor: switch.is_on: relay_1 then: - lambda: id(disp1).send_command_printf("home.icon_top_01.pic=105"); - - delay: 500ms - - binary_sensor.template.publish: - id: left_button_short - state: OFF - on_press: - then: - - lambda: |- - if (id(disp1_currentpage).state == "lightsettings" or id(disp1_currentpage).state == "coversettings") { - ESP_LOGD("nspanel", "settingspage -> no press"); - } else { - // ESP_LOGD("nspanel", "release button"); - id(disp1_lastclick_general).set_state("pressbuttonleft",true,true); - } - on_release: - then: - - lambda: |- - if (id(disp1_currentpage).state == "lightsettings" or id(disp1_currentpage).state == "coversettings") { - ESP_LOGD("nspanel", "settingspage -> no release"); - } else { - // ESP_LOGD("nspanel", "release button"); - id(disp1_lastclick_general).set_state("releasebuttonleft",true,true); - } - - - platform: template - name: ${device_name} Left Button - id: left_button_short - lambda: |- - return {}; ##### RIGHT BUTTON BELOW DISPLAY TO TOGGLE RELAY ##### - platform: gpio - # name: ${device_name} Right Button + name: ${device_name} Right Button id: right_button pin: number: 27 inverted: true on_click: - - min_length: 50ms - max_length: 1000ms then: - - binary_sensor.template.publish: - id: right_button_short - state: ON - if: condition: and: @@ -424,40 +413,24 @@ binary_sensor: switch.is_on: relay_2 then: - lambda: id(disp1).send_command_printf("home.icon_top_02.pic=106"); - - delay: 500ms - - binary_sensor.template.publish: - id: right_button_short - state: OFF - on_press: - then: - - lambda: |- - if (id(disp1_currentpage).state == "lightsettings" or id(disp1_currentpage).state == "coversettings") { - ESP_LOGD("nspanel", "settingspage -> no press"); - } else { - // ESP_LOGD("nspanel", "release button"); - id(disp1_lastclick_general).set_state("pressbuttonright",true,true); - } - on_release: - then: - - lambda: |- - if (id(disp1_currentpage).state == "lightsettings" or id(disp1_currentpage).state == "coversettings") { - ESP_LOGD("nspanel", "settingspage -> no release"); - } else { - // ESP_LOGD("nspanel", "release button"); - id(disp1_lastclick_general).set_state("releasebuttonright",true,true); - } - - platform: template - name: ${device_name} Right Button - id: right_button_short - lambda: |- - return {}; + ##### JUMP PAGE TO SETTING PAGE ##### + - platform: nextion + name: $device_name setting page + page_id: 0 + component_id: 53 + internal: true + on_multi_click: + - timing: + - ON for at least 1s #LONG Press + then: + - lambda: 'id(disp1).send_command_printf("page settings");' ##### Restart NSPanel Button - Setting Page ##### - platform: nextion name: ${device_name} Restart page_id: 7 - component_id: 8 + component_id: 15 internal: true on_click: - button.press: restart_nspanel @@ -475,7 +448,7 @@ binary_sensor: - platform: nextion name: ${device_name} Sleep Modus page_id: 7 - component_id: 3 + component_id: 16 internal: true on_click: - switch.toggle: sleep_modus @@ -504,6 +477,14 @@ sensor: - platform: wifi_signal name: ${device_name} RSSI update_interval: 60s + on_value: + - if: + condition: + wifi.connected: + then: + - lambda: id(disp1).set_component_text_printf("home.wifi_icon", "%s", "\U0000E5A8"); + else: + - lambda: id(disp1).set_component_text_printf("home.wifi_icon", "%s", "\U0000FFFF"); ##### INTERNAL TEMPERATURE SENSOR, ADC VALUE ##### - platform: adc @@ -616,6 +597,10 @@ text_sensor: name: ${device_name} Notification Text id: notification_text + - platform: template + name: ${device_name} Settings Entity + id: settings_entity + ##### last click sensor, the main action variable - push to HA ##### - platform: nextion nextion_id: disp1 @@ -800,16 +785,6 @@ switch: restore_state: false optimistic: true - ##### UPDATE TFT DISPLAY ##### - - platform: template - name: ${device_name} Update TFT display - id: tft_update - entity_category: config - turn_on_action: - - delay: 16ms - - lambda: id(disp1).upload_tft(); - - switch.turn_off: tft_update - ##### PHYSICAL SWITCH 1 ##### - platform: gpio name: ${device_name} Relay 1 @@ -950,11 +925,11 @@ display: on_setup: then: - lambda: id(disp1).send_command_printf("page 8"); - - lambda: id(disp1).set_component_text_printf("boot.esph_version", "%s", "3.1.0"); ### esphome-version ### + - lambda: id(disp1).set_component_text_printf("boot.esph_version", "%s", "3.2"); ### esphome-version ### - wait_until: api.connected - lambda: id(disp1).set_component_text_printf("boot.ip_addr", "%s", id(ip_address).state.c_str()); - - delay: 0.5s + - delay: 1s - number.set: id: display_brightness value: !lambda 'return id(display_brightness_global);' @@ -967,7 +942,7 @@ display: - lambda: id(disp1).send_command_printf("settings.dimslider.val=%i", id(display_dim_brightness_global)); - lambda: id(disp1).send_command_printf("home.sleepmodus.val=%i", id(sleep_modus_global)); - lambda: id(disp1).set_component_value("settings.a02", id(sleep_modus_global) == 1); - - delay: 0.5s + - delay: 1s - switch.template.publish: id: nextion_init state: on @@ -988,4 +963,3 @@ script: ESP_LOGD("nspanel", "timer->home"); id(disp1).send_command_printf("page 0"); } - diff --git a/nspanel_eu.HMI b/nspanel_eu.HMI index 72702ee..8b2edd0 100644 Binary files a/nspanel_eu.HMI and b/nspanel_eu.HMI differ diff --git a/nspanel_eu.tft b/nspanel_eu.tft index 0dbca55..012429f 100644 Binary files a/nspanel_eu.tft and b/nspanel_eu.tft differ diff --git a/nspanel_us.HMI b/nspanel_us.HMI index 4a0afaa..d97cc47 100644 Binary files a/nspanel_us.HMI and b/nspanel_us.HMI differ diff --git a/nspanel_us.tft b/nspanel_us.tft index 03c8e88..5d39dc7 100644 Binary files a/nspanel_us.tft and b/nspanel_us.tft differ