[modbus-e3dc] Fixes wrong E3/DC Emergency Power Possible bit (#10536)

Fixes #10513

Signed-off-by: Sebastian <ZweiSK135@t-online.de>
pull/10575/head
Sebastian 2021-04-24 13:59:20 +02:00 committed by GitHub
parent 8d865932ff
commit 8ba34392aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ public class EmergencyBlock implements Data {
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));