Skip to content

Commit 0f6dd73

Browse files
committed
Make custom component.
1 parent 7bfd5a5 commit 0f6dd73

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

custom_components/modbus/const.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
CONF_WRITE_TYPE = "write_type"
9898
CONF_ZERO_SUPPRESS = "zero_suppress"
9999

100-
DEVICE_ID = "device_id"
100+
DEVICE_ID = "slave"
101101
RTUOVERTCP = "rtuovertcp"
102102
SERIAL = "serial"
103103
TCP = "tcp"

custom_components/modbus/manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"documentation": "https://www.home-assistant.io/integrations/modbus",
66
"iot_class": "local_polling",
77
"loggers": ["pymodbus"],
8-
"requirements": ["pymodbus==3.11.1"]
8+
"requirements": ["pymodbus==3.9.2"],
9+
"version": "1.dev.0"
910
}

0 commit comments

Comments
 (0)