def _on_automation_update(self, event):
        """Automation update broadcast from Abode SocketIO server."""
        event_group = TIMELINE.AUTOMATION_EDIT_GROUP

        if isinstance(event, (tuple, list)):
            event = event[0]

        for callback in self._event_callbacks.get(event_group, ()):
            _execute_callback(callback, event)
def _on_automation_update ( self , event ) : event_group = TIMELINE . AUTOMATION_EDIT_GROUP if isinstance ( event , ( tuple , list ) ) : event = event [ 0 ] for callback in self . _event_callbacks . get ( event_group , ( ) ) : _execute_callback ( callback , event )
Automation update broadcast from Abode SocketIO server.