pyg90alarm.event_mapping
Defines mapping of various events.
Functions
|
Converts alert state of infrared and other sensors to consolidated one. |
- pyg90alarm.event_mapping.map_alert_state(source, state)
Converts alert state of infrared and other sensors to consolidated one.
- Parameters:
source (
G90AlertSources) – Source of the alertstate (
int) – State code as received from the panel
- Return type:
- Returns:
Consolidated alert state