I did som testing and it works fine in safari on ios 10.
BUT when i save HA to the home screen it dosn’t work.
When i click on switch the regular slider works fine.
When i close that panel i get the first error.
When i change the inline slider i get the second error.
I get the error regardless on what order i do the procedure.
I have restarted my device, removed and readded HA to the home screen without any change. Running ha .41 with your latest Custom State Card UI.
Mine did that, think it was a caching thing, no matter how many times I’d recreate the home icon, it would still persist. I gave up bothering worrying about it and it disappeared by itself. Or you could probably clear the cache.
@andrey I have one more potential request (sorry). When I’m scrolling up and down the page with my thumb, it’s easy to accidentally turn a light on. Does polymer have a method of working out what your doing, so it ignores your swipe if it thinks you’re just swiping up or down?
@Tim_Cifuentes_Vargas I submitted a fix to an unrelated bug.
I think the first error is not related to my code.
The second error seems to come from a previous version, so it might indeed be a caching thing.
I tested the homescreen on {Chrome,FF}x{Linux,Android} and it worked fine.
@christianwaite
On Android-Chrome: When I start the swipe not on the slider the swipe continues fine even if my finger moves to the slider.
If the first touch is on slider - the slider ‘activates’ immediately even before the finger starts to move.
Was that the behavior you are experiencing? Should the slider ‘activate’ only when the finger goes up without a scroll?
@andrey yeah that’s the behaviour I get as well, that’s fine. I was wondering if you could capture the intended behaviour rather than the first element (or none). So say I wanted to scroll the page so just blindly flick my thumb, but it happens to hit the scroller first, it should still realise I want to scroll the page and not interact with the slider.
I think polymer has support for this kind of thing. It’s not a huge deal, would just make it more robust.
paper-slider responds to finger-down event. If I block the event you won’t be able to tap (without dragging) the slider.
I guess it would be possible to clone the paper-slider or do something with it’s internals, but I think that would be an overkill.
Seeing odd behavior with MQTT lights. Brightness_scale is 99, I set the max slider_theme to 99 and when I adjust the brightness, it is setting it to the value I select divided by ~2.55.
Hi all,
I am a newbie, I’m trying to use the new custom state card (HA version 0.53.1). The extra_badge is show, but the silder is not show. I copied the files in github to my install so I have these files in /www/custom_ui/.