Skip to content

Commit 0267969

Browse files
committed
make modbus id mandatory for existing modules
1 parent 781da15 commit 0267969

File tree

15 files changed

+21
-9
lines changed

15 files changed

+21
-9
lines changed

src/components/devices/deye/bat.vue

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
</openwb-base-heading>
77
<openwb-base-number-input
88
title="Modbus ID"
9+
required
910
:model-value="configuration.modbus_id"
1011
min="1"
1112
max="255"

src/components/devices/deye/counter.vue

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
</openwb-base-heading>
77
<openwb-base-number-input
88
title="Modbus ID"
9+
required
910
:model-value="configuration.modbus_id"
1011
min="1"
1112
max="255"

src/components/devices/deye/inverter.vue

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
</openwb-base-heading>
77
<openwb-base-number-input
88
title="Modbus ID"
9+
required
910
:model-value="configuration.modbus_id"
1011
min="1"
1112
max="255"

src/components/devices/huawei_smartlogger/bat.vue

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
</openwb-base-heading>
77
<openwb-base-number-input
88
title="Modbus ID"
9+
required
910
:model-value="configuration.modbus_id"
1011
min="1"
1112
max="255"

src/components/devices/huawei_smartlogger/counter.vue

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
</openwb-base-heading>
77
<openwb-base-number-input
88
title="Modbus ID"
9+
required
910
:model-value="configuration.modbus_id"
1011
min="1"
1112
max="255"

src/components/devices/huawei_smartlogger/inverter.vue

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
</openwb-base-heading>
77
<openwb-base-number-input
88
title="Modbus ID"
9+
required
910
:model-value="configuration.modbus_id"
1011
min="1"
1112
max="255"

src/components/devices/solaredge/bat.vue

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
</openwb-base-heading>
77
<openwb-base-number-input
88
title="Modbus ID"
9+
required
910
:model-value="configuration.modbus_id"
1011
min="1"
1112
max="255"

src/components/devices/solaredge/counter.vue

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
</openwb-base-alert>
1212
<openwb-base-number-input
1313
title="Modbus ID"
14+
required
1415
:model-value="configuration.modbus_id"
1516
min="1"
1617
max="255"

src/components/devices/solaredge/external_inverter.vue

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
</openwb-base-alert>
1414
<openwb-base-number-input
1515
title="Modbus ID"
16+
required
1617
:model-value="configuration.modbus_id"
1718
min="1"
1819
max="255"

src/components/devices/solaredge/inverter.vue

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
</openwb-base-heading>
77
<openwb-base-number-input
88
title="Modbus ID"
9+
required
910
:model-value="configuration.modbus_id"
1011
min="1"
1112
max="255"

src/components/devices/solarmax/bat.vue

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
</openwb-base-alert>
1313
<openwb-base-number-input
1414
title="Modbus ID"
15+
required
1516
:model-value="configuration.modbus_id"
1617
min="1"
1718
max="255"

src/components/devices/solarmax/inverter.vue

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
</openwb-base-heading>
77
<openwb-base-number-input
88
title="Modbus ID"
9+
required
910
:model-value="configuration.modbus_id"
1011
min="1"
1112
max="255"

src/components/devices/victron/bat.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<span class="small">(Modul: {{ $options.name }})</span>
66
</openwb-base-heading>
77
<openwb-base-number-input
8-
title="Modbus-ID"
9-
:min="1"
10-
:max="255"
8+
title="Modbus ID"
119
required
1210
:model-value="configuration.modbus_id"
11+
min="1"
12+
max="255"
1313
@update:model-value="
1414
updateConfiguration($event, 'configuration.modbus_id')
1515
"

src/components/devices/victron/counter.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<span class="small">(Modul: {{ $options.name }})</span>
66
</openwb-base-heading>
77
<openwb-base-number-input
8-
title="Modbus-ID"
9-
:min="1"
10-
:max="255"
8+
title="Modbus ID"
119
required
1210
:model-value="configuration.modbus_id"
11+
min="1"
12+
max="255"
1313
@update:model-value="
1414
updateConfiguration($event, 'configuration.modbus_id')
1515
"

src/components/devices/victron/inverter.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<span class="small">(Modul: {{ $options.name }})</span>
66
</openwb-base-heading>
77
<openwb-base-number-input
8-
title="Modbus-ID"
9-
:min="1"
10-
:max="255"
8+
title="Modbus ID"
119
required
1210
:model-value="configuration.modbus_id"
11+
min="1"
12+
max="255"
1313
@update:model-value="
1414
updateConfiguration($event, 'configuration.modbus_id')
1515
"

0 commit comments

Comments
 (0)