Skip to content

Commit

Permalink
Fix issue Depreation warning 2024.9.0 #185
Browse files Browse the repository at this point in the history
  • Loading branch information
rgc99 committed Sep 14, 2024
1 parent ccfd3bd commit 1d52d09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/irrigation_unlimited/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def _parse_dd_mmm(value: str) -> date | None:
}

TIME_ADJUST_SCHEMA = vol.All(
vol.Schema(
cv.make_entity_service_schema(
{
vol.Required(CONF_ENTITY_ID): cv.entity_ids,
vol.Exclusive(
Expand Down Expand Up @@ -422,7 +422,7 @@ def _parse_dd_mmm(value: str) -> date | None:
}

SUSPEND_SCHEMA = vol.All(
vol.Schema(
cv.make_entity_service_schema(
{
vol.Required(CONF_ENTITY_ID): cv.entity_ids,
vol.Exclusive(CONF_FOR, "time_method"): cv.positive_time_period_template,
Expand Down

0 comments on commit 1d52d09

Please sign in to comment.