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

Add a notification command to open webview to any path #1351

Merged
merged 1 commit into from Feb 5, 2021

Conversation

dshokouhi
Copy link
Member

@dshokouhi dshokouhi commented Feb 5, 2021

Summary

Fixes: #1195 by using a special command as we need to launch a new instance of webview. We also require the same permission from command_activity so we will use the same method to grant the permission before processing the command. title is optional and without it we just load webview, if provided we add it as the path.

Example:

message: command_webview
title: /lovelace/settings

Screenshots

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#454

Any other notes

FCM: home-assistant/mobile-apps-fcm-push#37

@JBassett JBassett merged commit 5291281 into home-assistant:master Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Launch Companion App to specific view
3 participants