feat(x4): add per-camera manual wake and hide power action when connected
This commit is contained in:
@@ -223,7 +223,7 @@ class Broker:
|
||||
return {"items": [self.item(item, node) for item in snapshots]}
|
||||
if method == "POST" and route == "/operation":
|
||||
identifier = value["session"]["device_id"]
|
||||
if value.get("action_id") == "recovery.configure" and self.recovery:
|
||||
if value.get("action_id") in ("recovery.configure", "power.wake") and self.recovery:
|
||||
return self.recovery.operation(identifier, value)
|
||||
if value.get("action_id") == "preview.stop" and self.recovery:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user