Skip to content

Commit 7b109b0

Browse files
JohannJohann
authored andcommitted
fix: add network to dependencies, add CONFIG_SCHEMA for hassfest
1 parent d080800 commit 7b109b0

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

custom_components/nida/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed
1616
from homeassistant.helpers.event import async_track_time_change
1717

18+
import homeassistant.helpers.config_validation as cv
19+
CONFIG_SCHEMA = cv.config_entry_only_config_schema("nida")
20+
1821
from .const import (
1922
DOMAIN, CONF_CITY, CONF_COUNTRY, CONF_METHOD,
2023
CONF_PLAY_METHOD, CONF_FAJR_SPEAKER, CONF_FAJR_VOLUME, CONF_FAJR_SOUND,

custom_components/nida/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"@joohann"
66
],
77
"config_flow": true,
8-
"dependencies": [],
8+
"dependencies": ["network"],
99
"documentation": "https://github.com/joohann/Nida",
1010
"iot_class": "cloud_polling",
1111
"issue_tracker": "https://github.com/joohann/Nida/issues",
1212
"loggers": [
1313
"nida"
1414
],
1515
"requirements": [],
16-
"version": "1.0.1"
17-
}
16+
"version": "1.0.8"
17+
}

0 commit comments

Comments
 (0)