We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ceee6f + 3ffb3ac commit 56c4dbcCopy full SHA for 56c4dbc
custom_components/scheduler/switch.py
@@ -39,7 +39,7 @@
39
40
41
SERVICE_RUN_ACTION = "run_action"
42
-RUN_ACTION_SCHEMA = vol.Schema(
+RUN_ACTION_SCHEMA = cv.make_entity_service_schema(
43
{vol.Required(ATTR_ENTITY_ID): cv.entity_ids, vol.Optional(ATTR_TIME): cv.time, vol.Optional(const.ATTR_SKIP_CONDITIONS): cv.boolean}
44
)
45
0 commit comments