Read the statement by Michael Teeuw here.
MMM-HomeAssistant-Sensors (Development) - Show your HA Sensors on your Mirror
-
This goes into your custom.css file in the css directory.
You can change size, color, font weight and line height. You may need to make changes to these depending on how you want it to look.
Remember when you change the font size you’ll need to change line-height size as well… Line height should be bigger then font size ;).MMM-HomeAssistant-Sensors .ha-small { font-size: 22px; line-height: 18px; font-weight: bold; color: #fff } .MMM-HomeAssistant-Sensors .ha-normal { font-size: 30px; line-height: 25px; color: #fff } .MMM-HomeAssistant-Sensors .ha-big { font-size: 42px; line-height: 26px; color: #fff }
-
Hi, this is not an issue but a question. I have a bunch of lights and I’d like to hide them when they are off, just to show them when they are on.
Is this possible?
-
@luisestrada Yes, however, It can only be “one” control sensor / HA-module. So, if you have a bunch of lights, and you want to have only one “show” only when that specific light is “on”. You will have to add the module one time / light…
But if you have a specific light that you want to use as a “control sensor” for all the lights, only one module is needed…
I think you could also use an “icon” and some trickery to only show an Icon when the light is lit and when it’s not, not show anything… But not sure… :) -
@Snille Hi, is it possible to add a line separator between sensors ?
thanks -
@joecas65 said in MMM-HomeAssistant-Sensors (Development) - Show your HA Sensors on your Mirror:
@Snille Hi, is it possible to add a line separator between sensors ?
thanksI like the way the MMM-MyScoreboard does, by adding this line
border-bottom: solid 1px #222;
You can add it to your custom.css file (for more info about how to write in css, check https://forum.magicmirror.builders/topic/6808/css-101-getting-started-with-css-and-understanding-how-css-works?_=1677609386326)