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

Wear os scenes and scripts support #1763

Merged
merged 3 commits into from Oct 13, 2021

Conversation

leroyboerefijn
Copy link
Contributor

Summary

Updated HomeActivity to contain a recylerview that displays:

  • Scenes
  • Scripts
  • Logout

All can be activated by clicking.

Note: currently there is no support yet for custom icons, the IconDialog cannot be used to get an icon by it's mdi name string as far as I can tell. The only alternative I could find () requires a Github Access Token. Any ideas to solve this are welcome :)

Screenshots

Screenshot_20211010_165932_debug

Any other notes

Next step is to add tile support. This is a bit larger change, since it requires to save a list of (favorite) entities in a db

@dshokouhi
Copy link
Member

dshokouhi commented Oct 10, 2021

This is great, I wonder if we should consider getting ready for the play store after this PR? Seems like we will have enough for beta testers to get started!

As far as the icons go I konw the dialog has a search feature and it seems to actually match MDI so not sure if we can invoke that from there or maybe MDI assigns a ID to each icon and thats what the library has?

Edit: We also have #1756 I think either one would be a good candidate :)

@leroyboerefijn
Copy link
Contributor Author

I looked at the source of the library. They do have tags, but I'm not sure if they match MDI. In any case, I couldn't find an interface to really go from the tag to the icon, but maybe I'm just missing something?

Getting beta testers involved would be awesome! I think it would make sense to have both PRs merged before doing that. Maybe even an additional small one with some minor usability things?

@JBassett JBassett merged commit 1573c2e into home-assistant:master Oct 13, 2021
@leroyboerefijn leroyboerefijn deleted the wear-os-scenes branch October 13, 2021 05:31
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.

None yet

4 participants