-
-
Notifications
You must be signed in to change notification settings - Fork 441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to use per url tags in config for home assistant use. #1269
Comments
The second example you provided is valid. It's not that it isn't working, it's that you're associating a name/label to the URL. Then you're trying to make a call without leveraging the The other way works because there is no tag associated and no tag reference in the call (it's a more simplified example). Check out this blog i did a few years ago and see if it helps |
oh yes sorry mistype there. I fixed and and still have the issue. working with this apprise config:
and running this action in HA.
= only the discord notification.
= no notifications and I get nothing in the logs |
I also use (and absolutely love) Home Assistant. I use it with Apprise too and very heavily rely on tags. Since it works for me, i want to see if we can pinpoint the differences in our setup. I may very well have a bug and it just isn't surfaced on my end. So in my configuration directory (for me it's urls:
# Email notification to everyone
- mailtos://credentials?name=HomeAssistant:
tag: everyone
to:
- user1@example.com
- user2@example.com
# Email notification
- mailtos://credentials?name=HomeAssistant:
tag: alarm, email
to: user1@example.com
# Pushbullet notification
- pbul://credentials:
tag: alarm, pushbullet Then of course in the notify:
name: apprise
platform: apprise
config: /etc/homeassistant/apprise.yaml Now an example of a working automation : - alias: "Garage Door Open Apprise Test"
initial_state: true
trigger:
- platform: state
entity_id: binary_sensor.garage_door
from: 'off'
to: 'on'
action:
- service: notify.apprise
data_template:
target: pushbullet
title: Garage Door
message: >-
'Garage Door Opened {{ now().strftime('%Y-%m-%d %H:%M:%S') }}' I'd be curious what tweaks i need to accomodate to which your configuration does not work where it should, or if perhaps just re-over-looking your configuration you can spot the problem? |
Yeah, very strange. my configs are equivelently the same but I'm using I even enabled debug on apprise in HA, can see the logs output when I send a notification without the target and then I do NOT see any logs in HA when I include the target for the notification. I updated HA docker before testing today as well. |
📣 Notification Service(s) Impacted
all?
🐞 Describe the bug
unable to supply tag per URL in config if using Home Assistant to call config.
This doesn't work
whearas this does work
💡 Screenshots and Logs
💻 Your System Details:
🔮 Additional context
tried multiple different ways here and I narrowed the issue down to this per URL tag method that does not work.
The text was updated successfully, but these errors were encountered: