def track_time_change(year=None, month=None, day=None, hour=None, minute=None, second=None):
 def track_time_change_decorator(action):
  'Decorator to track time changes.'
  event.track_time_change(HASS, functools.partial(action, HASS), year, month, day, hour, minute, second)
  return action
 return track_time_change_decorator

def track_time_change ( year = None , month = None , day = None , hour = None , minute = None , second = None ) : def track_time_change_decorator ( action ) : event . track_time_change ( HASS , functools . partial ( action , HASS ) , year , month , day , hour , minute , second ) return action return track_time_change_decorator
decorator factory to track time changes .