Skip to content

Commit b693a6a

Browse files
author
Franz646
committed
fix: hassfest + HACS validation errors — v2.2.4
- Add brand/icon.png and logo.png inside custom_components/orphan_cleaner/brand/ - Add 'http' to dependencies in manifest.json (hassfest requirement) - Add CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN) in __init__.py - Bump 2.2.3 -> 2.2.4
1 parent 423cc3c commit b693a6a

6 files changed

Lines changed: 7 additions & 3 deletions

File tree

custom_components/orphan_cleaner/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@
1010
from homeassistant.config_entries import ConfigEntry
1111
from homeassistant.core import HomeAssistant
1212
from homeassistant.components import frontend
13+
import homeassistant.helpers.config_validation as cv
1314

1415
from .const import DOMAIN, PANEL_URL, PANEL_NAME, PANEL_ICON, VERSION
1516
from .panel_api import async_register_views
1617
from .services import async_register_services, async_unregister_services
1718

1819
_LOGGER = logging.getLogger(__name__)
1920

21+
CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)
22+
2023

2124
async def async_setup(hass: HomeAssistant, config: dict) -> bool:
2225
hass.data.setdefault(DOMAIN, {})
85.3 KB
Loading
85.3 KB
Loading

custom_components/orphan_cleaner/const.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@
4747
PANEL_ICON = "mdi:broom"
4848

4949
# Versione corrente (usata per cache-busting)
50-
VERSION = "2.2.3"
50+
VERSION = "2.2.4"

custom_components/orphan_cleaner/frontend/panel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
<svg viewBox="0 0 24 24"><path d="M19.36 2.72 20.78 4.14l-1.4 1.41 1.41 1.41-4.24 4.24-1.41-1.41-6.89 6.9a4 4 0 0 1-1.2 4.71l-2.83 2.12-1.41-1.41 2.12-2.83a2 2 0 0 0 .27-2.1l-.27-.42L3 15.36l1.41-1.41 1.42 1.42 5.65-5.66-1.41-1.41 4.24-4.24 1.41 1.41z"/></svg>
214214
</div>
215215
<div>
216-
<div class="topbar-title">Orphan Entity Cleaner <span style="font-size:11px;font-weight:400;color:var(--text2);margin-left:6px">v2.2.3</span></div>
216+
<div class="topbar-title">Orphan Entity Cleaner <span style="font-size:11px;font-weight:400;color:var(--text2);margin-left:6px">v2.2.4</span></div>
217217
<div class="topbar-sub">Home Assistant Integration — orphan entity cleanup</div>
218218
</div>
219219
<div class="topbar-spacer"></div>

custom_components/orphan_cleaner/manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"domain": "orphan_cleaner",
33
"name": "Orphan Entity Cleaner",
4-
"version": "2.2.3",
4+
"version": "2.2.4",
55
"documentation": "https://github.com/Franz646/orphan-cleaner",
66
"issue_tracker": "https://github.com/Franz646/orphan-cleaner/issues",
77
"codeowners": [
88
"@Franz646"
99
],
1010
"requirements": [],
11+
"dependencies": ["http"],
1112
"iot_class": "local_push",
1213
"config_flow": true,
1314
"integration_type": "service"

0 commit comments

Comments
 (0)