diff --git a/README.md b/README.md
index 4e34e28..3b0615f 100644
--- a/README.md
+++ b/README.md
@@ -36,6 +36,8 @@ To get started, go to the **[Wiki page][Wiki]**.
[![][blueprint_import_shield]][blueprint_notifier_startup_configuration]
+![Blueprint Configuration](https://github.com/caiosweet/Package-Notification-HUB-AppDaemon/wiki/assets/videos/blueprint_centro_notifiche_configuration_and_changes.gif)
+
___
## Dashboard preview
@@ -94,6 +96,39 @@ ___
+# License
+
+MIT License
+
+Copyright (c) 2019-2023 Caio Sweet
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+___
+
+$$\textbf{\color{#0099ff} \huge Enjoy Yourself \unicode{x1f973} Caio Sweet}$$
+
+
+
+
+
+
[notifier]: https://github.com/jumping2000/notifier
diff --git a/blueprints/automation/caiosweet/notifier_startup_configuration.yaml b/blueprints/automation/caiosweet/notifier_startup_configuration.yaml
index 85ae829..3790407 100755
--- a/blueprints/automation/caiosweet/notifier_startup_configuration.yaml
+++ b/blueprints/automation/caiosweet/notifier_startup_configuration.yaml
@@ -1,7 +1,7 @@
blueprint:
name: Centro Notifiche - Configurazione Avvio
description: >
- `v5.1.1`
+ `v5.1.2`
Blueprint per la configurazione del [Package Centro Notifiche](https://api.github.com/repos/caiosweet/Package-Notification-HUB-AppDaemon/releases/latest)
per Appdaemon [Notifier Center](https://github.com/jumping2000/notifier) 🔔 -
diff --git a/packages/centro_notifiche/hub_main.yaml b/packages/centro_notifiche/hub_main.yaml
index 159c5cb..c695423 100755
--- a/packages/centro_notifiche/hub_main.yaml
+++ b/packages/centro_notifiche/hub_main.yaml
@@ -1,7 +1,7 @@
homeassistant:
customize:
package.cn:
- version: &v "5.1.1"
+ version: &v "5.1.2"
date: 📅 01/11/2019 - Updated 27/06/2023
info: https://github.com/caiosweet/Package-Notification-HUB-AppDaemon/wiki
links:
@@ -158,8 +158,8 @@ template:
{% set no_workday = integration_entities('workday') | select('is_state', 'off') | list %}
{% set holidays = is_state('input_boolean.notifier_holidays', 'on') %}
{% set day = iif(holidays or no_workday, 'holidays', 'weekdays') %}
- {% set start = state_attr('input_datetime.notifier_start_%s'%day, 'timestamp') %}
- {% set end = state_attr('input_datetime.notifier_end_%s'%day, 'timestamp') %}
+ {% set start = state_attr('input_datetime.notifier_start_%s'%day, 'timestamp') | default(0, true) %}
+ {% set end = state_attr('input_datetime.notifier_end_%s'%day, 'timestamp') | default(0, true) %}
{% set dnd = iif(start <= end, (start <= nt < end), (nt >= start or nt < end)) %}
{{ iif(speech and not priority, dnd, (not (speech or priority)), false) }}
icon: >-