Closed GoogleCodeExporter closed 9 years ago
Original comment by kai.openhab
on 13 Aug 2013 at 10:11
Kai, this is how REST returns this value:
<widget>
<widgetId>demo_1_0</widgetId>
<type>Text</type>
<label>Outside Temperature [\$17.00]</label>
<icon>temperature</icon>
<item>
<type>NumberItem</type>
<name>Weather_Temperature</name>
<state>17</state>
<link>http://localhost:8080/rest/items/Weather_Temperature</link>
</item>
<linkedPage>
<id>0100</id>
<title>Outside Temperature [\$17.00]</title>
<icon>temperature</icon>
<link>http://localhost:8080/rest/sitemaps/demo/0100</link>
</linkedPage>
</widget>
There are no exact guidelines in REST API docs on how to interpret values, so
HABDroid is just showing the value from REST API response. How should it be?
:-) Why should we escape $ in XML text field??
Original comment by belovic...@gmail.com
on 13 Aug 2013 at 5:55
Original comment by teichsta
on 13 Aug 2013 at 7:42
Fixed with changeset
https://code.google.com/p/openhab/source/detail?r=5be16c4ed9d85ddc1d0b03971115f8
46874d565e
Please note that you do NOT need the \\ anymore - you can simply type "Daily
Total [$%.2f]".
Original comment by kai.openhab
on 13 Aug 2013 at 9:11
Original issue reported on code.google.com by
ben.jone...@gmail.com
on 16 Jun 2013 at 1:28