I’ve noticed a problem using the map card in a layout-card which is in a vertical-stack
I’m currently on 0.86.4 (this was working a a previous version, not sure exactly when it broke).
The entity-markdown card is my own card which displays Markdown formatted text from an entity state, which I use as a notification banner.
Initially everything looks fine, but if I do the following:
Refresh the page when on the Location view
Switch to another view
Switch back to the Location view
The map fails to render probably, and I get the following error in the logs:
Uncaught Error: Map container is being reused by another instance
Once this has happened, the only way to fix it seems to be to switch back to another view and refresh
Changing panel: true to panel: false makes no difference.
If the layout-card is directly under the view rather than under the vertical-stack it works, but this means I can’t have any other cards above the layout-card.
The idea that I click an icon is to open the menu shown in the picture. So the card-modder should be all about. Or I’m wrong. You can give an example from my code.
No, he’s right.
Think of it as boxes.
You have a card-modder box containing a conditional box, containing an entities box. conditional hides or displays anything that’s inside it, but card-modder can only mod what’s directly inside it, not what’s inside that.
As such, card-modder now mods the conditional card, but the conditional card has no visible parts of its own, so nothing changes.
@thomasloven, i’m having problems with the new state-switch. 2019-02-04 14:16:03 ERROR (MainThread) [frontend.js.latest.201902030] http://192.168.1.123:8123/local/state-switch.js?v=dcb79b:47:11 ReferenceError: hass is not defined
Reverting back to c7dd70, everything works again.
That should be close-popup with a dash, not an underscore.
Regarding your other questions from before, there’s no support in the library Home Assistant is using for its UI to adjust the position of the popups, that I know of. I have however added support for the large parameter to the popup command. Probably won’t work perfectly, but it’s the best I can do for now. Get the latest version from github.
don’t tell anyone I goofed
Works like a charm…
Thanks again for the help and modifications. I know your time is very valuable and I respect that by not trying to ask too many questions… @thomasloven
I’m using card-modder which I love. I’m struggling to figure out the style property to use on an entities card that has some scripts. HA puts the word “EXECUTE” beside each script. I want to change the color of this text, “EXECUTE”, but nothing I’m trying is working. Obviously I’m unable to figure out what CSS style affects this link.
I had the same issue sort of. I changed over to input_boolean switches to display in LL and use automations to return the state of switch back to ‘off’ after 5 seconds. Guess it depends on what look you are trying to achieve
Browser-commander with type: picture-glance works in kiosk-mode just as I hoped, but ‘title:’ is needed for card to display. Not sure if that can be changed, but awesome enough ‘as is’ …thanks! @thomasloven
was barking up the wrong tree using browser-commander’s navigate option is much faster and looks nicer. Just needed to make a view for each camera. Added browser_navigate_home & browser reload buttons along with alarm panic, alarm set, alarm disarm & lighting. Works awesome Thanks for the hard work!!!
@Dino-Tech and @PlayedIn I might be misunderstanding but why don’t you instead of having your automations trigger after 5 seconds, trigger them when the state of the script goes to ‘off’? That way you know exactly when the script has stopped running.