I have made 3d pictures with "Sweet Home 3D’ and eddited them with GLIMP.
But when I put them in Home Assistant, the background is good, but the png file related to a state is doing strange. The higer the style%, the smaller the pictures gets. so with Top 50% and Left 50%, the picture is show in scale of 50%. What do i wrong?
type: picture-elements
elements:
- type: image
entity: light.plafond_lampen
state_image:
‘on’: /local/floorplan/Plafond-woonkamer.png
‘off’: /local/floorplan/transparant.png
style:
top: 50%
left: 50%
with: 100% - type: image
entity: light.eettafel_lamp_licht
state_image:
‘on’: /local/floorplan/Eettafel.png
‘off’: /local/floorplan/transparant.png
style:
left: 50%
top: 50%
with: 100%
image: /local/floorplan/basis-woonkamer.png