VM
- alias: 'Read Telegram command1'
hide_entity: true
trigger:
platform: event
event_type: telegram_command
event_data:
command: '/state'
action:
- service: notify.mytelegrambot
data:
message: "Текущая температура: {{states.sensor.a1_temperature.state}}"