Skip to content

Commit

Permalink
- fixed the type for the current humidity converter
Browse files Browse the repository at this point in the history
  • Loading branch information
simbaja committed Jul 30, 2023
1 parent 0362251 commit b74ce88
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from ..abstract import ErdReadWriteConverter
from ..abstract import ErdReadOnlyConverter
from ..primitives import *


class ErdDehumidifierCurrentHumidityConverter(ErdReadWriteConverter[int]):
class ErdDehumidifierCurrentHumidityConverter(ErdReadOnlyConverter[int]):
def erd_decode(self, value: str) -> int:
try:
return erd_decode_int(value) & 0xFF
Expand Down

0 comments on commit b74ce88

Please sign in to comment.