mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +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
|
type: integer
|
||||||
default: 10
|
default: 10
|
||||||
icon:
|
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
|
required: false
|
||||||
type: string
|
type: string
|
||||||
cycles:
|
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
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
default: 1
|
default: 1
|
||||||
priority:
|
priority:
|
||||||
description: Defines the priority of the notification.
|
description: Defines the priority of the notification. Allowed values are info, warning, and critical
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: warning
|
default: warning
|
||||||
icon_type:
|
icon_type:
|
||||||
description: Defines the nature of notification.
|
description: Defines the nature of notification. Allowed values are none, info, and alert
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: info
|
default: info
|
||||||
{% endconfiguration %}
|
{% 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
|
## Examples
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user