We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7850664 commit a5e70f5Copy full SHA for a5e70f5
custom_components/solaredge_modbus_multi/const.py
@@ -47,16 +47,6 @@ class ModbusExceptions:
47
GatewayPathUnavailable = 0x0A
48
GatewayNoResponse = 0x0B
49
50
- @classmethod
51
- def decode(cls, code: int) -> str | None:
52
- """Give an error code, translate it to a string error name."""
53
- values = {
54
- v: k
55
- for k, v in iter(cls.__dict__.items())
56
- if not k.startswith("__") and not callable(v)
57
- }
58
- return values.get(code, None)
59
-
60
61
class RetrySettings(IntEnum):
62
"""Retry settings when opening a connection to the inverter fails."""
0 commit comments