Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions docs/notifications/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,14 @@ automation:

## Android Specific

### Notification Color
### Notification Icon Color

In Android you can set the `color` of the notification, you can use either the color name or the hex code.
In Android you can set the background color of the notification icon with `notification_icon_color`, you can use either the color name or the hex code.

:::info
This parameter was previously named `color`.
`color` is still accepted but `notification_icon_color` is preferred going onwards.
Comment thread
jpelgrom marked this conversation as resolved.
:::

```yaml
automation:
Expand All @@ -223,7 +228,7 @@ automation:
title: "Motion Detected in Backyard"
message: "Someone might be in the backyard."
data:
color: "#2DF56D" # or "red"
notification_icon_color: "#2DF56D" # or "red"
```

### Sticky Notification
Expand Down