change text color when state changes

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
retetiba
Posts: 18
Joined: Sunday 25 March 2018 17:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

change text color when state changes

Post by retetiba »

Hi,

Is it possible in dashticz to change the color of the text of a block ('title') when a state of something changes.

For example:

X is a doorswitch of which the icon changes color from green to red in case of opening a door.
Y is the battery level of this witch.

What I would like do is change the "title' text in red in case battery is say < 25%.

Is that possible?

Thx!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest