Rename custom_components/__init__.py to custom_components/pstryk/__init__.py
This commit is contained in:
13
custom_components/pstryk/__init__.py
Normal file
13
custom_components/pstryk/__init__.py
Normal file
@ -0,0 +1,13 @@
|
||||
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")
|
||||
Reference in New Issue
Block a user