2019-03-17 03:44:05 +00:00
|
|
|
"""The mill component."""
|
2020-05-10 13:44:05 +00:00
|
|
|
|
2021-04-27 16:49:13 +00:00
|
|
|
PLATFORMS = ["climate"]
|
|
|
|
|
2020-05-10 13:44:05 +00:00
|
|
|
|
|
|
|
async def async_setup_entry(hass, entry):
|
|
|
|
"""Set up the Mill heater."""
|
2021-04-27 16:49:13 +00:00
|
|
|
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
|
2020-05-10 13:44:05 +00:00
|
|
|
return True
|
|
|
|
|
|
|
|
|
2021-04-27 16:49:13 +00:00
|
|
|
async def async_unload_entry(hass, entry):
|
2020-05-10 13:44:05 +00:00
|
|
|
"""Unload a config entry."""
|
2021-04-27 16:49:13 +00:00
|
|
|
return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)
|