* Mill config, wip * add tests * fix merge * update tests * unique id * Mill strings * mill config flow * mill config flow * test import * test import * req * ccoverage * Apply suggestions from code review Co-authored-by: J. Nick Koston <nick@koston.org> * style * Apply suggestions from code review Co-authored-by: Paulus Schoutsen <balloob@gmail.com> * update strings * add test Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
25 lines
585 B
Python
25 lines
585 B
Python
"""The mill component."""
|
|
import logging
|
|
|
|
_LOGGER = logging.getLogger(__name__)
|
|
|
|
|
|
async def async_setup(hass, config):
|
|
"""Set up the Mill platform."""
|
|
return True
|
|
|
|
|
|
async def async_setup_entry(hass, entry):
|
|
"""Set up the Mill heater."""
|
|
hass.async_create_task(
|
|
hass.config_entries.async_forward_entry_setup(entry, "climate")
|
|
)
|
|
return True
|
|
|
|
|
|
async def async_unload_entry(hass, config_entry):
|
|
"""Unload a config entry."""
|
|
unload_ok = await hass.config_entries.async_forward_entry_unload(
|
|
config_entry, "climate"
|
|
)
|
|
return unload_ok
|