File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
custom_components/solaredge_modbus_multi Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -67,12 +67,15 @@ class ModbusDefaults(IntEnum):
67
67
ReconnectDelay to ReconnectDelayMax.
68
68
Set `ReconnectDelay = 0` to avoid automatic reconnection.
69
69
Disabled because it didn't work properly with HA Async in PR#360.
70
+
71
+ ReconnectDelay and ReconnectDelayMax can be set to seconds.milliseconds
72
+ values using the advanced YAML configuration option.
70
73
"""
71
74
72
75
Timeout = 3 # Timeout for a request, in seconds.
73
76
Retries = 3 # Max number of retries per request.
74
- ReconnectDelay = 0 # Minimum in seconds.milliseconds before reconnecting.
75
- ReconnectDelayMax = 3.0 # Maximum in seconds.milliseconds before reconnecting.
77
+ ReconnectDelay = 0 # Minimum in seconds before reconnecting.
78
+ ReconnectDelayMax = 3 # Maximum in seconds before reconnecting.
76
79
77
80
78
81
class SolarEdgeTimeouts (IntEnum ):
You can’t perform that action at this time.
0 commit comments