-
-
Notifications
You must be signed in to change notification settings - Fork 656
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
WearOS: Add app activities to ShortcutsTile #4556
base: master
Are you sure you want to change the base?
WearOS: Add app activities to ShortcutsTile #4556
Conversation
Yea I am not sure it will be acceptable to include the old branding there 🤔 |
wear/src/main/java/io/homeassistant/companion/android/tiles/TileActionReceiver.kt
Show resolved
Hide resolved
MDI is dropping brand icons in the next major release so probably not open to updating, so I think the way forward is to load the icon from the app's resources in this specific case. |
Well, any entities inside HA that have its icon set to |
Yea for any entities a user has defined is fine, but since we are creating this entry it should use the appropriate icon |
If you agree with this approach I'd prefer looking into creating a separate PR which would patch any use of EDIT: |
Changing this to draft while waiting for the other PR |
Summary
This adds the option to add buttons to launch either the Companion app, or the Assist dialog to the ShortcutsTile.
See #4550
Screenshots
Shortcut tile with newly added buttons;
Config for this example;
New button options are added at the bottom of the entity selection list under the
shortcuts
section;Link to pull request in Documentation repository
Documentation: home-assistant/companion.home-assistant#
Any other notes
CommunityMaterial.Icon
library has not yet been updated.