Skip to content

Commit 56c4dbc

Browse files
authored
Merge pull request #375 from xconverge/patch-1
Update entity schema validation
2 parents 7ceee6f + 3ffb3ac commit 56c4dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/scheduler/switch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040

4141
SERVICE_RUN_ACTION = "run_action"
42-
RUN_ACTION_SCHEMA = vol.Schema(
42+
RUN_ACTION_SCHEMA = cv.make_entity_service_schema(
4343
{vol.Required(ATTR_ENTITY_ID): cv.entity_ids, vol.Optional(ATTR_TIME): cv.time, vol.Optional(const.ATTR_SKIP_CONDITIONS): cv.boolean}
4444
)
4545

0 commit comments

Comments
 (0)