Debug doorbell watch item
This commit is contained in:
@@ -215,7 +215,7 @@ class Doorbell extends Equipment {
|
|||||||
constructor(equipmentItem) {
|
constructor(equipmentItem) {
|
||||||
super(equipmentItem);
|
super(equipmentItem);
|
||||||
|
|
||||||
this.watch['State'].add({
|
watches.add({
|
||||||
item: this.getPropertyItemName('State'),
|
item: this.getPropertyItemName('State'),
|
||||||
targetState: 'ON',
|
targetState: 'ON',
|
||||||
alertFunc: () => { items.getItem("OF_Alexa_Desk_TTS").sendCommand('Es hat geklingelt'); items.getItem("LR_Alexa_TV_TTS").sendCommand('Es hat geklingelt'); }
|
alertFunc: () => { items.getItem("OF_Alexa_Desk_TTS").sendCommand('Es hat geklingelt'); items.getItem("LR_Alexa_TV_TTS").sendCommand('Es hat geklingelt'); }
|
||||||
|
|||||||
Reference in New Issue
Block a user