📍 State Notifications & Actions

Interesting, the same action button works on end trigger configuration, but not on start trigger.

I put exactly the same parameters on all the start trigger section (except ON/OFF) than all the end trigger section :slight_smile:

The action is :

action: notify.mobile_app_myphonename
metadata: {}
data:
  data:
    intent_package_name: com.android.chrome
    intent_action: android.intent.action.VIEW
    intent_uri: https://192.168.0.203:8443/
  message: command_activity

@ftt-prod

Could you please provide us your YAML of the automation? This YAML code are the settings you have selected in the automation so I can help. To do this go into your automation, top right 3 dots, Edit in YAML, copy all the code, come back to the forum and in your reply at the top tool bar click on “</>” and paste code in there.

Blacky :grinning:

Love the blueprint!
I’m having a lot of inconsistencies after upgrading from an embarrassingly old version of your blueprint (1.4) and can’t wrap my head around whats wrong:

alias: Garage door open reminder
description: ""
use_blueprint:
  path: Blackshome/state-notifications-and-actions.yaml
  input:
    start_trigger_state_entity:
      - cover.ratgdo32disco_ce058c_door
    start_trigger_state: Open
    start_time_delay_state:
      hours: 0
      minutes: 5
      seconds: 0
    include_start_action_buttons:
      - enable_start_action_button_1
    start_action_button_1: Close garage door
    start_action_1:
      - action: cover.close_cover
        metadata: {}
        data: {}
        target:
          device_id: 66e3d06beb221da00f5204977d02a556
    include_start_notify: enable_start_notify_options
    start_notify_device:
      - b2b279a613679d86d0ebc7e22dac9754
      - 959d00bd641e3bad0554b8c8f52bdc3f
    start_title: 🚘🅿️🏚️Garage door is open
    start_message: Would you like to close it?
    start_notify_tag: garage-door
    start_notify_icon: mdi:garage-alert
    start_notify_icon_colour:
      - 255
      - 41
      - 226
    start_notify_data:
      - sticky
      - icon
      - channel
    start_notify_channel: High

I’m trying to bring up an actionable notification when the gdoor is left open. It doesn’t trigger once the door opens. I had issues earlier with the script not triggering when my user was not Home (Away) but it does work for when a group (Myself and my wife) are both home and away. I’m missing something here. Thanks for the help.

@ytho

Welcome to the community.

Try using ON (option 2) rather than Open in the Start Trigger - State. Even though you see Open in HA it is actually on.

Here is a link to binary sensors and how they work, click here

Also in you action I would select the entity not the device.

Blacky :grinning:

1 Like

Thanks btw! Still no dice though.

alias: Garage door open reminder
description: ""
use_blueprint:
  path: Blackshome/state-notifications-and-actions.yaml
  input:
    start_trigger_state_entity:
      - cover.ratgdo32disco_ce058c_door
    start_trigger_state: "on"
    start_time_delay_state:
      hours: 0
      minutes: 5
      seconds: 0
    include_start_action_buttons:
      - enable_start_action_button_1
    start_action_button_1: Close garage door
    start_action_1:
      - action: cover.close_cover
        metadata: {}
        data: {}
        target:
          entity_id: cover.ratgdo32disco_ce058c_door
    include_start_notify: enable_start_notify_options
    start_notify_device:
      - b2b279a613679d86d0ebc7e22dac9754
      - 959d00bd641e3bad0554b8c8f52bdc3f
    start_title: 🚘🅿️🏚️Garage door is open
    start_message: Would you like to close it?
    start_notify_tag: garage-door
    start_notify_icon: mdi:garage-alert
    start_notify_icon_colour:
      - 255
      - 41
      - 226
    start_notify_data:
      - sticky
      - icon
      - channel
    start_notify_channel: High

EDIT: I was able to make it trigger by using the CLOSED limit sensor being OFF. This is probably the more secure way to run this script since the door could be opened manually and would still trigger. Thank you for the assistance :slight_smile:

1 Like

Hi,

thanks for all your blueprints. I’d like to migrate my notification automations from this to your blueprint.

But there’re some options missing and I’d like to ask if you could add them.

  • Delete notification when not in issue state anymore
  • Time from issue state before notification removal
  • Repeat Notification
  • Time Between Repeat

Thanks for considering it.
Best regards,
meiser

1 Like

@meiser

Thanks for your suggestions.

Blacky :grinning:

Feature Requests:

  1. Retrigger Sleep Time
    amount of time when the automation will not trigger if still within the sleep time. example: Motion sensor triggers the blueprint/automation. In the BP Sleep Time is set to 5 minutes, The BP/automation will not trigger again if the last trigger was within 5 minutes. No helper needed.

  2. Temporary Bypass Time
    number of minutes to completely stop the BP from triggering. Uses a Number Helper or Timer Helper. If the value is 0, or timer is not running, there is no bypass.
    The user to set a value for the helper from the Actionable Notifications or manually from anywhere.
    example: super windy day and the trees are setting off motion sensors so you want to disable the notifications for an extended period of time. You get a mobile notification and you select the action to disable for 6 hours. the notification sets the helper to 360 (aka, 360 minutes) since that is what the user setup in the blueprint’s action section.

@Ltek

You could use the global condition to stop it from being triggered.

Blacky :grinning:

adding a Global Condition is a lot more complex (and adds a lot more administrative overhead) vs something built into the blueprint, like a ‘wait’ at the end to stop it from retriggering.