#Overlap cards with floorplan

1 messages · Page 1 of 1 (latest)

muted falcon
#

Hello,
can someone help me to understand a yaml structure of this video please https://youtu.be/MCNxgb0mrSA?list=PLNaeA0iHcKdQ5T4ZBqRtoYvHaCglP-c1D&t=659

This guy is using :

  • cardMod
  • HoneyComb Menu
  • Floorplan

and in his YAML, he is using a custom:layout-card vertical with a picture-elements

but when I try that, floorplan is not present on my dashboard

You can find my attempt in the file attempt

and here is my simple yaml structure that work

views:
  - path: floorplan
    title: Floorplan
    panel: true
    cards:
      - type: custom:floorplan-card
        card_mod: null
        style: |
          ha-card {
            margin: 0 auto;
            max-width: 150vh;
            background-color: transparent;
          }
        config:
          image: /local/home/floorplane_optimized.svg
          stylesheet: /local/home/home.css
          log_level: info
          rules:

Thanks

This will be the final chapter of the Home Assistant floorplan tutorial series. This video will show how to get the final result from putting it all together while using the svg format to produce and render an interactive floorplan.

Inkscape: https://inkscape.org/

ha-floorplan card: https://github.com/ExperienceLovelace/ha-floorplan

Resources...

▶ Play video
brazen cradle
#

have you turned on the ha-floorplan logs?
log_level: info

muted falcon
#

yes

#

but not sure it's a HA-floorplan

#

i think it's really a structure problem

brazen cradle
#

ok, well you haven't indented the floorplan card properly, should be "- type: custom:floorplan-card"

#

and then everything else needs an extra indent

#

i don't get why you are embedding it in a picture element though

muted falcon
muted falcon
brazen cradle
#

I'm pretty sure you don't need to do that any more, you can just call the honeycomb service from floor plan

#

That YouTube video you linked is really old

muted falcon
#

ok i will try

#

sorry i am really new to HA

brazen cradle
#

it's ok, floorplan is a... difficult integration
It's insanely powerful but a pain to get your head around at the start and a lot of the tutorials are super out of date

muted falcon
#

ok thanks