as a side question on this (@arsaboo 's yaml is a perfect example):
can/will we be able to, organize the ui-lovelace.yaml in a way to have separate files per view somehow? This is going to be one enormous file when fully built, and I fear we are prone to configuration accidents if we cant sub-divide it?
Help
The iPad could not open the floorplan and the floorplan showed a blank. The display on the computer is normal.
Opening the floorplan on the iPad, the following error message appears:
Undefined:1:11 TypeError: Cannot call a class constructor without |new|
Hi, after some reading I reply here (even some time is last) since this is close to what I’m trying to do. Do you finally manage to include in floorplan your cover? If yes how? I’m trying to find some example without succes…can you point me somewhere? I’m using an MQTT cover based on some custom hardware. The HA configuration for such cover is something like:
cover:
Hi @luigi , I’m not using floorplan now but I managed to find a backup where I was able to include the covers. Maybe I’m missing something so feel free to ask again. I see things related to covers in these files (I can’t remember what HA version I was using by that time):
floorplan.yaml
You need to adapt the entities’ names to your setup (my covers were controlled by zwave devices from Fibaro):
Thanks, I got the state. Any hint on how to manage commands?
With this I manage to run one command (closing in the example)
- name: Covers
entities:
- cover.f12
states:
- state: ‘open’
class: ‘cover-open’
- state: ‘closed’
class: ‘cover-closed’
action:
domain: cover
service: close_cover
I would send both close_cover and open_cover via mqtt.
Thank for any comments/hint!
Hi, all.
First of all, I love Floorplan!
I’m a novice trying to make the old head learn something new, and just ran into a challenge. I’m trying to make a set of buttons in my SVG Floorplan file. I want the buttons to have a text but it looks like any elements within the button group gets updated with the actual state (on/off)?
If the text is to be visible I guess the button text needs to be in the same svg-file group as the button, right? If I put it as a separate element above the button group it obviously prevents the click from happening on the button below.
So, is there a way to make Floorplan keep the text in the button group static, but still change button class based on the button state?
This is a question regarding switches. Current the on click action for switches pulls up the entity screen of homeassistant. Lights on the other hand just toggle the light. Is there a way for switches to have just a toggle action on press? The consistency would go a long way for overall look and feel (at least for how I am using it).
Any suggestions are welcome. Thanks for the awesome add on.
Perfect, thank you. I had taken the switch example and left the doorbell-on and doorbell-off states and did not have an action. I set those to light-on and light-off, and set the toggle action. Everything is working perfect now. Thanks again.
hi, nice job! one question for th great floorplan page: Can I “isolate” the floorplan and “serperate” it from the hass main page? (eg totally hiding the side bar and show only the floorplan without any extra hass components?) Thanks
without making any changes to any file, just running it as is, there is no floorplan showing up, the loading wheel is spinning and the log says the following:
ok finally figured everything out, have my floorplan integrated.
one thing I just can’t get to work: removing the toolbar on the iOS app.
on chrome, safar on both devices, iPad and mac the toolbar is gone, but when I’m in the iOS app the toolbar just doesn’t want to disappear.
is anybody using the app here and got the toolbar hidden/removed?
I want to wall-mount my iPad and use the app as fullscreen with iPad’s kiosk mode, but if the toolbar is there it sucks.