init home-assistant

This commit is contained in:
2026-11-19 15:15:32 -05:00
parent 2e81d9d300
commit feec6ef9fb
19230 changed files with 3335526 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
"""Provide a mock package component."""
from homeassistant.core import HomeAssistant
from homeassistant.helpers.typing import ConfigType
from .const import TEST # noqa: F401
DOMAIN = "test_package"
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Mock a successful setup."""
return True

View File

@@ -0,0 +1,3 @@
"""Constants for test_package custom component."""
TEST = 5

View File

@@ -0,0 +1,15 @@
{
"entity": {
"switch": {
"something": {
"state": {
"away": "mdi:home-outline",
"home": "mdi:home"
}
}
}
},
"services": {
"enable_god_mode": "mdi:shield"
}
}

View File

@@ -0,0 +1,9 @@
{
"domain": "test_package",
"name": "Test Package",
"documentation": "http://test-package.io",
"requirements": [],
"dependencies": [],
"codeowners": [],
"version": "1.2.3"
}