Skip to content

Commit 9f5baa6

Browse files
committed
fix DCDC_ENABLE
1 parent 89c8583 commit 9f5baa6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

teslemetry_stream/vehicle.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -482,11 +482,11 @@ def listen_DCChargingPower(self, callback: Callable[[float | None], None]) -> Ca
482482
)
483483

484484
def listen_DCDCEnable(self, callback: Callable[[bool | None], None]) -> Callable[[],None]:
485-
"""Listen for DC DC Enable."""
486-
self._enable_field(Signal.DC_DC_ENABLE)
485+
"""Listen for DCDC Enable."""
486+
self._enable_field(Signal.DCDC_ENABLE)
487487
return self.stream.async_add_listener(
488-
make_bool(Signal.DC_DC_ENABLE, callback),
489-
{"vin":self.vin, "data": {Signal.DC_DC_ENABLE: None}}
488+
make_bool(Signal.DCDC_ENABLE, callback),
489+
{"vin":self.vin, "data": {Signal.DCDC_ENABLE: None}}
490490
)
491491

492492
def listen_DefrostForPreconditioning(self, callback: Callable[[bool | None], None]) -> Callable[[],None]:

0 commit comments

Comments
 (0)