Floorplan animations

Hello. I wonder if it is possible to use animated items in floorplan. Lets say a flame in a fireplace or smoke from chimney etc. Maybe animated GIF as an overlay? Or is there a better solution? Any ideas? Thank you.

Yes

type: picture-elements
image: /local/parter.png
elements:
  - type: image
    entity: media_player.tv
    tap_action:
      action: toggle
    state_image:
      'on': /local/videogif2.gif
      'off': /local/tvstatic.gif
    style:
      top: 4%
      left: 27%
      width: 7%
      transform: rotate(12deg) rotateX(1deg) skewX(25deg)
1 Like

Great thank you! Is it possible to post some video showing how this example works in GUI?

HA TV panel

I used:
HA - config- www
“on”
videogif2
“off”
tvstatic

1 Like

Nice, thank you very much!

Do you think it is better use Floorplan card or Picture elements?