HELP!
I want a specific tile to change its background by its current state and it has to be totally clean (no icons/text/Sliders).
So i've finally got the current state and background working!
But when I put the (.tile-primary and .tile-secondary) data, it doesn't show the background.
Even if I put it the data in the Tile ID itself (#tile-2 .tile-primary.off).
With data I mean the properties: Opacity, Visibility, Display.
I'm doing something wrong and its probably quit simple but I cant seem to think straight anymore..
I tried this approach to replace the title on some of my dashboard tiles but because visibility: hidden; removed the containing element (tile-title in my case) it seemed to lose the "text-align: center" attribute for the replacement text. For me the following CSS (based on a Stack Overflow Post) seems to work and keep the alignment:
.tile-title:after { /* Default style for replacement text */
text-indent: 0;
display: block;
line-height: initial;
}
#tile-4 .tile-title { /* Collapse the original line and move the text off screen */
text-indent: -9999px;
line-height: 0;
}
#tile-4 .tile-title:after { /* Add the replacement text */
content: 'Current Mode';
}
Hi noob here, I'm trying to figure out how to change the icons for HSM (armedHome, armedAway, disarmed, armingAway) as these statuses change. I setup a button that I'm testing with and so far I have been able to change the border color, transform the words to uppercase, and remove the title, but I haven't been able change the icons specifically to something local within HE. like directions_walk. Thanks in advance for any help.
Pretty much have it like I want it. It is in 24 hour format, how can I change that? I set the template as attribute/formattedTime I used a little CSS to change the font size and the title. Now it is off center from top to bottom
Is there an easy way to use CSS to convert a Unix timestamp to a date format?
My Orbit valve stores an attribute called "Next_Start_Time" in a Unix timestamp format but I need it to be human readable.
I have used variables before but I am no expert. Could you please direct me to a relevant source of information for this kind of a rule that reads attributes from a device and set them to a variable?