Get an ESPHome device's HA entities
esphome_get_device_entitiesRetrieve every Home Assistant entity exposed by one ESPHome device and view their current states. Use it to inspect a specific device's entities when you know its name.
Instructions
Get every HA entity belonging to one ESPHome device.
Slugifies device_name (lowercase, spaces/dashes to underscores) and, if
a device-registry entry's own slugified name matches, matches entities by
that device's device_id (precise: immune to one device's slug being a
substring of another's). Falls back to matching entity registry entries
whose platform is "esphome" and whose entity_id contains the slug
when no device-registry entry matches (or that lookup fails).
Use when: inspecting a specific device's exposed entities and their
current state.
Not for: the device list itself — use esphome_list_devices.
Returns: list of {"entity_id", "name", "domain", "state", "attributes", "disabled"} dicts.
Errors: [{"error": str(e)}] when reading the entity registry or
states raises.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_name | Yes | Device name as used in HA, e.g. 'Kitchen Sensor' or 'kitchen_sensor' (matched case-insensitively against a slugified form). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |