|
|
@@ -11,41 +11,41 @@ Mods sind allgemeine Modifikationen die bei bestimmten Events ausgel
|
|
|
|
|
|
## Trigger
|
|
|
### Speech
|
|
|
-def onBeforeText(text:str) : str
|
|
|
-def onAfterText(text:str) : str
|
|
|
-
|
|
|
-def onSay(text:str)
|
|
|
+> def onBeforeText(text:str) : str
|
|
|
+> def onAfterText(text:str) : str
|
|
|
+>
|
|
|
+> def onSay(text:str)
|
|
|
|
|
|
### Assistent
|
|
|
-def onWeakWord(weakword:str)
|
|
|
-def onSystemCommand(intent, slots)
|
|
|
-def onCommand(intent, slots)
|
|
|
+> def onWeakWord(weakword:str)
|
|
|
+> def onSystemCommand(intent, slots)
|
|
|
+> def onCommand(intent, slots)
|
|
|
|
|
|
### Smart Home
|
|
|
-def onWindowOpened(window:str)
|
|
|
-def onWindowClosed(window:str)
|
|
|
-def onWindow(window:str, open:bool)
|
|
|
-
|
|
|
-def onDoorOpened(door:str)
|
|
|
-def onDoorClosed(door:str)
|
|
|
-def onDoor(door:str, open:bool)
|
|
|
-
|
|
|
-def onSwitchOn(switch:str)
|
|
|
-def onSwitchOff(switch:str)
|
|
|
-def onSwitch(switch:str, on:bool)
|
|
|
+> def onWindowOpened(window:str)
|
|
|
+> def onWindowClosed(window:str)
|
|
|
+> def onWindow(window:str, open:bool)
|
|
|
+>
|
|
|
+> def onDoorOpened(door:str)
|
|
|
+> def onDoorClosed(door:str)
|
|
|
+> def onDoor(door:str, open:bool)
|
|
|
+>
|
|
|
+> def onSwitchOn(switch:str)
|
|
|
+> def onSwitchOff(switch:str)
|
|
|
+> def onSwitch(switch:str, on:bool)
|
|
|
|
|
|
### Outdoor Stats
|
|
|
-def onMoonphase(moonphase:str)
|
|
|
-def onDayChanged()
|
|
|
-def onMoodChanged()
|
|
|
+> def onMoonphase(moonphase:str)
|
|
|
+> def onDayChanged()
|
|
|
+> def onMoodChanged()
|
|
|
|
|
|
### User Stats
|
|
|
-def onUserLeave()
|
|
|
-def onUserArrived()
|
|
|
-def onUserWeakup()
|
|
|
-def onUserSleep()
|
|
|
+> def onUserLeave()
|
|
|
+> def onUserArrived()
|
|
|
+> def onUserWeakup()
|
|
|
+> def onUserSleep()
|
|
|
|
|
|
### System
|
|
|
-def onReset()
|
|
|
-def onRestart()
|
|
|
-def onConfigChanged(config, oldValue, newValue)
|
|
|
+> def onReset()
|
|
|
+> def onRestart()
|
|
|
+> def onConfigChanged(config, oldValue, newValue)
|