lovelace-toggle-lock-entity-row
lovelace-toggle-lock-entity-row copied to clipboard
As of 110.0 the padlock icon no longer shows
I assume this has to do with changes to MDI icon handling mentioned in the release notes. Otherwise, it continues to function.
Although deprecated, this presents better than Restriction-Card.
Thank you, Thomas.
Update line 53. Replace iron-icon with ha-icon

Thanks, but no change for me (Chrome, MacBook, hassio 110.2 224). Did refresh resources.
Regards,
Jeff Alperin
H: 561-666-7789 C: 561-797-9876 On May 25, 2020, 4:00 AM -0400, heathcooper89 [email protected], wrote:
Update line 53. Replace iron-icon with ha-icon — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
be sure to add some versioning and refresh the resources:
lovelace-toggle-lock-entity-row/toggle-lock-entity-row.js?v=0.1.2
though the icon is somewhat misplaced...

Adding below to #overlay fixed the lock positioning for me margin-top: 8px;

thank you, confirmed. Added
color: red;
myself to have it stick out.
Now only need it to be a bit bigger, seems the icon overlay is smaller than the entity icons, which I would like to adjust. Did try size:, height: and width: and several settings in the div already, but no change in icon size I am afraid.
Would you know how to do that?
Add this to #overlay. You may need to remove the margin-top though zoom: 1.5;
I tested this with margin-top removed and I get this. Looks kinda nice. Think I might leave it that way

Have made all suggested changes, even reinstalled. Yes, cleared browser, refreshed resources, etc. Still no lock icon. Logic works though.
Regards,
Jeff Alperin
H: 561-666-7789 C: 561-797-9876 On May 29, 2020, 7:42 PM -0400, heathcooper89 [email protected], wrote:
Add this to #overlay. You may need to remove the margin-top though zoom: 1.5; I tested this with margin-top removed and I get this. Looks kinda nice. Think I might leave it that way — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Thanks fellas. I agree that this one is a better look to how it's implemented. I wonder how long it will continue to work with these minor tweaks. I hope this keeps going for a while!
Here is my implementation.

The file located in www folder.
Resources called in via:
- url: /local/toggle-lock-entity-row.js?v=0.1.123
type: module
Mods to overlay:
margin-top: 4px;
zoom: 1.25;