diff --git a/mqtt_io/modules/sensor/as3935.py b/mqtt_io/modules/sensor/as3935.py index b4334d7b..4b1df94c 100644 --- a/mqtt_io/modules/sensor/as3935.py +++ b/mqtt_io/modules/sensor/as3935.py @@ -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