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 <ZweiSK135@t-online.de>
  • Loading branch information
2SK135 authored Apr 24, 2021
1 parent ec69e96 commit 0406435
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 0406435

Please sign in to comment.