Hello
I’m trying to send a notification to the telegram with the snapshot of a camera. I’m doing this:
trigger:
- platform: state
entity_id: input_boolean.quarto_ac_automode
to: ‘on’
action:
service: notify.all
data:
message: “Movimento Teste”
title: “Home Assistant”
data:
photo:
- url: https://XXXXXXXX:8123/api/camera_proxy/camera.camera_tablet?api_password=XXXXX
If not put the photo works, but when I put the photo ha gives the following error:
Can't load data into ByteIO: HTTPSConnectionPool(host='xxxxxxxxx', port=8123): Max retries exceeded with url: /api/camera_proxy/camera.camera_tablet?api_password=xxxxx (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:720)'),))
If opening the url by the browser works correctly
ha: 0.68.1
ssl: letsencrypt expires in June 28, 2018
What am I doing wrong?
Thanks for help