In my sitemap I would like to display when latest update of a given item was:
Indoor temperature(12.03 28.09.2017) 17C
I have the two items:
Number Netatmo_Indoor_Temperature "Temperature" { channel = "netatmo:NAModule1:home:outside:Temperature" }
DateTime Netatmo_Indoor_LastStatusStore "LastStatusStore [%1$td.%1$tm.%1$tY %1$tH:%1$tM]" <text> { channel = "netatmo:NAMain:home:inside:LastStatusStore" }
So I would like the temperature to be on the right side so it match up with my other items, otherwise I could just have combined them in the rule I assume by creating a virtual item called sitemap_netatmo_indoor_temperature
:
sitemap_netatmo_indoor_temperature.sendCommand( "`Indoor temperature(" + Netatmo_Indoor_LastStatusStore .state.tostring +")" +Netatmo_Indoor_Temperature .state.tostring +"C")