Skip to content

Commit

Permalink
Missed a timer, minutes instead of seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
OmegaModr committed Apr 13, 2024
1 parent 016da94 commit b1143d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/ev_metron_websockets/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def __init__(self, hub) -> None:
self._attr_unique_id = f"{hub._name}_charging_time"
self._attr_name = f"{hub._name} charging time"
self._attr_state_class = SensorStateClass.MEASUREMENT
self._attr_unit_of_measurement = UnitOfTime.SECONDS
self._attr_unit_of_measurement = UnitOfTime.MINUTES
self._attr_device_class = SensorDeviceClass.DURATION

@property
Expand Down

0 comments on commit b1143d5

Please sign in to comment.