Skip to content

Commit 2c8217d

Browse files
authored
Merge branch 'main' into codex/identify-issues-and-propose-fixes
2 parents c8987c2 + 2a939bb commit 2c8217d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

custom_components/dpc/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import asyncio
1010
from datetime import timedelta
1111

12+
import homeassistant.helpers.config_validation as cv
1213
from homeassistant.config_entries import ConfigEntry
1314
from homeassistant.const import (
1415
CONF_LATITUDE,
@@ -39,6 +40,7 @@
3940
CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)
4041

4142

43+
4244
async def async_setup(hass: HomeAssistant, config: ConfigType):
4345
"""Set up this integration using YAML is not supported."""
4446
return True

custom_components/dpc/string.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"step": {
2525
"user": {
2626
"title": "DPC Options",
27-
"description": "Minimum level of warning.: 1 (green/no warning), 2 (yellow / ordinary), 3 (orange / moderate), 4 (red / high). By selecting the minimum alert level, the sensor will be active only if the level is greater or equal to the one chosen. ",
27+
"description": "Minimum level of warning.: 1 (green/no warning), 2 (yellow / ordinary), 3 (orange / moderate), 4 (red / high). By selecting the minimum alert level, the sensor will be active only if the level is greater or equal to the one chosen.",
2828
"data": {
2929
"binary_sensor": "Binary sensor enabled",
3030
"sensor": "Sensor enabled",
@@ -36,4 +36,4 @@
3636
}
3737
}
3838
}
39-
}
39+
}

0 commit comments

Comments
 (0)