WIP: Allow multiple pushover notifiers#15726
WIP: Allow multiple pushover notifiers#15726amelchio wants to merge 2 commits intohome-assistant:devfrom
Conversation
This update removes the InitError exception.
|
Brilliant, works a treat 🏆 |
| import homeassistant.helpers.config_validation as cv | ||
|
|
||
| REQUIREMENTS = ['python-pushover==0.3'] | ||
| REQUIREMENTS = ['https://github.com/amelchio/python-pushover/archive/' |
There was a problem hiding this comment.
We should only depend on dependencies from PyPI
There was a problem hiding this comment.
Hence the waiting-for-upstream label. But it's been a while, so it's fine with me to close this while waiting for an updated release.
|
I'll close this as upstream hasn't been merged either. |
|
For home-assistant 0.80.1 I get the following: |
|
Service call for this was in an automation and looks like: |
|
Works with |
|
i see the same result with the custom component icons work as they should but sound fails... be nice to get a fix in the main branch :) |
|
Wonder if this can be re-opened as some changes seem to have been made to upstream finally and pushover looks to be broken now using @amelchio temporary fix? |
|
Still waiting for an upstream release. Did you try my latest update? https://raw.githubusercontent.com/amelchio/home-assistant/multiple-notify-pushover/homeassistant/components/notify/pushover.py |
|
Yes that was what is not working - I'll try post the error message when I get time, maybe something else caused it to break - I noticed it stopped working when I updated to 84.3, but thought maybe the commits to upstream were the issue |
|
Here is the error... |
|
Thanks. It seems that |
|
Yes that has fixed it - thanks |
Description:
If you want to test this, copy this file to your
<config>/custom_components/notify/pushover.pyand restart Home Assistant. Remove that file again once this PR is merged.This PR updates python-pushover to a version that fixes #11641.
The
InitErrorexception has been renamed but I am just removing it from our code since Voluptuous will ensure theapi_keyis always specified. I am also removing a few attributes that were never accessed.Pending Thibauth/python-pushover#27
Related issue (if applicable): fixes #11641
Example entry for
configuration.yaml(if applicable):Checklist:
tox.If the code communicates with devices, web services, or third-party tools:
REQUIREMENTSvariable (example).requirements_all.txtby runningscript/gen_requirements_all.py..coveragerc.