platypush.message.event.alarm

class platypush.message.event.alarm.AlarmDismissedEvent(name: Optional[str] = None, *args, **kwargs)[source]

Triggered when an alarm is dismissed.

class platypush.message.event.alarm.AlarmEndedEvent(name: Optional[str] = None, *args, **kwargs)[source]

Triggered when an alarm stops.

class platypush.message.event.alarm.AlarmEvent(name: Optional[str] = None, *args, **kwargs)[source]
__init__(name: Optional[str] = None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.alarm.AlarmSnoozedEvent(name: Optional[str] = None, *args, **kwargs)[source]

Triggered when an alarm is snoozed.

class platypush.message.event.alarm.AlarmStartedEvent(name: Optional[str] = None, *args, **kwargs)[source]

Triggered when an alarm starts.

class platypush.message.event.alarm.AlarmTimeoutEvent(name: Optional[str] = None, *args, **kwargs)[source]

Triggered when an alarm times out.