3 ms·
Oh come on, now that I have a personal remote control already set up using hooks, specifically the PermissionRequest, and Home Assistant push notifications wher
by moontear 7mo ago
Oh come on, now that I have a personal remote control already set up using hooks, specifically the PermissionRequest, and Home Assistant push notifications where I can allow or deny a specific action?
- tomashubelbauer 7mo agoTIL that HA notifications can have associated actions. I have the exact same setup as you, except I only receive the notification and then walk over to the laptop to unblock the agent feeling like a human tool call. This will improve my workflow, thank you.
- moontear 7mo agoThe notification payload for reference, you will also need a permission input_select (pending/allow/deny) and an automation that triggers upon mobile_app_notification_action: notification_payload=$(cat <<EOF { "message": "$escaped_message", "title": "$escaped_title", "data": { "tag": "$escaped_request_id", "group": "claude-code", "actions": [ { "action": "CLAUDE_ALLOW", "title": " Allow" }, { "action": "CLAUDE_DENY", "title": " Deny" } ] } } EOF ) Actionable notifications are a bit cumbersome on iOS since you need to long-press the notification for actions, but it does work.
- adamtaylor_13 7mo agoI'm trying to understand the setup you have here. So your hook -> HA -> push notification? And then you just tap to approve?
- moontear 7mo agoExactly that. And the push notification includes what I am approving. Also with some sensible delay in sending out these pushes, because otherwise I may be bombarded with push notifications, while already having it manually approved.