Fix typo in comment

pull/31506/head
Paulus Schoutsen 2020-02-05 14:45:14 -08:00
parent c9be201ee2
commit 41c55e695e
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ class DSMREntity(Entity):
@staticmethod
def translate_tariff(value, dsmr_version):
"""Convert 2/1 to normal/low depening on DSMR version."""
"""Convert 2/1 to normal/low depending on DSMR version."""
# DSMR V5B: Note: In Belgium values are swapped:
# Rate code 2 is used for low rate and rate code 1 is used for normal rate.
if dsmr_version in ("5B"):