14 lines
369 B
Python
14 lines
369 B
Python
from .const import DOMAIN
|
|
|
|
async def async_setup(hass, config):
|
|
return True
|
|
|
|
async def async_setup_entry(hass, entry):
|
|
hass.async_create_task(
|
|
hass.config_entries.async_forward_entry_setup(entry, "sensor")
|
|
)
|
|
return True
|
|
|
|
async def async_unload_entry(hass, entry):
|
|
return await hass.config_entries.async_forward_entry_unload(entry, "sensor")
|