sstratoti / actionable-notifications-subflow-for-ios

Actionable Notifications Node-Red Subflow for Home Assistant Companion - iOS
34 stars 5 forks source link

clear_notification not working externaly #8

Open bjornmorsman opened 8 months ago

bjornmorsman commented 8 months ago

Hello,

i have an issue, i use your subflow sometimes to only send an notification without any action. when i do that i want clear the notification after an x amount of time.

when i call the clear_notification with an automation, it doesnt delete the notification at my iphone. i set the tag message in your subflow to the tag i use in the data of the automation

when i use your subflow with an action and i select clear notification at action recieved it work as expected. so it only doesnt work when i send clear_notification externaly. could it be possible that the tag option in your subflow is not working correctly?

data: message: clear_notification data: tag: Oven

sorry for my bad english and thanks in advance.

sstratoti commented 6 months ago

Hi! I've noticed an issue with clearing notifications as well, but I thought it only had to do with clearing "critical" notifications.

I'll need to experiment with this a bit.

Thanks!

sstratoti commented 5 months ago

Wanted to check back with this. Are you still seeing this problem?

bjornmorsman commented 5 months ago

Updated to the last version, but stil nog working. I have the lateste ios app version.

bjornmorsman commented 5 months ago

When i tag the message send bij the subflow it doesnt work, maybe there is the problem i can not check if the message really gets taged with the tag "oven"

image

then i fire the automation below and the notification doesnt get removed from my phone.

image

When i fire the below notification i can remove it with the above automation.

image

sstratoti commented 1 month ago

https://companion.home-assistant.io/docs/notifications/notifications-basic#clearing

Platform limitations may require the companion app to have been recently used to clear the notification: this applies for all iOS notifications, and any Android notifications not marked as critical.

Perhaps its that you haven't opened the app recently?