mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix typo in comment
This commit is contained in:
parent
c9be201ee2
commit
41c55e695e
@ -235,7 +235,7 @@ class DSMREntity(Entity):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def translate_tariff(value, dsmr_version):
|
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:
|
# 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.
|
# Rate code 2 is used for low rate and rate code 1 is used for normal rate.
|
||||||
if dsmr_version in ("5B"):
|
if dsmr_version in ("5B"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user