Could not find mapping for '-'

I’m trying to track down what’s going on here. I haven’t touched my configs in awhile. I do not have an entry for ‘-’ in either map file. This warning appears to happen any time one of my items fire. Because it happens on all my items I am thinking it is something simple. I just upgraded from 1.6 to 1.7 thinking it might change something.

here is a link to my items configuration https://gist.github.com/anonymous/49324f2eb41f0142fd7b

2015-10-04 14:51:10.042 [WARN ] [t.i.s.MapTransformationService] - Could not find a mapping for ‘-’ in the file ‘en.map’.
2015-10-04 14:51:10.043 [WARN ] [t.i.s.MapTransformationService] - Could not find a mapping for ‘-’ in the file ‘en.map’.
2015-10-04 14:51:10.044 [WARN ] [t.i.s.MapTransformationService] - Could not find a mapping for ‘-’ in the file ‘en.map’.
2015-10-04 14:51:10.044 [WARN ] [t.i.s.MapTransformationService] - Could not find a mapping for ‘-’ in the file ‘en.map’.
2015-10-04 14:52:03.138 [INFO ] [runtime.busevents ] - curNestTargetTemp state updated to 77
2015-10-04 14:52:03.140 [INFO ] [runtime.busevents ] - curNestTemp state updated to 75
2015-10-04 14:52:03.593 [WARN ] [t.i.s.MapTransformationService] - Could not find a mapping for ‘-’ in the file ‘en.map’.
2015-10-04 14:52:03.593 [WARN ] [t.i.s.MapTransformationService] - Could not find a mapping for ‘-’ in the file ‘en.map’.
2015-10-04 14:52:03.594 [WARN ] [t.i.s.MapTransformationService] - Could not find a mapping for ‘-’ in the file ‘en.map’.
2015-10-04 14:52:03.595 [WARN ] [t.i.s.MapTransformationService] - Could not find a mapping for ‘-’ in the file ‘en.map’.
2015-10-04 14:52:10.845 [INFO ] [runtime.busevents ] - Kitchen_Motion_detected state updated to OPEN
2015-10-04 14:52:11.107 [WARN ] [t.i.s.MapTransformationService] - Could not find a mapping for ‘-’ in the file ‘en.map’.
2015-10-04 14:52:11.107 [WARN ] [t.i.s.MapTransformationService] - Could not find a mapping for ‘-’ in the file ‘en.map’.
2015-10-04 14:52:11.108 [WARN ] [t.i.s.MapTransformationService] - Could not find a mapping for ‘-’ in the file ‘en.map’.
2015-10-04 14:52:11.109 [WARN ] [t.i.s.MapTransformationService] - Could not find a mapping for ‘-’ in the file ‘en.map’.

Just add

-=undefined

to your en.map. A dash is the same as undefined (I think)

1 Like

is there a way I can debug what is sending the ‘-’?

Just take a look into your events.log.
The dash is not an error, it simply shows that the device/sensor/actor has no defined state yet …