I have allot of commands in my telegram bot and now I want it to send a photo from my camara to my telegram app. command /camera . It is not sending any thing. Any Idea’s
- alias: 'Telegram - Camera Office'
hide_entity: true
trigger:
- platform: event
event_type: telegram_command
event_data:
command: "/camera"
action:
- service: telegram_bot.send_photo
data:
photo:
url: http://192.168.2.28:80/tmpfs/auto.jpg
caption: "Office Cam"
target: '{{ trigger.event.data.user_id }}'