Skip to content

Commit

Permalink
Dev (#16)
Browse files Browse the repository at this point in the history
* Properly add Sequence schema for script

* Version Bump
  • Loading branch information
Sian-Lee-SA authored Dec 3, 2022
1 parent ea6939c commit b35140c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/switch_manager/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"domain": "switch_manager",
"name": "Switch Manager",
"version": "0.0.7",
"version": "0.0.8",
"documentation": "https://github.com/Sian-Lee-SA/switch_manager",
"dependencies": ["panel_custom", "websocket_api", "http", "frontend", "script", "mqtt"],
"requirements": [],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/switch_manager/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__( self, hass: HomeAssistant, switch_id, button_index, index, bluepri
if self.active:
self.script = Script(
hass=self._hass,
sequence=self.sequence,
sequence=cv.SCRIPT_SCHEMA(self.sequence),
name=f"{DOMAIN}_{switch_id}_{button_index}_{index}",
domain=DOMAIN,
logger=LOGGER,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "switch_manager",
"private": true,
"version": "0.0.7",
"version": "0.0.8",
"description": "Home Assistant Frontend for Switch Manager",
"scripts": {
"build": "rollup -c",
Expand Down

0 comments on commit b35140c

Please sign in to comment.