I am trying to move an icon based on x,y data from a radar sensor. Can I not use scripts for Top, Left position values (ie. Top: 10%)? below is my yaml:
`type: picture-elements
elements:
- type: icon
style:
color: blue
transform: scale(2,2)
left: >
{{ (((states('sensor.motion_sensor_living_room_target_1_x') | float(0) +
350) / 700) * 100) | round(0) }}%
top: >
{{ (((states('sensor.motion_sensor_living_room_target_1_y') | float(0))
/ 600) * 100) | round(0) }}%
icon: mdi:account
image: >-
https://static.wixstatic.com/media/30027f_2ac6c1ac798e42e1a432ea450bae274d.jpg/v1/fill/w_280,h_280,al_c,lg_1,q_80,enc_auto/30027f_2ac6c1ac798e42e1a432ea450bae274d.jpg`