hass-core/homeassistant/components/coolmaster/__init__.py
On Freund 0656f0c62b Address post-merge coolmaster config flow code review (#28163)
* Address post-merge code review comments

* Use component path for 3rd party lib
2019-10-25 18:39:16 +02:00

20 lines
516 B
Python

"""The Coolmaster integration."""
async def async_setup(hass, config):
"""Set up Coolmaster components."""
return True
async def async_setup_entry(hass, entry):
"""Set up Coolmaster from a config entry."""
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, "climate")
)
return True
async def async_unload_entry(hass, entry):
"""Unload a Coolmaster config entry."""
return await hass.config_entries.async_forward_entry_unload(entry, "climate")