Commit 2b23c44 1 parent 6b38d9f commit 2b23c44 Copy full SHA for 2b23c44
File tree 4 files changed +122
-0
lines changed
4 files changed +122
-0
lines changed Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div class =" device-benning" >
3
+ <openwb-base-heading >
4
+ Einstellungen für Benning
5
+ <span class =" small" >(Modul: {{ $options.name }})</span >
6
+ </openwb-base-heading >
7
+ <openwb-base-text-input
8
+ title =" IP oder Hostname"
9
+ subtype =" host"
10
+ required
11
+ :model-value =" configuration.url"
12
+ @update:model-value ="
13
+ updateConfiguration($event, 'configuration.url')
14
+ "
15
+ />
16
+ </div >
17
+ </template >
18
+
19
+ <script >
20
+ export default {
21
+ name: " DeviceBenning" ,
22
+ emits: [" update:configuration" ],
23
+ props: {
24
+ configuration: { type: Object , required: true },
25
+ deviceId: { default: undefined },
26
+ },
27
+ methods: {
28
+ updateConfiguration (event , path = undefined ) {
29
+ this .$emit (" update:configuration" , { value: event , object: path });
30
+ },
31
+ },
32
+ };
33
+ </script >
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div class =" device-benning-inverter" >
3
+ <openwb-base-heading >
4
+ Einstellungen für Benning Wechselrichter
5
+ <span class =" small" >(Modul: {{ $options.name }})</span >
6
+ </openwb-base-heading >
7
+ <openwb-base-alert subtype =" info" >
8
+ Diese Komponente benötigt keine Einstellungen.
9
+ </openwb-base-alert >
10
+ </div >
11
+ </template >
12
+
13
+ <script >
14
+ export default {
15
+ name: " DeviceBenningInverter" ,
16
+ emits: [" update:configuration" ],
17
+ props: {
18
+ configuration: { type: Object , required: true },
19
+ deviceId: { default: undefined },
20
+ componentId: { required: true },
21
+ },
22
+ methods: {
23
+ updateConfiguration (event , path = undefined ) {
24
+ this .$emit (" update:configuration" , { value: event , object: path });
25
+ },
26
+ },
27
+ };
28
+ </script >
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div class =" device-opendtu" >
3
+ <openwb-base-heading >
4
+ Einstellungen für OpenDTU
5
+ <span class =" small" >(Modul: {{ $options.name }})</span >
6
+ </openwb-base-heading >
7
+ <openwb-base-text-input
8
+ title =" IP oder Hostname"
9
+ subtype =" host"
10
+ required
11
+ :model-value =" configuration.url"
12
+ @update:model-value ="
13
+ updateConfiguration($event, 'configuration.url')
14
+ "
15
+ />
16
+ </div >
17
+ </template >
18
+
19
+ <script >
20
+ export default {
21
+ name: " DeviceOpenDTU" ,
22
+ emits: [" update:configuration" ],
23
+ props: {
24
+ configuration: { type: Object , required: true },
25
+ deviceId: { default: undefined },
26
+ },
27
+ methods: {
28
+ updateConfiguration (event , path = undefined ) {
29
+ this .$emit (" update:configuration" , { value: event , object: path });
30
+ },
31
+ },
32
+ };
33
+ </script >
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div class =" device-opendtu-inverter" >
3
+ <openwb-base-heading >
4
+ Einstellungen für OpenDTU Wechselrichter
5
+ <span class =" small" >(Modul: {{ $options.name }})</span >
6
+ </openwb-base-heading >
7
+ <openwb-base-alert subtype =" info" >
8
+ Diese Komponente benötigt keine Einstellungen.
9
+ </openwb-base-alert >
10
+ </div >
11
+ </template >
12
+
13
+ <script >
14
+ export default {
15
+ name: " DeviceOpenDTUInverter" ,
16
+ emits: [" update:configuration" ],
17
+ props: {
18
+ configuration: { type: Object , required: true },
19
+ deviceId: { default: undefined },
20
+ componentId: { required: true },
21
+ },
22
+ methods: {
23
+ updateConfiguration (event , path = undefined ) {
24
+ this .$emit (" update:configuration" , { value: event , object: path });
25
+ },
26
+ },
27
+ };
28
+ </script >
You can’t perform that action at this time.
0 commit comments