We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfcbbad commit 38d1817Copy full SHA for 38d1817
1 file changed
custom_components/periodic_min_max/const.py
@@ -1,23 +1,14 @@
1
"""Constants for periodic_min_max."""
2
3
-import json
4
from logging import Logger, getLogger
5
-from pathlib import Path
6
7
from homeassistant.const import Platform
8
9
LOGGER: Logger = getLogger(__package__)
10
11
MIN_HA_VERSION = "2025.10"
12
13
-manifestfile = Path(__file__).parent / "manifest.json"
14
-with open(file=manifestfile, encoding="UTF-8") as json_file:
15
- manifest_data = json.load(json_file)
16
-
17
-DOMAIN = manifest_data.get("domain")
18
-NAME = manifest_data.get("name")
19
-VERSION = manifest_data.get("version")
20
-ISSUEURL = manifest_data.get("issue_tracker")
+DOMAIN = "periodic_min_max"
21
CONFIG_VERSION = 1
22
23
PLATFORMS = [Platform.SENSOR]
0 commit comments