Skip to content

Commit

Permalink
Update audi_models.py
Browse files Browse the repository at this point in the history
Added: plugLockState, externalPower, plugledColor
  • Loading branch information
Ingrimmsch93 authored Mar 4, 2024
1 parent 54bc972 commit 38425da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion custom_components/audiconnect/audi_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ def __init__(self, data):
self._tryAppendStateWithTs(data, "chargeMode", -1, ["charging", "chargingStatus", "value", "chargeMode"])
self._tryAppendStateWithTs(data, "chargingState", -1, ["charging", "chargingStatus", "value", "chargingState"])
self._tryAppendStateWithTs(data, "plugState", -1, ["charging", "plugStatus", "value", "plugConnectionState"])
self._tryAppendStateWithTs(data, "remainingChargingTime", -1, ["charging", "chargingStatus", "value", "remainingChargingTimeToComplete_min"])
self._tryAppendStateWithTs(data, "remainingChargingTime", -1, ["charging", "chargingStatus", "value", "remainingChargingTimeToComplete_min"])
self._tryAppendStateWithTs(data, "plugLockState", -1, ["charging", "plugStatus", "value", "plugLockState"])
self._tryAppendStateWithTs(data, "externalPower", -1, ["charging", "plugStatus", "value", "externalPower"])
self._tryAppendStateWithTs(data, "plugledColor", -1, ["charging", "plugStatus", "value", "ledColor"])

self._tryAppendStateWithTs(data, "climatisationState", -1, ["climatisation", "auxiliaryHeatingStatus", "value", "climatisationState"])

Expand Down

0 comments on commit 38425da

Please sign in to comment.