Skip to content

Commit f076633

Browse files
Add modbus retries to yaml schema
1 parent 654ac78 commit f076633

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

custom_components/solaredge_modbus_multi/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"modbus": vol.Schema(
4545
{
4646
vol.Optional("timeout"): vol.Coerce(int),
47+
vol.Optional("retries"): vol.Coerce(int),
4748
vol.Optional("reconnect_delay"): vol.Coerce(float),
4849
vol.Optional("reconnect_delay_max"): vol.Coerce(float),
4950
}

0 commit comments

Comments
 (0)