Skip to content

Commit 020206b

Browse files
authored
add solax generation (#621)
1 parent 8004c0f commit 020206b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/components/devices/solax/solax/device.vue

+12
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,18 @@
3434
meist für Gen4 eine ID größer als 2 eingestellt. Bei Gen3 sogar (gegen jeglicher Modbus Standards) eine 0.
3535
</template>
3636
</openwb-base-number-input>
37+
<openwb-base-select-input
38+
title="Generation"
39+
not-selected="Bitte auswählen"
40+
:options="[
41+
{ value: 'g2', text: 'Gen 2' },
42+
{ value: 'g3', text: 'Gen 3' },
43+
{ value: 'g4', text: 'Gen 4' },
44+
]"
45+
:model-value="device.configuration.version"
46+
required
47+
@update:model-value="updateConfiguration($event, 'configuration.version')"
48+
/>
3749
</div>
3850
</template>
3951

0 commit comments

Comments
 (0)