Moved API from action to property view

This commit is contained in:
samuelmcdermott 2020-10-13 12:39:17 +01:00
parent e886e9db28
commit 86d866c5f9
5 changed files with 30 additions and 23 deletions

View file

@ -39,11 +39,6 @@ _actions = {
"view_class": stage.ZeroStageAPI,
"conditions": True,
},
"setStage": {
"rule" : "/stage/type/",
"view_class": stage.StageTypeAPI,
"conditions": True,
},
"shutdown": {
"rule": "/system/shutdown/",
"view_class": system.ShutdownAPI,