@bind_hass
def turn_off(hass, entity_id):
    'Turn script on.\n\n    This is a legacy helper method. Do not use it for new tests.\n    '
    hass.services.call(DOMAIN, SERVICE_TURN_OFF, {ATTR_ENTITY_ID: entity_id})
Turn script on.

This is a legacy helper method. Do not use it for new tests.
@bind_hass
def turn_off(hass, entity_id):
    'Turn script on.\n\n    This is a legacy helper method. Do not use it for new tests.\n    '
    hass.services.call(DOMAIN, SERVICE_TURN_OFF, {ATTR_ENTITY_ID: entity_id})