Skip to content

Commit

Permalink
Fix doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codechimp committed Nov 21, 2024
1 parent 1849c5f commit 78be2f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ You must specify either a device_id or entity_id, entity_id will be used in pref

For raising events for devices that haven't reported their battery level.

The action will raise a seperate [battery_not_reported](./events.md/#battery_not_reported) event for each device where its last reported date is older than the number of days specified.
The action will raise a seperate [battery_not_reported](./events.md/#battery-not-reported) event for each device where its last reported date is older than the number of days specified.

You can use this action to schedule checks on batteries that is convenient to you, e.g. when you wake up, once a week etc.

Expand All @@ -32,7 +32,7 @@ See how to use this action in the [community contributions](./community.md)

For raising events for devices that have a battery low status.

The action will raise a seperate [battery_threshold](./events.md/#battery_threshold) event for each device that have a battery low status.
The action will raise a seperate [battery_threshold](./events.md/#battery-threshold) event for each device that have a battery low status.

You can use this action as a reminder that is convenient to you, e.g. when you wake up, once a week etc. The event has a boolean data item `reminder` to determine if the event was raised by this action or the device battery going to a low state.

Expand Down
6 changes: 3 additions & 3 deletions docs/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You can use this to send notifications in your preferred method. An example aut

!!! note

Battery Threshold events are only raised when the device has a Battery+ entity or a [Battery Low Template](./index.md/#battery_low_template) is added to the Battery Notes configuration.
Battery Threshold events are only raised when the device has a Battery+ entity or a [Battery Low Template](./index.md/#battery-low-template) is added to the Battery Notes configuration.

| Attribute | Type | Description |
|-----------|------|-------------|
Expand Down Expand Up @@ -85,7 +85,7 @@ An example automation below shows how to update the battery_replaced.

!!! note

Battery Increased events are only raised when the device has a Battery+ entity or a [Battery Low Template](./index.md/#battery_low_template) is added to the Battery Notes configuration.
Battery Increased events are only raised when the device has a Battery+ entity or a [Battery Low Template](./index.md/#battery-low-template) is added to the Battery Notes configuration.

| Attribute | Type | Description |
|-----------|------|-------------|
Expand Down Expand Up @@ -121,7 +121,7 @@ mode: queued
## Battery Not Reported
`battery_notes_battery_not_reported`

This is fired from the [check_battery_last_reported](./actions.md/#check_battery_last_reported) action call for each device that has not reported its battery level for the number of days specified in the action call.
This is fired from the [check_battery_last_reported](./actions.md/#check-battery-last-reported) action call for each device that has not reported its battery level for the number of days specified in the action call.

The action can raise multiple events quickly so when using with an automation it's important to use the `mode: queued` to handle these.

Expand Down

0 comments on commit 78be2f4

Please sign in to comment.