Skip to content

Commit

Permalink
Update entity schema validation
Browse files Browse the repository at this point in the history
  • Loading branch information
xconverge authored Sep 5, 2024
1 parent 7ceee6f commit 3ffb3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/scheduler/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@


SERVICE_RUN_ACTION = "run_action"
RUN_ACTION_SCHEMA = vol.Schema(
RUN_ACTION_SCHEMA = cv.make_entity_service_schema(
{vol.Required(ATTR_ENTITY_ID): cv.entity_ids, vol.Optional(ATTR_TIME): cv.time, vol.Optional(const.ATTR_SKIP_CONDITIONS): cv.boolean}
)

Expand Down

0 comments on commit 3ffb3ac

Please sign in to comment.