mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
This commit is contained in:
parent
ec3dc3dd16
commit
7ee741d424
@ -519,9 +519,7 @@ async def async_load_config(
|
|||||||
|
|
||||||
This method is a coroutine.
|
This method is a coroutine.
|
||||||
"""
|
"""
|
||||||
dev_schema = vol.All(
|
dev_schema = vol.Schema(
|
||||||
cv.deprecated(CONF_AWAY_HIDE, invalidation_version="0.107.0"),
|
|
||||||
vol.Schema(
|
|
||||||
{
|
{
|
||||||
vol.Required(CONF_NAME): cv.string,
|
vol.Required(CONF_NAME): cv.string,
|
||||||
vol.Optional(CONF_ICON, default=None): vol.Any(None, cv.icon),
|
vol.Optional(CONF_ICON, default=None): vol.Any(None, cv.icon),
|
||||||
@ -536,7 +534,6 @@ async def async_load_config(
|
|||||||
cv.time_period, cv.positive_timedelta
|
cv.time_period, cv.positive_timedelta
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
),
|
|
||||||
)
|
)
|
||||||
result = []
|
result = []
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user