Hi, since this was a common and recurring issue, I finally resorted to query the API when an item’s state with a transformation applied changes.
Here’s a summary of the changes:
There is an additional API query each time the item’s state is updated, but only when for items having a transformedState. If you have a frequent update on items with transforms you might experience some performance issues;
Dummy widgets and switches display the transformed (i.e. mapped) state if available;
The itemState (formerly itemValue) function in templates also now returns the transformed state by default, unless you set the new second parameter to true i.e. itemState('Item_With_Map', true). Use the raw state in conditions like ng-if without the transformation if possible.
Remember you need to have an openHAB version including @lolodomo’s PR, that is, snapshot 849 or newer.
I uninstalled my previous habpanel, and trye’d to update in Paper UI, but there is only 2.0.0, so I installed the 2.1.0 from your link.
But it still not showing my mapping correctly
do i need to do something more, about itemState/itemValue, I haven’t done anything to my Items only upgraded the habpanel.
In a habpanel template … if you are using that.
As I said earlier: you may have a problem not related to habpanel at all …
Do your items update in BasicUI or ClassicUI?
Hi
I have problems with my habpanel on my ipad mini 1 ios 9.3.5 (the newest for ipad mini 1).
After upgrade to OH2 2.1.0 Build # 941 and habpanel 2.1.0.SNAPSHOT.
I can’t view templates, they appear only as gray fields
on my iphone and PC it works