Simple stupid question about resolution

Hi all,
I’m testing my first floorplan map with a simple svg, but I’m hanging really at the beginning.
I’m using the simple example (and CSS) and used a custom SVG background.
Adding the card with following code, I get the map very little, even if its on 1920 x 1080 px resolution.

config:
  image: /local/community/lovelace-floorplan/xefilhome/xefilhometest.svg?v=1.1.14
  log_level: error
  rules:
    - action:
        service: homeassistant.toggle
      element: light.dimmer_switch_15
      entity: light.dimmer_switch_15
      image_template: >-
        /local/community/lovelace-floorplan/xefilhome/lightbulb_${entity.state}.svg
      more_info: false
title: XefilHome TEST
type: 'custom:floorplan-card'

Why?

Thanks a lot!

Simon

What does it look like if the dashboard is in panel mode?

Try with:

panel: true

It should take all the width of the display. Otherwise, roughly 1/3. Not sure why. But without panel this is the outcome.

Hello @Stiltjack and @greengolfer
Thanks for suggestion, but nothing. One error was the document size. On HA was cutted the image. Now the image is complete, but have the same issue, it gets scaled into a little card. Added panel:

config:
  image: /local/community/lovelace-floorplan/xefilhome/xefilhometest.svg?v=1.1.14
  log_level: error
  rules:
    - action:
        service: homeassistant.toggle
      element: light.dimmer_switch_15
      entity: light.dimmer_switch_15
      image_template: >-
        /local/community/lovelace-floorplan/xefilhome/lightbulb_${entity.state}.svg
      more_info: false
title: XefilHome TEST
type: 'custom:floorplan-card'
panel: true

Ideas?

Thanks, Simon

Is that your entire lovelace yaml file?
The floorplan-card should be in a card :slight_smile: Sorry if it obvious!
And the panel is at the “top” level.

OH sorry, understood, it’s a property of the panel, not of the card, so it works!
Last question (only for now :slight_smile: ) I’ve added a simple bulb in the map svg in the middle of the room, but the bulb appears on the top left corner. why?
Simon

Out of my league here… Never used floorplan :slight_smile:

Thank you anyway, I’ll open a new thread to not mix up to many questions.

Simon