renamed domain

This commit is contained in:
Patrick762 committed 2023-07-29 20:32:14 +02:00
1 parent 1c29ffe7a2
commit 27f79acd00
5 files changed
+12 -7

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
"""Bluetti Bluetooth Integration"""
from __future__ import annotations
import logging
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_ADDRESS, Platform
from homeassistant.core import HomeAssistant
_LOGGER = logging.getLogger(__name__)
PLATFORMS: [Platform] = []
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Set up Bluetti Powerstation from a config entry."""
address = entry.data.get(CONF_ADDRESS)
if address is None:
return False
_LOGGER.error("Device address: %s", address)
return True