Update 2:
I tried it with MS and it worked perfectly so I shut everything down and restarted my PC, when it came back up I started Chrome, cleared the cache, shut chrome down and restarted Chrome and now no errors.
Finally got back to my HA and updated from 53.1 to 57.3. Everything worked except my floorplan on the main page (card?).
I started reading this page and updating based on your github but now all I get is a spinning circle for both the main state card and the custom panel.
I have cleared my cache both normally and via the developer screen (F12) but no change and repeated refresh (ctrl-F5). I get these errors:
Hello everyone, I’m working on my floorplan and I’ve run into an issue with loading the weather icon, as several people have mentioned there is an issue where the icon shows up but not tied to the box is assigned too. Unfortunately, I do not have the experience (yet) to troubleshoot the issue, for example, the viewbox I don’t know where it’s at. The picture below is a snapshot of my floorplan.
The orange box is the placeholder but as you can see the icon is much further down. both the orange box and icon are clickable and provide the proper information. I’m sure the solution is pretty simple but for the several hours, I haven’t been able to come across it, even after reading this entire thread. All help is greatly appreciated!
Update: I figured how to get to the viewBox, didn’t know you could open the svg file in a text editor. I’ve checked each of the weather icons and all have the capital B in viewBox. What else could be incorrect?
I would delete the current rectangle and recreate the rectangle and re-add the sensor Id and see if that makes a difference, try also making it where it’s going to be rather than dragging it there after creating it.
That’s a no go. I deleted the rectangle closed the file, open it back up, created a new one where I want it and assigned the sensor to it, but it still shows a distance from the rectangle
I’m attempting to design a button that triggers a script in floorplan and I keep on getting an “Uncaught TypeError: Cannot read property ‘elements’ of undefined”
Does anyone have any idea why that might be?
floorplan.yaml entry
- name: Front Door Lock
entities:
- lock.schlage_lock_locked
states:
- state: 'locked'
class: 'schlage_locked'
- state: 'unlocked'
class: 'schlage_unlocked'
action:
domain: script
service: toggle_front_door
- name: Front Door Button
elements:
- front_door_button
action:
domain: script
service: toggle_front_door
This is an element and not an entity; front_door_button exists solely in the SVG and floorplan.yaml, not in HASS itself so it doesn’t have a domain as far as I can tell. The example of an element in the floorplan readme doesn’t use the <domain>.<name> format either.
You have to either side load fully kiosk browser onto the fire, or install gapps and the play store onto the fire and then install fully from the play store