def turn_off(hass, entity_id=None):
    data = {ATTR_ENTITY_ID: entity_id} if entity_id else {}
    hass.services.call(DOMAIN, SERVICE_TURN_OFF, data)
Tests that setting fits.EXTENSION_NAME_CASE_SENSITIVE at runtime
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/__init__.py/turn_off--crossover with--dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/tests/test_core.py/TestCore.test_extension_name_case_sensitive