# 3D Floorplan Card

![](/files/-LJNZFZyknID2jCHDdBQ)

{% file src="/files/-LJO5Hx7O5tMAgxqLWQZ" %}
Floorplan
{% endfile %}

{% file src="/files/-LJO5Hx98rX82lP\_Ha3E" %}
Hallway overlay
{% endfile %}

{% file src="/files/-LJO5HxBGL\_IvOzpYpNn" %}
Kitchen overlay
{% endfile %}

{% file src="/files/-LJO5HxDqK-DK8GX6mR0" %}
Livingroom overlay
{% endfile %}

{% hint style="info" %}
Change the pictures and sensors to your own.
{% endhint %}

{% tabs %}
{% tab title="ui-lovelace.yaml" %}

```yaml
- type: picture-elements
  image: /local/Floorplan.png
  elements:

  - type: image
    tap_action: toggle
    entity: light.kitchen
    image: /local/Floorplan/kitchen.png
    state_filter:
      "off": opacity(50%)
      "on": opacity(1%)
    style:
      top: 80%
      left: 27.25%
      width: 39.75%

  - type: image
    tap_action: toggle
    entity: light.hallway
    image: /local/Floorplan/hallway.png
    state_filter:
      "off": opacity(50%)
      "on": opacity(1%)
    style:
      top: 73.7%
      left: 70.5%
      width: 43.75%

  - type: image
    tap_action: toggle
    entity: light.living_room
    image: /local/Floorplan/living_room.png
    state_filter:
      "off": opacity(50%)
      "on": opacity(1%)
    style:
      top: 36.25%
      left: 50%
      width: 85%
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
The 3D floorplan was made using the free website <http://www.sweethome3d.com>

The black boxes were cut out using the free software from <https://www.gimp.org>
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sharethelove.io/picture-elements-cards/3d-floorplan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
