orion_create_subscription
Create a subscription to receive notifications when entity attributes change. Specify entity type, watched attributes, and notification endpoint.
Instructions
Create a subscription to receive notifications when entities change.
Args: entity_type: Entity type to watch (e.g. 'Camera'). watched_attrs: List of attribute names that trigger notification. notification_url: HTTP endpoint to receive POST notifications. id_pattern: Optional regex to filter by entity ID. description: Human-readable description.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_type | Yes | ||
| watched_attrs | Yes | ||
| notification_url | Yes | ||
| id_pattern | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |