Skip to content

Commit

Permalink
fixed error in log during uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
caiosweet committed Jul 2, 2023
1 parent c1444d4 commit ccfe607
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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) 🔔 -
Expand Down
6 changes: 3 additions & 3 deletions packages/centro_notifiche/hub_main.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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: >-
Expand Down

0 comments on commit ccfe607

Please sign in to comment.