fixes and start of UrlSwitchItem
This commit is contained in:
2
dist/AItem.js
vendored
2
dist/AItem.js
vendored
@ -7,7 +7,7 @@ class AItem {
|
||||
this.floor = floor;
|
||||
this.room = room;
|
||||
this.item = item;
|
||||
this.itemId = `${this.floor}.${this.room}.${this.item}`;
|
||||
this.itemId = `${this.floor}_${this.room}_${this.item}`;
|
||||
if (label == '') {
|
||||
this.label = this.itemId;
|
||||
}
|
||||
|
2
dist/Export.js
vendored
2
dist/Export.js
vendored
@ -55,6 +55,6 @@ function SwitchHomekitOutletExport(id, label, setOn, statusOn) {
|
||||
}
|
||||
function SwitchOpenHABExport(id, label, setOn, statusOn) {
|
||||
// Switch windowLightKitchen {mqtt=">[localbroker:nodered/items/windowLightKitchen:command:*:default]", mqtt="<[localbroker:nodered/items/windowLightKitchen/feedback:state:default]"}
|
||||
return `Switch ${id} {mqtt=">[localbroker:${setOn}:command:*:default]", mqtt="<[localbroker:${statusOn}:state:default]"}`;
|
||||
return `Switch ${id} {mqtt=">[localbroker:${setOn}:command:*:default],<[localbroker:${statusOn}:state:default]"}`;
|
||||
}
|
||||
//# sourceMappingURL=Export.js.map
|
2
dist/main.js
vendored
2
dist/main.js
vendored
@ -26,7 +26,7 @@ annaBedLight.start();
|
||||
allLabeledItems.push(annaBedLight);
|
||||
// Matthias -------------------------------------------------------------------------------------------------
|
||||
// Matthias Stehlampen 7 24 1 6 24 1
|
||||
let matthiasStandLights = new M433SwitchItem_1.M433SwitchItem('1st', 'Matthias', 'Stehlampen Matthias', 'StandLight', '7 24 1', '6 24 1');
|
||||
let matthiasStandLights = new M433SwitchItem_1.M433SwitchItem('1st', 'Matthias', 'StandLight', 'Stehlampen Matthias', '7 24 1', '6 24 1');
|
||||
matthiasStandLights.start();
|
||||
allLabeledItems.push(matthiasStandLights);
|
||||
// Matthias Bett 15 24 1 14 24 1
|
||||
|
Reference in New Issue
Block a user