A priori tu mélange automatisation et switch …
switch:
- platform: command_line
switches:
mon_switch:
command_on: 'curl https://bipbipavertisseur.alwaysdata.net/somfy_rts/app/app_web_hook.php?service=send_mqtt_message&device_id=C45BBE48****&topic=salon&command=d'
command_off: 'curl https://bipbipavertisseur.alwaysdata.net/somfy_rts/app/app_web_hook.php?service=send_mqtt_message&device_id=C45BB****&topic=salon&command=d'
ça dans la fichier configuration.yaml ça doit suffire