ccbc231d3ae42adf05e1fa1612e96142b18dd090,tests/components/vacuum/common.py,,start,#Any#Any#,66

Before Change


@bind_hass
def start(hass, entity_id=None):
    Tell all or specified vacuum to start or resume the current task.
    data = {ATTR_ENTITY_ID: entity_id} if entity_id else None
    hass.services.call(DOMAIN, SERVICE_START, data)


@bind_hass
def pause(hass, entity_id=None):

After Change


@bind_hass
def start(hass, entity_id=None):
    Tell all or specified vacuum to start or resume the current task.
    hass.add_job(async_start, hass, entity_id)


@callback
@bind_hass
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 12

Non-data size: 7

Instances


Project Name: home-assistant/home-assistant
Commit Name: ccbc231d3ae42adf05e1fa1612e96142b18dd090
Time: 2019-01-06
Author: quazzie@users.noreply.github.com
File Name: tests/components/vacuum/common.py
Class Name:
Method Name: start


Project Name: home-assistant/home-assistant
Commit Name: ccbc231d3ae42adf05e1fa1612e96142b18dd090
Time: 2019-01-06
Author: quazzie@users.noreply.github.com
File Name: tests/components/vacuum/common.py
Class Name:
Method Name: return_to_base


Project Name: home-assistant/home-assistant
Commit Name: ccbc231d3ae42adf05e1fa1612e96142b18dd090
Time: 2019-01-06
Author: quazzie@users.noreply.github.com
File Name: tests/components/vacuum/common.py
Class Name:
Method Name: toggle


Project Name: home-assistant/home-assistant
Commit Name: ccbc231d3ae42adf05e1fa1612e96142b18dd090
Time: 2019-01-06
Author: quazzie@users.noreply.github.com
File Name: tests/components/vacuum/common.py
Class Name:
Method Name: clean_spot


Project Name: home-assistant/home-assistant
Commit Name: ccbc231d3ae42adf05e1fa1612e96142b18dd090
Time: 2019-01-06
Author: quazzie@users.noreply.github.com
File Name: tests/components/vacuum/common.py
Class Name:
Method Name: stop


Project Name: home-assistant/home-assistant
Commit Name: ccbc231d3ae42adf05e1fa1612e96142b18dd090
Time: 2019-01-06
Author: quazzie@users.noreply.github.com
File Name: tests/components/vacuum/common.py
Class Name:
Method Name: send_command


Project Name: home-assistant/home-assistant
Commit Name: ccbc231d3ae42adf05e1fa1612e96142b18dd090
Time: 2019-01-06
Author: quazzie@users.noreply.github.com
File Name: tests/components/vacuum/common.py
Class Name:
Method Name: turn_off


Project Name: home-assistant/home-assistant
Commit Name: ccbc231d3ae42adf05e1fa1612e96142b18dd090
Time: 2019-01-06
Author: quazzie@users.noreply.github.com
File Name: tests/components/vacuum/common.py
Class Name:
Method Name: turn_on


Project Name: home-assistant/home-assistant
Commit Name: ccbc231d3ae42adf05e1fa1612e96142b18dd090
Time: 2019-01-06
Author: quazzie@users.noreply.github.com
File Name: tests/components/vacuum/common.py
Class Name:
Method Name: start_pause


Project Name: home-assistant/home-assistant
Commit Name: ccbc231d3ae42adf05e1fa1612e96142b18dd090
Time: 2019-01-06
Author: quazzie@users.noreply.github.com
File Name: tests/components/vacuum/common.py
Class Name:
Method Name: locate


Project Name: home-assistant/home-assistant
Commit Name: ccbc231d3ae42adf05e1fa1612e96142b18dd090
Time: 2019-01-06
Author: quazzie@users.noreply.github.com
File Name: tests/components/vacuum/common.py
Class Name:
Method Name: set_fan_speed


Project Name: home-assistant/home-assistant
Commit Name: ccbc231d3ae42adf05e1fa1612e96142b18dd090
Time: 2019-01-06
Author: quazzie@users.noreply.github.com
File Name: tests/components/vacuum/common.py
Class Name:
Method Name: pause