Configuration.yaml
rest_command:
pushover_glances2:
url: https://api.pushover.net/1/glances.json
method: POST
headers:
Content-Type: "application/json"
payload: '{"token":"Pushover_token","user":"Pushover_user","title":"{{ title }}","text":"{{ text }}","subtext":"{{ subtext }}"}'
Action
action: rest_command.pushover_glances2
data:
title: "{{ states('sensor.effekt') }} kW"
text: "{{ states('sensor.viking_02811_be_00_temperatur') }} C"