Hi ,
How I can do a multi floorplan with picture-card-element ?
Like floor 1 and you click on a button and it’s show the floor two…
I have no find any anwsers for this
ps: it is not ha-floorplan
Thank
Hi ,
How I can do a multi floorplan with picture-card-element ?
Like floor 1 and you click on a button and it’s show the floor two…
I have no find any anwsers for this
ps: it is not ha-floorplan
Thank
The easiest way to create floorplan is using “picture-elements”.
Picture Elements Card - Home Assistant
How to switch between floors - one of possible ways is displaying TWO “picture-elements” conditionally:
- type: entities
entities:
- input_select.floor
- type: conditional
conditions:
- entity: input_select.floor
state: 'ground floor'
card:
type: picture-elements
.... ground floor
- type: conditional
conditions:
- entity: input_select.floor
state: '1st floor'
card:
type: picture-elements
.... 1st floor
This is a common idea, you may replace the input_select by some button (toggling some entity), the standard “conditional card” by a “custom:state-switch” card etc.
P.S. When using the standard “conditional card” - check this issue.