1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-25 20:35:09 +00:00
Files
core/homeassistant/components/mill/__init__.py
2021-04-27 18:49:13 +02:00

15 lines
365 B
Python

"""The mill component."""
PLATFORMS = ["climate"]
async def async_setup_entry(hass, entry):
"""Set up the Mill heater."""
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
return True
async def async_unload_entry(hass, entry):
"""Unload a config entry."""
return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)