Skip to content
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

Extend persistent notification support #2371

Merged
merged 1 commit into from
Jun 25, 2016
Merged

Conversation

balloob
Copy link
Member

@balloob balloob commented Jun 25, 2016

Description:
This extends the persistent notifications as started by @fabaff and also adds tests.

Converted create method to new service persistent_notification/create. Takes in message, title and notification_id. If notification_id is given, it will overwrite the notification if there already was a notification with that id.

screen shot 2016-06-24 at 22 27 56

Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#

Checklist:

If user exposed functionality or configuration variables are added/changed:

If the code does not interact with devices:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

@balloob balloob force-pushed the tweak-persistent-notification branch from 232adfe to 9ee8312 Compare June 25, 2016 06:12
@balloob balloob merged commit 206e7d7 into dev Jun 25, 2016
@balloob balloob deleted the tweak-persistent-notification branch June 25, 2016 23:40
@home-assistant home-assistant locked and limited conversation to collaborators Mar 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant