For some reason I can’t change color and font size of an mdi icon in my floorplan.
I have created my floorplan using sweethome3D.
I cut the part of the image and save it as a PNG file and I added it as a picture element card.
I changed the icon but when I’m trying to set its size and color it doesn’t affect on the image.
What I’m doing wrong?
- title: Floor plan path: Floor-plan icon: 'mdi:home-circle-outline' panel: true cards: - type: picture-elements image: /local/Lior_plan.PNG elements: - type: state-icon entity: cover.livingroom_maincurtain icon: 'mdi:cctv' tap_action: toggle style: top: 27% right: 12% '--iron-icon-height': 30px '--iron-icon-width': 30px '--iron-icon-fill-color': '#11AB7D'