fix LitElement and replace paper-button with mwc-button#60
Conversation
paper-button has been removed from the HA project and replaced with mwc-button
stealing the idea from @kalkih
|
Was about to ask if it's backward compatible and then I saw your last commit. Thanks a lot for that @iantrich |
|
hold off on merging. I actually haven't had time to test and some in beta say it doesn't work completely :) |
|
The formatting is the problem... see the thread on the Home Assistant forum. I had already tried a 1:1 replacement of the paper-button and it didn't really help. |
|
So ... I see the note in the release notes about replacing |
|
@ammmze it's probably just your cache. |
|
I tried this file version in my HA installation with 0.88 but the buttons look as in the image above, with the wrong size |
It's not the cache. |
|
@DavidFW1960 he's referring to paper-button still working |
|
Is there a server side cache that may be holding onto the |
|
It isn't loading for sure in Ian's - he has replaced all instances of paper with mwc |
|
I should have some time tonight to look into styling |
|
Okay...I confirmed |
|
Unfortunately using |
|
Sorry for the spam...but I figured out how we can get around it... Basically just create our own I've updated my copy here |
|
Good approach. Applying it back to this repo? @kuuji will no doubt merge it after some testing of his own. |
|
Awesome work guys! I can’t test this till tomorrow but sounds promising. Thanks. |
|
FYI ... i've officially opened PR #63 with my changes |
|
I’ll check it out later tonight, hopefully |
|
Ok so on my mobile... iOS... |
|
Actually... it’s pretty goo.... only slightly smaller than an adjacent entity-button..... much better than before... Awesome work.. |
|
I only use 2 buttons for this card but with this fix I can verify my 2 buttons look exactly the same as it did before. Thanks!! |
|
I tried on my installation, seems to work fine. I've several button on different views. |
|
This is not |


Should just be a one-to-one swap for their replacements
This becomes true in 0.88