diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index 57cb4b2..9747c84 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -2349,6 +2349,7 @@ variables: ##### GENERAL ##### blueprint_version: "3.2.3" language: !input "language" + date_format: !input "date_format" time_format: !input "time_format" time: "{{ as_timestamp(now()) | timestamp_custom(time_format) }}" meridiem: "{{ as_timestamp(now()) | timestamp_custom('%p') if time_format == '%-I:%M' else '' }}" @@ -3775,9 +3776,6 @@ action: continue_on_error: true ##### NSPanel Date ##### ### DATE Font Color ### - - &variables-date_format - variables: - date_format: !input "date_format" - *delay-default - service: "{{ nextion.commands.font_color }}" data: @@ -4880,7 +4878,6 @@ action: - *delay-default ##### Display date (long) ##### - - *variables-date_format - service: "{{ nextion.commands.text_printf }}" data: component: "{{ page_name }}.date"