Rename custom_components/__init__.py to custom_components/pstryk/__init__.py

This commit is contained in:
balgerion
2025-04-27 23:17:49 +02:00
committed by GitHub
parent fc6a4fe789
commit 97452d108b

View 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")