We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 832b0c8 + 64c7091 commit a34279cCopy full SHA for a34279c
1 file changed
packages/modules/devices/kaco/kaco_nh/inverter.py
@@ -1,5 +1,5 @@
1
#!/usr/bin/env python3
2
-from typing import Dict, TypedDict, Any
+from typing import TypedDict, Any
3
4
from modules.common import req
5
from modules.common.abstract_device import AbstractInverter
@@ -25,7 +25,7 @@ def initialize(self) -> None:
25
self.store = get_inverter_value_store(self.component_config.id)
26
self.fault_state = FaultState(ComponentInfo.from_component_config(self.component_config))
27
28
- def update(self, response: Dict) -> None:
+ def update(self) -> None:
29
response = req.get_http_session().get(
30
'http://' + self.device_config.ip_address + ':' + str(self.device_config.port) + '/getdevdata.cgi?device=' +
31
str(self.component_config.configuration.id) + '&sn=' + self.device_config.serial_number,
0 commit comments