Merge branch 'TypescriptIntro' of ssh://gitlab.com/wolutator/dispatcher_ng into TypescriptIntro
This commit is contained in:
41
src/main.ts
41
src/main.ts
@ -98,7 +98,7 @@ hallwayStandLight.start()
|
||||
allLabeledItems.push(hallwayStandLight)
|
||||
|
||||
// Flur Schranklicht 66581 24 1 66580 24 1
|
||||
let hallwayWardrobeLight = new M433SwitchItem('Gnd', 'Hallway', 'StandLight', 'Schranklicht Flur', '66581 24 1', '66580 24 1')
|
||||
let hallwayWardrobeLight = new M433SwitchItem('Gnd', 'Hallway', 'WardrobeLight', 'Schranklicht Flur', '66581 24 1', '66580 24 1')
|
||||
hallwayWardrobeLight.start()
|
||||
allLabeledItems.push(hallwayWardrobeLight)
|
||||
|
||||
@ -111,7 +111,7 @@ allLabeledItems.push(kitchenWindowLight)
|
||||
|
||||
// Küche Deckenlampe 82197 24 1 82196 24 1
|
||||
let kitchenCeilingLight = new M433SwitchItem('Gnd', 'Kitchen', 'CeilingLight', 'Deckenlampe Küche', '82197 24 1', '82196 24 1')
|
||||
kitchenWindowLight.start()
|
||||
kitchenCeilingLight.start()
|
||||
allLabeledItems.push(kitchenCeilingLight)
|
||||
|
||||
|
||||
@ -132,6 +132,43 @@ bedRoomWindowLight.start()
|
||||
allLabeledItems.push(bedRoomWindowLight)
|
||||
|
||||
|
||||
// ---------------------------------------------------------------------------------------------------------
|
||||
let morningLightForwarder = new Forwarder('Gnd', 'Hallway', 'MorningLight', 'state', 'MorningLight', [
|
||||
kitchenWindowLight.stateTopic,
|
||||
kitchenCeilingLight.stateTopic,
|
||||
hallwayDeskLight.stateTopic,
|
||||
hallwayStandLight.stateTopic,
|
||||
hallwayWardrobeLight.stateTopic
|
||||
])
|
||||
morningLightForwarder.start()
|
||||
|
||||
let dayLightForwarder = new Forwarder('Gnd', 'Hallway', 'DayLight', 'state', 'DayLight', [
|
||||
kitchenWindowLight.stateTopic,
|
||||
kitchenCeilingLight.stateTopic,
|
||||
hallwayDeskLight.stateTopic,
|
||||
hallwayStandLight.stateTopic,
|
||||
hallwayWardrobeLight.stateTopic,
|
||||
diningRoomSmallLight.stateTopic,
|
||||
diningRoomStandLight.stateTopic,
|
||||
diningRoomCupboardLight.stateTopic,
|
||||
livingRoomLargeLight.stateTopic,
|
||||
livingRoomSmallLight.stateTopic,
|
||||
livingRoomStars.stateTopic,
|
||||
livingRoomStandLight.stateTopic
|
||||
])
|
||||
dayLightForwarder.start()
|
||||
|
||||
let ecoLightForwarder = new Forwarder('Gnd', 'Hallway', 'EcoLight', 'state', 'EcoLight', [
|
||||
kitchenWindowLight.stateTopic,
|
||||
hallwayDeskLight.stateTopic,
|
||||
hallwayWardrobeLight.stateTopic,
|
||||
diningRoomSmallLight.stateTopic,
|
||||
diningRoomStandLight.stateTopic,
|
||||
diningRoomCupboardLight.stateTopic,
|
||||
livingRoomStars.stateTopic,
|
||||
livingRoomStandLight.stateTopic
|
||||
])
|
||||
ecoLightForwarder.start()
|
||||
// ----------------------------------------------------------------------------------------------------------
|
||||
let testFourButton = new HomematicFourButtonThing('Gnd', 'Hallway', 'TestButton', 9, [
|
||||
new HomematicFourButtonSingleItem('dispatcher_ng/items/Gnd/Hallway/Testlight/dimmerIn'),
|
||||
|
Reference in New Issue
Block a user