@tringler I like your design and mine is quite similar. I am struggling at showing the temperature of various rooms.
I have created Text (or rectangle) with the id similar to the id of my actual temperature sensor in Home Assistant. But the temperature is not reflected in the floor plan. Here is the portion of code in my ha-floorplan-card:
@Ratsathome I have problem to make my fans spin. From your post I understand that a mdi icon is not enough? I should also create a transparent rectangle in which I will center the mdi icon?
Would you mind giving an example or describe the process? (I have been trying this since many days and I am still stuck).
Every line, geometric shape or contour is done in Inkscape. Took some time, but if you are patient it will look nice. Also in Inkscape, the ”objects” have a dedicated ”ID” and a dedicated ”label”, you can access them by right-click any geometric shape and choose ”object properties”. You will reference those in your .css file (in which you adjust fading, among other settings) and .yaml file
See what other think but I find floor plan easier to use. Just create everything in the SVG and then use CSS classes to control the appearance of the plan.
If you look here https://www.juanmtech.com/set-up-the-picture-elements-card-in-home-assistant/ you will see that with the elements card you have to define sizes and placement in the style section. That is harder for me than just placing and resizing images in the SVG and I think the picture elements card will be a way larger yaml file to achieve the same outcome.
Plus @pkozul has added some more powerful functionality lately such as functions.
Right now I want to have a floorplan to show the temp & humidity in each division as I think this is the best way to see this kind of information but I don’t mind to add others features in the future like the door or window state.
There are some great discussions over on the floorplan GitHub repo. You can see some examples and get some ideas. It’s the best way to get help in case you get stuck.
Looks great I ended up removing my little bulbs and just allowed a tap anywhere inside the room to turn on the lights. Just made it a little cleaner for me.
If you don’t have any RGB lights, you would do the same thing with the white overlay only, checking for the brightness attribute of your light and adjusting the opacity filter accordingly. Here’s the example I followed.