Gh61/lovelace-hue-like-light-card

Bug: Closing detail of a light turn it off

Closed this issue · 3 comments

Gh61 commented

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 commented

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 commented

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

Gh61 commented

Is caused by bug mentioned in #151