Trace Alert when nobody is home with sensor

Hi All,

I recently started using blueprints for several things i had build in NodeRed. Most of them were straight forward and working. The last one i’m having a bit of trouble with is the mobile alert when nobody is home.

What happens:
Were are both at work so nobody is home. When one of the door sensors gets triggered i want a push notification on my mobile phone.

To me this looks fine but somehow the flow says it’s false and stops.

Please try changing the conditions to this.

condition:
  - condition: and
    conditions:
      - condition: state
        entity_id: device_tracker.iphone_van_maurice
        state: not_home
      - condition: state
        entity_id: device_tracker.iphone_van_yvette
        state: not_home

I can’t edit it.
This is just how the dropdown menu gave me the options within the automation.

I can select “iPhone is home” or “iPhone is not home” and a bunch of other options.

Instead of blueprints you can build an automation. I can help you with that.It should look like this.

alias: Door and Window Monitor
mode: queued
trigger:
  - platform: state
    entity_id:
      - binary_sensor.window1
      - binary_sensor.door1
condition:
  - condition: and
    conditions:
      - condition: state
        entity_id: device_tracker.iphone_van_maurice
        state: not_home
      - condition: state
        entity_id: device_tracker.iphone_van_yvette
        state: not_home
action:
  - service: notify.telegram_carlton
    data:
      title: Alert
      message: >-
        The {{ trigger.to_state.name }} was {{ 'opened' if
        trigger.to_state.state == 'on' else 'closed' }}
max: 10

Just change the entity ids and service to your system.
You can copy the automation like this.