Hit there,
I’am struggling to get an automation wright. I have a Z-wave stick (gen5) with a Coolcam doorsensor. Both I can see and I made it so far that when my sliding door is open or closed I get a notification in Telegram,
But now my problem, I get both notifications in one message every time.
Who van help me with this?
My yaml file looks like:
- id: '***************'
alias: 'Schuifpui '
description: ''
trigger:
- entity_id: binary_sensor.shenzhen_neo_electronics_co_ltd_door_window_detector_sensor
from: 'on'
platform: state
to: 'off'
- entity_id: binary_sensor.shenzhen_neo_electronics_co_ltd_door_window_detector_sensor
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
message: schuifpui is open
title: Schuifpui
service: telegram_bot.send_message
- data:
message: schuifpui is dicht
title: Schuifpui
service: telegram_bot.send_message
mode: single ```
1 post - 1 participant