Files
python_example/pack.yaml
David Culbreth f3c159913e Initial commit: Python Example Pack for Attune
Includes:
- 3 Python actions (hello, http_example, read_counter)
- 1 counter trigger type
- 1 counter sensor (Python, keystore-backed, per-rule state)
- 1 example rule (count_and_log)
- requirements.txt with requests and pika
- README with full usage documentation
2026-02-11 08:18:43 -06:00

54 lines
1.1 KiB
YAML

# Python Example Pack
# Demonstrates Python actions, sensors, triggers, and keystore integration
ref: python_example
label: "Python Example Pack"
description: "Example pack demonstrating Python actions, a counter sensor with keystore integration, and HTTP requests"
version: "1.0.0"
author: "Attune Team"
email: "support@attune.io"
system: false
enabled: true
# Pack configuration schema
conf_schema:
type: object
properties:
counter_key_prefix:
type: string
description: "Prefix for counter keys in the keystore"
default: "python_example.counter"
# Default pack configuration
config:
counter_key_prefix: "python_example.counter"
# Pack metadata
meta:
category: "examples"
keywords:
- "python"
- "examples"
- "counter"
- "sensor"
- "keystore"
- "http"
python_dependencies:
- "requests>=2.28.0"
- "pika>=1.3.0"
documentation_url: "https://github.com/attune-automation/pack-python-example"
repository_url: "https://github.com/attune-automation/pack-python-example"
# Tags for categorization
tags:
- python
- examples
- counter
- sensor
- http
# Runtime dependencies
runtime_deps:
- python3