original_docstring:  Handles calling a service.
  
      This handles the following paths:
      /api/services/<domain>/<service>
      
docstring: Handles calling a service.
  This handles the following paths:
  api/services//
docstring_tokens: Handles calling a service . This handles the following paths : api / services //
code: def _handle_post_api_services_domain_service(handler, path_match, data):
      """ Handles calling a service.
  
      This handles the following paths:
      /api/services/<domain>/<service>
      """
      domain = path_match.group('domain')
      service = path_match.group('service')
  
      with TrackStates(handler.server.hass) as changed_states:
          handler.server.hass.services.call(domain, service, data, True)
  
      handler.write_json(changed_states)
code_tokens: def _handle_post_api_services_domain_service ( handler , path_match , data ) : domain = path_match . group ( 'domain' ) service = path_match . group ( 'service' ) with TrackStates ( handler . server . hass ) as changed_states : handler . server . hass . services . call ( domain , service , data , True ) handler . write_json ( changed_states )
short_docstring: Handles calling a service.
short_docstring_tokens: Handles calling a service .
comment: """ Handles calling a service.
  
      This handles the following paths:
      /api/services/<domain>/<service>
      """