<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def async_update(self, event):
 """New event for light. Check that state is part of event. Signal that light has updated state. """

        self.update_attr(event.get('state', {}))
        super().async_update(event)