Skip to content

Commit

Permalink
Add a weekly example
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codechimp committed Mar 5, 2024
1 parent 262e4be commit a064669
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,26 @@ action:
mode: single
```
### Check Battery Low weekly reminder
Weekly reminders are a little trickier, you will need to create a [Schedule Helper](https://www.home-assistant.io/integrations/schedule/) for when you want the battery check to occur then use this automation for when the helper is on.
Below I am referencing a schedule helper called maintenance which I have set to come on weekly.
To be used in conjunction with a [Battery Low Notification](community.md/#battery-low-notification) or similar.
```yaml
alias: Battery Low Check
description: Check whether a battery is low
trigger:
- platform: state
entity_id:
- schedule.maintenance
to: "on"
condition: []
action:
- service: battery_notes.check_battery_low
data: {}
mode: single
```
### Battery Replaced
Mark a battery as replaced when there is an increase in battery level.
Expand Down

0 comments on commit a064669

Please sign in to comment.