bonjour,
tout est dans le titre, je reçoit deux notifications au lieu d’une sur l’ouverture de mon portillon
mon code:
alias: Portillon Ouverture
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.position_portillon
from: "off"
to: "on"
condition: []
action:
- service: notify.telegram_lucien
data:
title: Portillon
message: Ouverture Portillon
mode: single
normalement je dois recevoir une notification de « off » à « on » la normal mais j’en reçoit une autre quand je ferme le portillon de « on » à « off »
merci pour votre aide
Êtes-vous sûr de ne pas avoir une autre automatisation ? Celle que vous avez posté est correcte et ne doit se déclencher que de off a on.
Pour voir toutes vos automatisations : Paramètres > Automatisations et Scènes
Toutes les automatisations produisent des traces (en haut à droite, historique des executions), donc tu peux y voir si par exemple ton sensor fait : off/on/off/on plusieurs fois
je me réponds
ce n’est pas mon automation
ma pin GPIO sur mon esp8266 avec esphome est flottante
log:
20:13:47 [D] [binary_sensor:036]
'Position Portillon ': Sending state ON
20:13:48 [D] [binary_sensor:036]
'Position Portillon ': Sending state OFF
20:13:48 [D] [binary_sensor:036]
'Position Portillon ': Sending state ON
20:13:50 [D] [binary_sensor:036]
'Position Portillon ': Sending state OFF
20:13:50 [D] [binary_sensor:036]
'Position Portillon ': Sending state ON
20:13:50 [D] [binary_sensor:036]
'Position Portillon ': Sending state OFF
20:13:54 [D] [sensor:093]
'Wifi portail Garage': Sending state -62.00000