mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 00:36:49 +00:00
Add additional info to LaMetric notification docs (#15298)
LaMetric notification docs are missing the list of available options for data fields. I've added the available options based on the LaMetric api docs (https://lametric-documentation.readthedocs.io/en/latest/reference-docs/device-notifications.html) and made some minor wording changes for clarity
This commit is contained in:
parent
631424ae61
commit
6e00bc574c
@ -69,27 +69,26 @@ lifetime:
|
||||
type: integer
|
||||
default: 10
|
||||
icon:
|
||||
description: An icon or animation.
|
||||
description: An icon or animation. List of all icons available at [https://developer.lametric.com/icons](https://developer.lametric.com/icons). Note that icons always begin with "i" while animations begin with "a". This is part of the name, you can't just use the number!
|
||||
required: false
|
||||
type: string
|
||||
cycles:
|
||||
description: Defines how often the notification is displayed.
|
||||
description: Defines how long the notification will be displayed. Set to 0 to require manual dismissal
|
||||
required: false
|
||||
type: integer
|
||||
default: 1
|
||||
priority:
|
||||
description: Defines the priority of the notification.
|
||||
description: Defines the priority of the notification. Allowed values are info, warning, and critical
|
||||
required: false
|
||||
type: string
|
||||
default: warning
|
||||
icon_type:
|
||||
description: Defines the nature of notification.
|
||||
description: Defines the nature of notification. Allowed values are none, info, and alert
|
||||
required: false
|
||||
type: string
|
||||
default: info
|
||||
{% endconfiguration %}
|
||||
|
||||
Check out the list of all icons at [https://developer.lametric.com/icons](https://developer.lametric.com/icons). Note that icons always begin with "i" while animations begin with "a". This is part of the name, you can't just use the number!
|
||||
|
||||
## Examples
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user