• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Set color of label from rule
#1
Hi

Is there a possibility to set the color of a generic label from within a rule?

Thanks Uli
 
Reply
#2
https://manual.pilight.org/eventing/actions/label.html

Code:
IF 1 == 1 THEN label DEVICE tempLabel AND humiLabel TO No information COLOR red
 
Reply
#3
(03-11-2018, 11:05 AM)marcm Wrote: https://manual.pilight.org/eventing/actions/label.html

Code:
IF 1 == 1 THEN label DEVICE tempLabel AND humiLabel TO No information COLOR red

Thanks a lot. Tried to set color only, did not realize it is done in combination

Uli
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  GPIO input -> starting a rule scootermacro 1 168 06-09-2019, 07:40 AM
Last Post: curlymo
  rule fails with ping state pinu 1 918 06-09-2017, 10:14 AM
Last Post: Niek
  pilight rule does not execute pinu 1 857 06-09-2017, 10:01 AM
Last Post: Niek
  Problem with a Switch rule viper2035 2 1,270 01-12-2017, 04:33 PM
Last Post: viper2035
  Rule reset status hazzard 42 11,122 03-20-2016, 07:50 PM
Last Post: jowe2460
  rule with suneset and datetime gets an error Rschnauzer 1 1,030 02-02-2016, 04:36 PM
Last Post: Niek
  rule #1 invalid: trying to compare string variable "datetime.hour" to an integer Michel 3 1,243 12-14-2015, 10:11 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)