Mon problème
Bonjour,
je souhaite récupérer l’état de fonctionnement de mon alarme somfy protect pour déclencher une automatisation. Via IFTTT je peux avoir cette info. Par contre je ne sais vraiment pas quoi mettre dans le fichier de configuration:
automation:
- id: this_is_the_automation_id
alias: "The optional automation alias"
trigger:
- platform: event
event_type: ifttt_webhook_received
event_data:
action: call_service # the same action 'name' you used in the Body section of the IFTTT recipe
condition: []
action:
- service: '{{ trigger.event.data.service }}'
target:
entity_id: '{{ trigger.event.data.entity_id }}'
Si quelqu’un pouvait m’expliquer car franchement je n’y comprends rien a ce language svp
Deja quand je colle l’exemple, le fichier n’est pas bon, toutes les lignes sont soulignées en rouge.(sauf les 3 premieres lignes)
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
- id: this_is_the_automation_id
alias: "The optional automation alias"
trigger:
- platform: event
event_type: ifttt_webhook_received
event_data:
action: call_service # the same action 'name' you used in the Body section of the IFTTT recipe
condition: []
action:
- service: '{{ trigger.event.data.service }}'
target:
entity_id: '{{ trigger.event.data.entity_id }}'
Ma configuration
Comment récupérer ma configuration :
Dans votre HA, Menu latéral
Paramètres
> Système
> Corrections
puis les trois petits points en haut a droite > Informations Système
puis une fois en bas Copier