J’ai créé une notification lorsque quelqu’un sonne au portail, j’ai intégré une action dedans « ouvrir le portail ».
Tout fonctionne bien, mais je souhaite que cette action n’apparaisse pas si le portail est déjà ouvert.
Pour info je suis sur ios
alias: Ouverture portail notification
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.vto_doorbell
from: "off"
to: "on"
condition: []
action:
- service: notify.mobile_app_iphone_4
data:
message: "Quelqu’un sonne au portail "
title: Dingdong
data:
entity_id: camera.192_168_0_72
presentation_options:
- alert
- badge
conditon:
- condition: state
entity_id: binary_sensor.smart_implant_portail
state: "off"
actions:
- action: ouverture_portail
title: Ouvrir le portail
mode: single
Ma configuration
version
core-2023.11.3
installation_type
Home Assistant OS
dev
false
hassio
true
docker
true
user
root
virtualenv
false
python_version
3.11.6
os_name
Linux
os_version
6.1.59
arch
x86_64
timezone
Europe/Paris
config_dir
/config
Home Assistant Community Store
GitHub API
ok
GitHub Content
ok
GitHub Web
ok
GitHub API Calls Remaining
5000
Installed Version
1.33.0
Stage
running
Available Repositories
1347
Downloaded Repositories
7
HACS Data
pending
Home Assistant Cloud
logged_in
false
can_reach_cert_server
ok
can_reach_cloud_auth
ok
can_reach_cloud
ok
Home Assistant Supervisor
host_os
Home Assistant OS 11.1
update_channel
stable
supervisor_version
supervisor-2023.11.3
agent_version
1.6.0
docker_version
24.0.6
disk_total
30.8 GB
disk_used
6.3 GB
healthy
true
supported
true
board
ova
supervisor_api
ok
version_api
ok
installed_addons
Z-Wave JS (0.4.1), Home Assistant Google Drive Backup (0.111.1), Advanced SSH & Web Terminal (16.0.1), File editor (5.7.0), Duck DNS (1.15.0), go2rtc (1.8.4)
Oui je l’ai écris à la main, effectivement il manque des lettres… C’était tellement sous mes yeux que je n’ai pas vu.
Je vais changer et voir si cela fonctionne