def setup(hass, config):
    import webbrowser

    hass.services.register(DOMAIN, SERVICE_BROWSE_URL,
                           lambda service:
                           webbrowser.open(service.data[ATTR_URL]),
                           schema=SERVICE_BROWSE_URL_SCHEMA)

    return True
Create and attach a volume to an instance, while tolerating some common ec2
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/browser.py/setup--crossover with--dataset/ETHPy150Open winhamwr/neckbeard/neckbeard/cloud_provisioners/aws/ec2.py/create_and_attach_ebs_vol