Skip to content

Commit

Permalink
Add chart service to LaMetric (home-assistant#24617)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Oct 19, 2022
1 parent 096f696 commit b43a1af
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions source/_integrations/lametric.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,43 @@ ha_ssdp: true
The LaMetric integration provides services to interact with your LaMetric
device(s). Those service can be called in, for example, automations.

### Service `lametric.chart`

The {% my developer_call_service service="lametric.chart" title="`lametric.chart`" %}
service allows you to display a little chart to your LaMetric.

{% my developer_call_service badge service="lametric.chart" %}

{% configuration "lametric.chart" %}
device_id:
description: The ID of the device to send the message to.
required: true
type: string
data:
description: The data points in the chart, as a list of numbers. For example `[1, 2, 3, 2, 1]`.
required: true
type: list
cycles:
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. Allowed values are `info`, `warning`, and `critical`."
required: false
type: string
default: info
icon_type:
description: "Defines the nature of notification. Allowed values are `none`, `info`, and `alert`."
required: false
type: string
default: none
sound:
description: "Defines the sound of the notification. Allowed are listed [below](#list-of-notification-sounds)."
required: false
type: string
{% endconfiguration %}

### Service `lametric.message`

The {% my developer_call_service service="lametric.message" title="`lametric.message`" %}
Expand Down

0 comments on commit b43a1af

Please sign in to comment.