Skip to content
This repository has been archived by the owner on Feb 22, 2021. It is now read-only.

more than on floorplan? #3

Closed
mvillarejo opened this issue Jun 18, 2017 · 6 comments
Closed

more than on floorplan? #3

mvillarejo opened this issue Jun 18, 2017 · 6 comments

Comments

@mvillarejo
Copy link

Hello,

does someone has an example of how to have more than one floorplan? I've been trying to set that up but... no luck.

thanks

@CCOSTAN
Copy link
Contributor

CCOSTAN commented Jun 18, 2017

You might have to search and replace all instances of floorplan.html, floorplan.svg, floorplan.css with floorplan2.html, floorplan2.svg and floorplan2.css.

I haven't tried it yet but that's where I would start.

@pkozul
Copy link
Owner

pkozul commented Jun 21, 2017

Hi there,

I just posted some info on the HA forums, describing how to get multiple floorplans showing. Have a look there. Soon I will add it the readme in this repo.

Cheers.

@mvillarejo
Copy link
Author

great news! any chance you can share the link to it?

@pkozul
Copy link
Owner

pkozul commented Jun 21, 2017

@mvillarejo
Copy link
Author

great news, I managed to make it work! thanks guys.

one last question, it seems that this dom-module id is causing errors:
<dom-module id="ha-panel-p1">
Uncaught TypeError: Cannot read property 'Symbol(Symbol.iterator)' of null at Object.jQuery.ajax.success.result.bind.instance (ha-floorplan.html:159)

I'm not good with Polymer or javascript so... any idea why?

cheers!

@mvillarejo
Copy link
Author

This looks great, not sure what's wrong with that id but... it's not the end of the world to replace it with a non alphanumeric name.

suggestion now to close this issue.

Great job to the creators of this module, It'll be great if it becomes part of HA but obviously with your support!

Cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants