def _set_sleep_timer_service(service):
 _apply_service(service, SonosDevice.set_sleep_timer, service.data[ATTR_SLEEP_TIME])

def _set_sleep_timer_service ( service ) : _apply_service ( service , SonosDevice . set_sleep_timer , service . data [ ATTR_SLEEP_TIME ] )
set a timer .