-
Notifications
You must be signed in to change notification settings - Fork 3
Interactions for number type #23
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
Comments
yeah, can you show a pic of what you mean? there is some code where i decide how to render things, i probably just didn't account for number domain potentially |
Hi, I thought a video might show it better. Thanks! Screen.Recording.2025-05-07.at.13.42.53.mov |
@fastfourier666 most excellent. I can reproduce with both styles of number entities... probably others.. let me play around with a solution |
You're the best. If only I knew anything about this stuff I would poke around and try to help out, but most of the HA front end stuff is completely baffling to me at the moment! |
this is trickier than i expected. also i noticed that on mobile things like switches don't work.. I'm trying not to compromise any functionality by making the click area too small or something.. let me mull over this a little more. |
No worries at all. The video I posted was from Brave on Mac OS. I tried it on the Android app and the behaviour is reversed: the number sliders work normally, but the lights show the brightness popup wherever you tap. Perhaps that's helpful..? |
@fastfourier666 i have opened a PR to fix this in the Home Assistant frontend project. Maybe a few weeks/month or so if things get approved. This isn't something that will need to be changed in |
Thank you so much for your work! |
Uh oh!
There was an error while loading. Please reload this page.
Hi! Thank you for making this card. Looks great :)
Is it possible to make "number" entities work the same way as they do on the default entities card?
If I set the interaction to "more info", the info box pops up even when I move the slider. I think it should only do that when you click on the icon or name. The "light" entity does work like this.
Thank you!
The text was updated successfully, but these errors were encountered: