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: Closing detail of a light turn it off #137

Closed
Gh61 opened this issue Dec 5, 2023 · 3 comments
Closed

Bug: Closing detail of a light turn it off #137

Gh61 opened this issue Dec 5, 2023 · 3 comments

Comments

@Gh61
Copy link
Owner

Gh61 commented Dec 5, 2023

When card has only one light.
First click on this light opens detail (color wheel).
Second click should close the detail, which it does, but also it turns the light off.

This shouldn't be happening.

@Gh61
Copy link
Owner Author

Gh61 commented Dec 5, 2023

It appears to be caused by the change of light-tile position.
When the click position is the same spot, where the switch will be, after closing the detail, it will cause the switch to behave like it was clicked on.

It doesn't have to be single light and it also doesn't have to be on. The switch will cause the light to go on, when the light is off.

@Gh61 Gh61 added this to the v 1.7.0 - First 2024 release milestone Dec 6, 2023
@Gh61
Copy link
Owner Author

Gh61 commented Dec 7, 2023

Seems like a bug in ha-switch, and only happening on phones with certain screen size (for example my HD screen 1280x720).

@Gh61
Copy link
Owner Author

Gh61 commented Jan 9, 2024

Is caused by bug mentioned in #151

@Gh61 Gh61 closed this as completed Jan 9, 2024
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

1 participant