diff --git a/ReleaseNotes.md b/ReleaseNotes.md index ecec35c..c4d1f5c 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -40,6 +40,7 @@ Updates may come with changes on the blueprint inputs and we highly recommend yo ## Overview of noteworthy changes 1. Standardized entity's icons 2. Additional custom button on Home page +3. Outdoor temperature selectable font size   ## Details of noteworthy changes @@ -51,6 +52,14 @@ The engine for defining the icons to be shown and it's color was standardize bet ### 2. Additional custom button on Home page It's that simple, now you have 4 buttons where used to be 3. 😉 +  +### 3. Outdoor temperature selectable font size +Now you can select the font size of your outdoor temperature display: + +<> + +> Important: Long text with bigger fonts may exceed the limit of space reserved for this with incomplete information shown. +   ## Next topics we are currently working on See here: https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/roadmap diff --git a/advanced/hmi/nspanel_eu.HMI b/advanced/hmi/nspanel_eu.HMI index c0df115..d198896 100644 Binary files a/advanced/hmi/nspanel_eu.HMI and b/advanced/hmi/nspanel_eu.HMI differ diff --git a/advanced/hmi/nspanel_us.HMI b/advanced/hmi/nspanel_us.HMI index c4d33f2..8ad8a1b 100644 Binary files a/advanced/hmi/nspanel_us.HMI and b/advanced/hmi/nspanel_us.HMI differ diff --git a/advanced/hmi/nspanel_us_land.HMI b/advanced/hmi/nspanel_us_land.HMI index f6f408d..f4a9f11 100644 Binary files a/advanced/hmi/nspanel_us_land.HMI and b/advanced/hmi/nspanel_us_land.HMI differ diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index ce0afdf..f507a07 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -178,6 +178,33 @@ blueprint: default: [255, 255, 255] #65535 White selector: &color-selector color_rgb: + home_outdoor_temp_font: + name: Outdoor Temperature Sensor font size + description: > + *HOME page* + + *The size of the outdoor temperature font* + + *ATTENTION! Depending on the value shown and the font size, the text may exceed the available space.* + default: '4' + selector: + select: + multiple: false + options: + - label: 16px + value: '0' + - label: 18px + value: '1' + - label: 22px + value: '2' + - label: 26px + value: '3' + - label: 36px + value: '4' + - label: 48px + value: '5' + - label: 72px + value: '6' indoortemp: name: Indoor Temperature Sensor - ENTITY (Optional) description: > @@ -6568,7 +6595,7 @@ action: icon: '{{ None }}' icon_color: '{{ None }}' frendly_name: '{{ None }}' - - &variable_entity #DEBUG + - &variable_entity variables: entity_id_is_valid: '{{ entity_id is defined and entity_id is string and entity_id.split(".") | count == 2 }}' entity_state: '{{ states(entity_id) | default(None) if entity_id_is_valid else None }}' @@ -6959,6 +6986,7 @@ action: then: - variables: outdoor_temp_color_rgb: !input 'home_outdoor_temp_label_color' + home_outdoor_temp_font: !input 'home_outdoor_temp_font' ### LABEL Outdoor Temp Font Color ### - *delay-default - service: '{{ nextion.command.set_component_color }}' @@ -6973,6 +7001,11 @@ action: component: home.outdoor_temp message: '{{ outdoor_temp | round(1) ~ temperature_units }}' continue_on_error: true + - *delay-default + - service: '{{ nextion.command.printf }}' + data: + cmd: home.outdoor_temp.font='{{ home_outdoor_temp_font if is_number(home_outdoor_temp_font) else "4" }}' + continue_on_error: true - &refresh-page_home-indoor_temp if: '{{ true }}' diff --git a/nspanel_eu.tft b/nspanel_eu.tft index 49adfd6..0f75550 100644 Binary files a/nspanel_eu.tft and b/nspanel_eu.tft differ diff --git a/nspanel_us.tft b/nspanel_us.tft index 94cbdce..41c466d 100644 Binary files a/nspanel_us.tft and b/nspanel_us.tft differ diff --git a/nspanel_us_land.tft b/nspanel_us_land.tft index 804fb1a..23c4ba7 100644 Binary files a/nspanel_us_land.tft and b/nspanel_us_land.tft differ