Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codechimp committed Jan 26, 2024
1 parent 9c7ac6a commit 1dab971
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ An enhanced battery sensor that duplicates the normal battery but with additiona
Use the battery+ sensor on dashboards with secondary information fields/templates etc to display battery notes specific details along with the battery level.
The original battery can optionally be hidden by adding a [configuration setting](./configuration.md).

See how to use this entity in the [community contributions](./community.md)

| Attribute | Type | Description |
|-----------|------|-------------|
| `battery_quantity` | `int` | The quantity of batteries |
Expand Down
9 changes: 7 additions & 2 deletions docs/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ You can use this to send notifications in your preferred method. An example aut
| `battery_level` | `int` | Battery level % of the device. |
| `previous_battery_level` | `int` | Previous battery level % of the device. |

### Automation Examples
### Automation Example

See others in the [community contributions](./community.md)

```yaml
alias: Battery Low Notification
Expand Down Expand Up @@ -88,7 +90,10 @@ An example automation below shows how to update the battery_replaced.
| `battery_level` | `int` | Current battery level % of the device. |
| `previous_battery_level` | `int` | Previous battery level % of the device. |

### Automation Examples
### Automation Example

See others in the [community contributions](./community.md)

```yaml
alias: Battery Replaced
description: Battery Replaced
Expand Down
2 changes: 2 additions & 0 deletions docs/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

For updating the [battery replaced date](./entities.md#battery-replaced). This allows you to change the date a battery was replaced.

See how to use this service in the [community contributions](./community.md)

| Parameter | Optional | Description |
| ------------------------ | -------- | --------------------------------------------------------------------------------------------------------------------- |
| `data.device_id` | `no` | The device id that you want to change the battery replaced date for. |
Expand Down

0 comments on commit 1dab971

Please sign in to comment.