List Services
home_assistant.list_services
ActionBusiness appsconnection required
Calls the Home Assistant API with the connection's credentials.
List the services each domain offers, with their fields.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- Home Assistant
- Secret shape
- the long-lived access token, or {"access_token": "…"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
domain Keep only this domain, for example 'light'. Blank returns them all. | string | No | — | — | light |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"domain": "light"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items The objects Home Assistant returned, in its own order. | array | — |
count How many objects are in `items`. | number | — |
service_ids Every service as '<domain>.<service>'. | array | — |
service_count How many services `service_ids` holds. | number | — |
{
"count": 0,
"items": [],
"service_count": 0,
"service_ids": []
}Related Home Assistant nodes
See List Services run in a workflow.
In a technical demo we add the Home Assistant connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.