Folks,
I am fine with using Telegram and what I am looking for is to send the value of the attribute “Temperature” form my climate.
Climate looks like:
climate.bad_thermostat_1 auto temperature: 22
friendly_name: Bad Thermostat 1
operation_mode: auto
current_temperature: 0
operation_list: auto,manual,boost,vacation
max_temp: 24
min_temp: 4.5
unit_of_measurement: °C
I created a trigger:
alias: 'Telegram bot that reply temperatur'
hide_entity: true
trigger:
platform: event
event_type: telegram_command
event_data:
command: '/Temperatur'
action:
service: notify.telegram_ihaus
data:
title: "Raumtemperatur"
message: "Wohnzimmer {{states.sensor.fibaro_wohnzimmer_temperature.state}} Grad\n
Wandthermostat {{climate.wohnzimmer_wandthermostat_temperature}} Grad \n
Büro FIBARO {{states.sensor.fibaro_buero_temperature.state}} Grad \n
Wandthermostat {{climate.buero_wandthermostat_temperature}} Grad \n
Küche FIBARO {{states.sensor.fibaro_kueche_temperature.state}} Grad\n
Bad FIBARO {{states.sensor.vision_multisensor_bad_temperature.state}} Grad \n
Wandthermostat {{climate.bad_wandthermostat_temperature}} Grad \n
Schlafzimmer {{states.sensor.fibaro_schlafzimmer_temperature.state}} Grad\n
Wandthermostat {{climate.schlafzimmer_wandthermostat_temperature}} Grad \n
Gang FIBARO {{states.sensor.fibaro_gang_temperature.state}} Grad"
As soon as I added the lines:
Wandthermostat {{climate.schlafzimmer_wandthermostat_temperature}} Grad \n
my automation is not sending anything, so I assume to use the wrong syntax. Can anybody help?