Added first files

This commit is contained in:
2026-03-04 23:00:43 +01:00
parent 6f9a486c83
commit 039b3ae251
5 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
from homeassistant.core import HomeAssistant
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_HOST, CONF_PORT
from .const import DOMAIN
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
hass.data.setdefault(DOMAIN, {})
hass.data[DOMAIN][entry.entry_id] = {
CONF_HOST: entry.data[CONF_HOST],
CONF_PORT: entry.data[CONF_PORT]
}
return True
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
return True

View File

@@ -0,0 +1,4 @@
DOMAIN = "aurora_solar"
CONF_HOST = "host"
CONF_PORT = "port"
DEFAULT_PORT = 5000

View File

@@ -0,0 +1,10 @@
{
"domain": "aurora_solar",
"name": "Aurora Solar Inverter",
"documentation": "https://github.com/dein_benutzername/aurora_solar_integration",
"dependencies": [],
"codeowners": ["@dein_benutzername"],
"requirements": [],
"iot_class": "local_polling",
"version": "0.1.0"
}

View File