Hi,
I’m planning to to add MAP feature to HueEmulation. I’ve posted issue on git (https://github.com/openhab/openhab2-addons/issues/2072) but not get any response. Maybe somebody here might help me?
I need to change device name exposed by HueEmulation. In current implementation device name exposed by gateway is taken from item’s label. I would like to create mapping to expose different name.
it should be done somewhere here:
public Map<String, String> getHueDeviceNames() {
(...)
devices.put(item.getName(), item.getLabel());
I’m wondering about using standard MAP transformation service something like:
TransformationHelper.getTransformationService
to transform item.getLabel()
could you give me some example how to use transformation service?