Get Config

home_assistant.get_config
ActionBusiness appsconnection required

Calls the Home Assistant API with the connection's credentials.

Read the instance's configuration: version, location, units and more.

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

This node takes no configuration beyond its connection.

Output

One shape.

result

FieldTypeExample
version
The Home Assistant version running.
string—
location_name
The name given to this installation.
string—
time_zone
The instance's IANA time zone.
string—
latitude
The installation's latitude.
number—
longitude
The installation's longitude.
number—
elevation
The installation's elevation in metres.
number—
unit_system
The unit system: length, mass, temperature…
object—
components
The integrations currently loaded.
array—
config_dir
Where configuration.yaml lives on the host.
string—
state
The core's state, for example 'RUNNING'.
string—
currency
The configured currency code.
string—
country
The configured country code.
string—
language
The configured language code.
string—
external_url
The instance's external URL, if set.
string—
internal_url
The instance's internal URL, if set.
string—
{
  "components": [],
  "config_dir": "",
  "country": "",
  "currency": "",
  "elevation": 0,
  "external_url": "",
  "internal_url": "",
  "language": "",
  "latitude": 0,
  "location_name": "",
  "longitude": 0,
  "state": "",
  "time_zone": "",
  "unit_system": {},
  "version": ""
}

See Get Config 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.