5835d502c7dd3f1e86012bd3bf2edd80eda2f1c8,homeassistant/__init__.py,HomeAssistant,call_service,#HomeAssistant#Any#Any#Any#,95

Before Change



    def call_service(self, domain, service, service_data=None):
         Fires event to call specified service. 
        event_data = service_data or {}
        event_data[ATTR_DOMAIN] = domain
        event_data[ATTR_SERVICE] = service

        self.bus.fire(EVENT_CALL_SERVICE, event_data)

After Change


            "hass.services.call is deprecated. "
            "Use hass.services.call"))

        self.services.call(domain, service, service_data)


def _process_match_param(parameter):
     Wraps parameter in a list if it is not one and returns it. 
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: home-assistant/home-assistant
Commit Name: 5835d502c7dd3f1e86012bd3bf2edd80eda2f1c8
Time: 2014-11-30
Author: Paulus@PaulusSchoutsen.nl
File Name: homeassistant/__init__.py
Class Name: HomeAssistant
Method Name: call_service


Project Name: explosion/spaCy
Commit Name: 44f83b35bc86b791d80ad52c4f44c82559be4507
Time: 2017-10-26
Author: ines@ines.io
File Name: examples/pipeline/custom_attr_methods.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: af8cd63838d035ad80420f4296cdbc312fe407ca
Time: 2018-05-05
Author: mail+github@tinloaf.de
File Name: homeassistant/components/notify/matrix.py
Class Name: MatrixNotificationService
Method Name: send_message