tdlr
(Tony De La Rosa)
May 4, 2019, 8:43pm
21
myTimeOfDayMode is defined as a string in the items file.
String myTimeOfDayMode "My Time of Day" <none>
In the log file, it does get updated
2019-05-04 10:46:21.740 [vent.ItemStateChangedEvent] - myTimeOfDayMode changed from NULL to Daytime
However, the value is not populated in the sitemap when I try to display the value
Text item=myTimeOfDayMode
tdlr
(Tony De La Rosa)
May 4, 2019, 8:57pm
22
Thanks @rossko57 , I made that change you suggested and rule worked. However, how come I canāt display the value in the sitemap.
rossko57
(Rossko57)
May 4, 2019, 9:20pm
23
Because you havenāt asked for it. You need to put a format in the label, to tell the sitemap what how you want a state to display. Usually [%s] for strings.
String myTimeOfDayMode "My Time of Day [%s]" <none>
1 Like
tdlr
(Tony De La Rosa)
May 4, 2019, 9:27pm
24
Thank you again @rossko57 , it worked!
rlkoshak
(Rich Koshak)
May 5, 2019, 4:39am
25
And you seem to be doing a good job helping with this problem. Keep you the good work.
1 Like