Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Ios Actionable notifications and notify.notify, no action

$
0
0

@garbia wrote:

I use to have few of those automatons, they all worked fine but until couple of months ago.
After changing the service to notify.notify, I do get the notification but the action dosn’t work, basically the light stays on, I am sure I am missing something simple…

Here is the automation

- id: action_push_message
  alias: Action Push Message
  initial_state: 'on'
  trigger:
  - platform: state
    entity_id: switch.stairs
    to: 'on'
    for:
      minutes: 0
  action:
    service: notify.mobile_app_joes_phone (this is now notify.notify)
    data:
      message: Stairs lights are on
      data:
        push:
          badge: 0
          category: stairslights
        action_data:
          entity_id: switch.stairs
- id: push_notify_action
  alias: Push Notify Action
  initial_state: 'on'
  trigger:
  - platform: event
    event_type: ios.notification_action_fired (this is also now notify.notify)
    event_data:
      actionName: STAIRSOFF
  action:
    service: homeassistant.turn_off
    entity_id: switch.stairs

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles