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

Bug? Light jumps to position where pressed #14

Closed
m1ke-hub opened this issue Jan 18, 2020 · 7 comments
Closed

Bug? Light jumps to position where pressed #14

m1ke-hub opened this issue Jan 18, 2020 · 7 comments

Comments

@m1ke-hub
Copy link
Contributor

m1ke-hub commented Jan 18, 2020

Hey man, I just discovered this and absolutely love it!
I have a horizontal stack group with 3 lights (configured via popup_cards:). When I press the middle one, it not only opens the card as intended - it also turns on the light at 28-41%.
I have tried to use another light in the middle and the behaviour is exactly the same - so it's not the light itself.

Note: I tested a little more and found out: If the brightness bar is overlapping my thumb's position on tap, it jumps to the according %.

Thanks for any help in advance.

@m1ke-hub m1ke-hub changed the title Bug? Light jumps to ~ 35% when pressed Bug? Light jumps to position where pressed Jan 18, 2020
@DBuit
Copy link
Owner

DBuit commented Jan 20, 2020

Hi @migo-dev,
So you tap on a tile and the popup opens and because you tappend on the same position the slider will appear it already changes the slider position and so the brightness gets changed? It that what is happening?

Could you make record it? than i can see how it happens and try to fix it!

@m1ke-hub
Copy link
Contributor Author

m1ke-hub commented Jan 20, 2020 via email

@DBuit
Copy link
Owner

DBuit commented Jan 24, 2020

@migo-dev in your screenrecord i looks like it opens the pop-up while pressing? or do you release the tile and does it open after releasing it?

@m1ke-hub
Copy link
Contributor Author

@DBuit it seems to open when I release it. At least long presses work without opening the pop-up.

@m1ke-hub
Copy link
Contributor Author

BTW: This only happens on my android. On my gf's iPhone it's working perfectly.

@DBuit
Copy link
Owner

DBuit commented Feb 12, 2020

@migo-dev are you using last version of the homekit card or do you not use that card?
You only have it when u use tap to open pop-up or also when using long press to open popup?

@m1ke-hub
Copy link
Contributor Author

m1ke-hub commented Feb 12, 2020

@DBuit No, I don't use the homekit (panel?) card, I use vertical-in-stack-card by ofekashery (incl. picture-elements and mini-graph-card by kalkih) for the according cards.

Just assigned the pop-up card to long press and it works - without the "ghost press" after. But funnily, when I release the finger a fraction before the haptic feedback, it still gets recognized as a long-press - AND also does the ghost press (i.e. adjust slider to where pressed). Don't know if this is important to know for a potential fix, but also wanted to let you know. I did assign "tap_action: toggle" for testing this to get a more accurate result.

@m1ke-hub m1ke-hub closed this as completed Jul 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants