Skip to content

Add support for Pushover custom sounds #41

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

svobs
Copy link

@svobs svobs commented Feb 2, 2023

Implements issue #25: Simple change which allows custom sounds to be specified for Pushover messages.

This patch:

  1. Removes the check which prevented custom sounds from being specified in the JSON config; instead, uses supplied value, unless supplied value is empty, where it defaults to "pushover".
  2. Changes the Sound element in the UI from a dropdown to a "typeahead" text field which suggests values for the default sounds as the user types.

Nothing fancy. It won't provide a list of the user's custom sounds, but it shouldn't be too hard for a user to test out the switch to guard against typos.

…om dropdown select to typeahead list, default empty string; (2) fallback to "pushover" sound only if submitting an empty string
@svobs svobs force-pushed the pushover-custom-sounds branch from 090fea3 to 8a7c5ef Compare February 2, 2023 14:48
@elvirusDE
Copy link

elvirusDE commented Sep 11, 2023

@potrudeau Can you please merge this?

@elvirusDE
Copy link

elvirusDE commented Sep 11, 2023

Nice work!
@svobs Could you include it in your fork and publish it? Better so than waiting for ever...

@svobs
Copy link
Author

svobs commented Jan 23, 2024

Nice work!
@svobs Could you include it in your fork and publish it? Better so than waiting for ever...

@elvirusDE Sorry I didn't get to this sooner. I created a fork from this PR and published it.

Search for the plugin @svobs/homebridge-messenger in Homebridge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants