Home Automation Pack
★Trusted◇Sandbox optionalv1.0.0MIT○Partially Verified45by AgentNode · published 6 months ago · toolpack
Control smart home devices via Home Assistant.
Interact with Home Assistant to control lights, thermostats, locks, cameras, and sensors. Supports automations, scenes, and device status queries.
Quick Start
agentnode install home-automation-packRuns in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.
Usage
From packagefrom home_automation_pack.tool import run
# Turn on living room lights at 70% brightness
result = run(
action="home_control",
operation="set_state",
entity_id="light.living_room_main",
state="on",
attributes={"brightness": 178, "color_temp": 370}
)
print(f"Light: {result['entity_id']} -> {result['state']}")
# Set thermostat to 72F
result = run(
action="home_control",
operation="set_state",
entity_id="climate.main_floor",
state="heat",
attributes={"temperature": 72}
)
print(f"Thermostat: {result['state']}, target {result['attributes']['temperature']}F")
# Get all device states in the living room
devices = run(
action="home_control",
operation="get_states",
area="living_room"
)
for device in devices["entities"]:
print(f" {device['friendly_name']}: {device['state']}")Environment Variables
HOME_ASSISTANT_URLHome Assistant instance URL (e.g., http://192.168.1.100:8123)
HOME_ASSISTANT_TOKENHome Assistant long-lived access token (Profile > Long-Lived Access Tokens)
Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works
Verification
Package installs and imports correctly. requires API credentials for full verification.
This package requires API credentials for full verification. Install and import checks passed.
Verified in real_auto mode
Last verified 16d ago· Runner v2.0.0
Use this when you need to...
- ›Turn off all living room lights at a scheduled time
- ›Set thermostat temperature based on weather forecast data
- ›Lock all doors and arm the security system via a single command
- ›Monitor garage door status and send alerts when left open
- ›Create automation scenes that adjust lights, blinds, and music together
README
Version History
Capabilities
Input Schema
{
"type": "object",
"required": [
"operation"
],
"properties": {
"token": {
"type": "string",
"default": ""
},
"ha_url": {
"type": "string",
"default": ""
},
"operation": {
"enum": [
"list_entities",
"get_state",
"turn_on",
"turn_off",
"call_service"
],
"type": "string"
}
}
}Permissions
Declared by the publisher. Checked before execution by the policy gate.
Permissions are policy-checked before execution. For trusted and curated packages that run on the host, network and filesystem access are policy-checked but not OS-sandboxed. When runtime isolation is required for untrusted/community code, AgentNode uses sandbox-or-fail-closed if the required container runtime and pinned image are available. Learn more
Privacy
All tool execution happens locally on your machine. AgentNode never receives:
- • Tool inputs or outputs
- • Execution logs
- • Data your agent processes
Only install events and search queries are sent to the registry.
agentnode install home-automation-packEnvironment Variables
HOME_ASSISTANT_URLrequiredHOME_ASSISTANT_TOKENrequiredFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode