Skip to content

Commit

Permalink
Merge pull request #42 from caiosweet/beta
Browse files Browse the repository at this point in the history
fixed error in log during uninstall
  • Loading branch information
caiosweet authored Jul 2, 2023
2 parents 8d1df84 + 1cd9119 commit 01301e4
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 4 deletions.
35 changes: 35 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 Expand Up @@ -94,6 +96,39 @@ ___

</div>

# 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}$$

<p align="center">
<img src="https://github.com/caiosweet.png">
<br><br>
</p>

<!-- Reference -->

[notifier]: https://github.com/jumping2000/notifier
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 01301e4

Please sign in to comment.