Skip to content

Commit

Permalink
[modbus-e3dc] Fixes wrong E3/DC Emergency Power Possible bit (openhab…
Browse files Browse the repository at this point in the history
…#10536)

Fixes openhab#10513

Signed-off-by: Sebastian <[email protected]>
  • Loading branch information
2SK135 authored and thinkingstone committed Nov 7, 2021
1 parent 2366701 commit 4ce57cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public EmergencyBlock(byte[] bArray) {
BitSet bs = BitSet.valueOf(emsStatusBytes);
batteryChargingLocked = OnOffType.from(bs.get(EMS_CHARGING_LOCK_BIT));
batteryDischargingLocked = OnOffType.from(bs.get(EMS_DISCHARGING_LOCK_BIT));
epPossible = OnOffType.from(bs.get(EMS_DISCHARGING_LOCK_BIT));
epPossible = OnOffType.from(bs.get(EMS_AVAILABLE_BIT));
weatherPredictedCharging = OnOffType.from(bs.get(EMS_WEATHER_CHARGING_BIT));
regulationStatus = OnOffType.from(bs.get(EMS_REGULATION_BIT));
chargeLockTime = OnOffType.from(bs.get(EMS_CHARGE_LOCKTIME_BIT));
Expand Down

0 comments on commit 4ce57cd

Please sign in to comment.