-
Notifications
You must be signed in to change notification settings - Fork 43
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
Long-click/tap to execute as other user #116
Comments
I added multi-user handling a couple days ago in #111. It's still in the beta release only, and sorry that I haven't gotten around to updating the documentation yet for it. |
Thanks, looks like I missed that issue!
That would greatly improve the native behavior when logged in via phone/pc/similar; however this wouldn't solve this issue for mounted/permanent devices (that are logged in under a generic HA user, not the one interacting with it), or simply checking off a tasks when going over the list together (on any device) Let me know if this is something you'd still consider & any suggestions and I'll look into an implementation! Potential consideration: a long-click/tap might not be as intuitive for everyone (although common enough within the HA ecosystem), an alternative could be a second button (with a configurable color distinction between them). |
@jlsjonas personally, I've been hoping for an integrated dropdown box that would track for whatever user is currently selected from the dropdown. My plan was to use that on a wall mounted tablet, then eventually assign points to different chores around the house so that cleaning can be a game for my kids. |
🤔 your idea inspired me to a solution that might work right now (as long as you don't have multiple users operating the dashboard at the same time 😅 ), that would actually work nice for your case too: That being said, as the solution would not work if 2 users happen to be using the buttons at the same time, a native alternative would be nice indeed. (perhaps similar as described above at the top? It could even optionally serve as a filter that way... 🤔 ) |
I'm trying to solve this problem too. Here's my code, but it unfortunately does not work....I cannot tell why exactiy. type: custom:grocy-chores-card
|
You cannot put templates in the config fields. |
I had a hunch but was still hoping :-D It would indeed be fantastic to allow to complete a task in the name of another user, especially when one of them is "Both of Us" which we do not have a HASS user for to begin with. |
My suggestion for that would be create one card per user, and use conditional card to choose which one to display based on input_select.grocy_user. |
Mmm. didn't think of that, I will give it a try! |
That's the common cited solution, I was really hoping to have it implemented as part of the card though. I don't like the idea of having to keep track of any changes I might make on four or more sets of only sometimes visible card configurations. |
I like your button idea! I can't anticipate that two users would be trying to use the device literally at the same time, and my long term plan was to include physical buttons to quick switch between users anyway. I think it would only "fail" if multiple users were trying to do many quick chores and switching back and forth constantly. My thought was that the chores would have a timeout and reset to default afterwards, which in my case, "Automaton" would get credit. |
Yeah I get it, and it's certainly valid to wait and see if someone wants to pick up that work. I was just suggesting that in case you hadn't thought of it and needed a band-aid while you're waiting. |
Since user_id support has been fixed in Grocy for a while now, it would be great if we could either:
The text was updated successfully, but these errors were encountered: