Skip to content

Commit

Permalink
Fix mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mschlenstedt committed Sep 28, 2024
1 parent 27047b3 commit 650df69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mqtt_io/modules/sensor/as3935.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def increase_threshold(self) -> None:
_LOG.debug("as3935: Increasing the disturber watchdog threshold to %s", value)
self.lightning.watchdog_threshold = value

def get_value(self, value) -> float:
def get_value(self, value: str) -> float:
""" Return the value of 'type' """
ret = float(self.data[value])
return ret
Expand Down

0 comments on commit 650df69

Please sign in to comment.