Tasmota - Dimmer ON bounces from 0 to 100 to 1

I have a strange problem. I’m using a bunch of Sonoff lamps with Tasmota FW with OpenHAB.

When I send the ON command to the dimmer object, the object first goes to 100 and then immediately to 1. If I send 100 to the dimmer object, all works as expected.

Using 2.4.0.1 stable on Ubuntu.

Log:

2018-12-27 12:33:05.746 [ome.event.ItemCommandEvent] - Item ‘HallwayDim’ received command ON
2018-12-27 12:33:05.749 [vent.ItemStateChangedEvent] - HallwayDim changed from 0 to 100
2018-12-27 12:33:05.806 [vent.ItemStateChangedEvent] - HallwaySw changed from OFF to ON
2018-12-27 12:33:05.807 [vent.ItemStateChangedEvent] - HallwayDim changed from 100 to 1
2018-12-27 12:33:06.622 [vent.ItemStateChangedEvent] - Echo_Living_Room_LastVoiceCommand changed from turn on living room lights to turn on hallway light

Same for groups:

2018-12-27 12:31:56.698 [ome.event.ItemCommandEvent] - Item ‘gLRL’ received command ON
2018-12-27 12:31:56.699 [ome.event.ItemCommandEvent] - Item ‘B1_1_Dim’ received command ON
2018-12-27 12:31:56.699 [ome.event.ItemCommandEvent] - Item ‘B1_2_Dim’ received command ON
2018-12-27 12:31:56.700 [ome.event.ItemCommandEvent] - Item ‘B1_3_Dim’ received command ON
2018-12-27 12:31:56.700 [vent.ItemStateChangedEvent] - B1_1_Dim changed from 1 to 100
2018-12-27 12:31:56.700 [GroupItemStateChangedEvent] - gLRL changed from 100 to UNDEF through B1_1_Dim
2018-12-27 12:31:56.701 [vent.ItemStateChangedEvent] - B1_2_Dim changed from 1 to 100
2018-12-27 12:31:56.701 [vent.ItemStateChangedEvent] - B1_3_Dim changed from 1 to 100
2018-12-27 12:31:56.701 [GroupItemStateChangedEvent] - gLRL changed from UNDEF to 100 through B1_3_Dim
2018-12-27 12:31:56.794 [vent.ItemStateChangedEvent] - B1_3_Dim changed from 100 to 1
2018-12-27 12:31:56.794 [GroupItemStateChangedEvent] - gLRL changed from 100 to UNDEF through B1_3_Dim
2018-12-27 12:31:56.796 [vent.ItemStateChangedEvent] - B1_1_Dim changed from 100 to 1
2018-12-27 12:31:56.797 [vent.ItemStateChangedEvent] - B1_2_Dim changed from 100 to 1
2018-12-27 12:31:56.797 [GroupItemStateChangedEvent] - gLRL changed from UNDEF to 1 through B1_2_Dim
2018-12-27 12:31:57.688 [vent.ItemStateChangedEvent] - Echo_Living_Room_LastVoiceCommand changed from turn on living room lights to
2018-12-27 12:31:57.688 [vent.ItemStateChangedEvent] - Echo_Living_Room_LastVoiceCommand changed from to turn on living room lights

Hmmm… It seems that OpenHAB sends “ON” to the Sonoff via the dimmer command and Tasmota then reports back “1”…

bnsz1-1/cmnd/Dimmer ON
bnsz1-1/stat/RESULT {“POWER1”:“ON”,“Dimmer”:1}

The 100 state will be due to the autoupdate feature making a guess as to what the result of ON will be. Autoupdate can be disabled on individual Items.

Thank you! That solves that mystery!
Does anyone happen to know how to get Tasmota to take “ON” as “100” and not as “1”? Or should I just not bother and fix it from OpenHAB e.g. with a transformation?