---
title: Entities
description: All entities exposed to Home Assistant
previous: /setup
previousTitle: Setup
next: /device-triggers
nextTitle: Device Triggers
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.page/greghesp/ha-bambulab/llms.txt
> Use this file to discover all available pages before exploring further.



## Fans

| Sensor        | Notes             |
| ------------- | ----------------- |
| Aux           |                   |
| Chamber       | Not on A1/A1 Mini |
| Cooling       |                   |
| Secondary aux | P2S, X2D, H3C     |

<Info>On the X2D these are named to match the printer screen: Part fan, Left aux fan, Right aux fan (secondary aux) and Exhaust fan (chamber).</Info>

<Info>On the H3C these are named Part fan, Right aux fan, Left aux fan, Exhaust fan and Chamber fan.</Info>

## Temperatures

| Sensor           | Notes   |
| ---------------- | ------- |
| Bed              |         |
| Target Bed       |         |
| Chamber          | P2/X1/H2/H3C/X2D |
| Target Chamber   | X1E/H2/H3C/X2D |
| Nozzle(s)        | Three on dual-nozzle printers (left, right, and active nozzle) |
| Target Nozzle(s) | Three on dual-nozzle printers (left, right, and active nozzle) |

## Print Data and Progress

| Sensor            | Notes                                              |
| ----------------- | -------------------------------------------------- |
| Current Layer     |                                                    |
| Total Layer Count |                                                    |
| Print Progress    |                                                    |
| Print Weight      | With Bambu credentials or when loaded from printer |
| Print Length      | With Bambu credentials or when loaded from printer |
| Print Bed Type    | Bed choice in the print job                        |
| Start Time        | Simulated - more accurate with Bambu credentials   |
| Remaining Time    |                                                    |
| End Time          |                                                    |
| Current Stage     | `planned_stages`, `step`, `total_steps` attributes: the start-up stages the printer plans to run and the 1-based position of the current one |
| Print Status      |                                                    |
| Task Name         | `ams_mapping` attribute: AMS unit id and tray per slicer filament |
| Cover Image       | With Bambu credentials or when loaded from printer |
| Total Usage Hours | \* See Note                                        |

<Info>
\* This is a running estimate that will be imprecise. Starting hours can be read of the printer screen and provided during initial printer setup or updated later via the configuration flow. And the integration must be running when a print completes to update the value. For non-X1 printers, if the integration is restarted mid-print and Bambu cloud connection isn't setup, the usage hours will not be added as print start time won't be known, unless the integration was running when that print started (see below). It's expected that you'll need to adjust this value occasionally to fix drift from the value the printer itself calculates.
</Info>

<Info>
**Per-tray Print Weight / Print Length after a restart.** The Print Weight and Print Length attributes split the usage per AMS tray. Which tray each slicer filament went to is only sent by the printer when a print starts. If Home Assistant restarts mid-print the integration recovers it from:
- the `mapping` the printer reports in its full status, on newer firmware, or
- `prints/active_print_job.json` in the file cache, written when the integration saw the print start. It is only used when the task name, task id and plate of the running print match.

If neither is available, for example when a multi-filament print was started while Home Assistant was down on older firmware, the totals are still reported but not the per-tray split.
</Info>

## Miscellaneous

| Sensor                   | Notes |
| ------------------------ | ----- |
| Nozzle Diameter(s)       | Three on dual-nozzle printers (left, right, and active nozzle) |
| Nozzle Type(s)           | Three on dual-nozzle printers (left, right, and active nozzle) |
| Active Nozzle            | Left or right. Dual nozzle printers only |
| Speed Profile            |       |
| Timelapse Active         |       |
| Extruder Filament Status | Also left and right on dual-nozzle printers |
| Filament Change Status   | Current filament load/unload step, including from the external spool |
| Track Switch Input 1/2   | Filament Track Switch only. Nozzle each input feeds, with the loaded filament as attributes |
| Airduct Mode             | Current airduct mode: Cooling, Heating, or Laser. P2S/H2/H3C/X2D |
| Tool Module State        | Current mounted tool (H2D exclusive): none, laser, cutter or unavailable |
| Laser/Cutter Material    | Material selected for the current or last laser/cutter job |
| Laser Check-in Remaining | Seconds until the printer pauses unless you check in at the printer. Only available while lasering a material that needs check-ins (e.g. acrylic) |


## Controls

| Control             | Notes                                                      |
| ------------------- | ---------------------------------------------------------- |
| Chamber Light       |                                                            |
| Heatbed Light       | H2 series and H3C; initial state unknown until a command is observed |
| Pause               |                                                            |
| Resume              |                                                            |
| Stop                |                                                            |
| Bed temperature     | On P1/A1 this is not available in hybrid connection mode\* |
| Chamber temperature | X1E/H2/H3C/X2D. Integration limit: 60°C on X1E, 65°C on the others |
| Nozzle temperature  | On P1/A1 this is not available in hybrid connection mode\* |
| Buzzer controls     | H2D only, allows to set one of 3 modes                     |
| Airduct Mode        | Switch airduct modes on P2S/H2/H3C/X2D                     |
| Allow Prompt Sound  | A1/A2L/H2/H3C/P2S/X2D                                    |

<Info>\* Hybrid connection mode is when you are connected to the local printer mqtt for a non-Lan Mode printer.</Info>
<Warning>If you are running the latest X1 firmware with Bambu Authorisation, the only functional control is the Chamber Light</Warning>


## AMS

| Sensor            | Notes          |
| ----------------- | -------------- |
| Active tray       | If AMS present or dual nozzle |
| Active tray index | If AMS present |
| Drying            | AMS 2 Pro/AMS HT/AMS 3H |
| Connected nozzle  | Dual-nozzle printers only: Left or Right. Through a Filament Track Switch, the nozzle its loaded filament is routed to, otherwise Track switch |


| Sensor                | Notes                 |
| --------------------- | --------------------- |
| Humidity Index        |                       |
| Status                | Filament change step  |
| Humidity              | P1/P2/X1/H2 only      |
| Temperature           | P1/P2/X1/H2 only      |
| Remaining drying time | AMS 2 Pro/AMS HT/AMS 3H |
| Drying temperature    | AMS 2 Pro/AMS HT only |
| Drying duration       | AMS 2 Pro/AMS HT only |
| Drying filament       | AMS 2 Pro/AMS HT only |
| Tray 1                |                       |
| Tray 2                |                       |
| Tray 3                |                       |
| Tray 4                |                       |

AMS 3H exposes temperature and humidity for both zones. Zone sensor attributes
include the associated slots and drying settings. The remaining drying time and
drying binary sensors describe the whole AMS. It exposes up to nine trays.

| Tray attributes:    | Notes      |
| ------------------- | ---------- |
| Color               |            |
| Empty               | `true` when no spool is in the slot, or the tray is loading / scanning (RFID motion). See note below. |
| Unknown             | `true` when a spool is loaded but `tray_type` is not set — sensor state shows `?`, matching the printer UI. |
| State               | Raw MQTT tray `state` integer (bitmask). Diagnostic; used internally. |
| K Value             | P1/A1 only |
| Name                | Filament display name, `Empty`, or `?` |
| Nozzle max temp     |            |
| Nozzle min temp     |            |
| Remaining Filament  |            |
| Spool serial number |            |
| Type                | Filament type (e.g. `PLA`), `Empty`, or `?` |

<Info>
**Empty vs unknown:** These are different from the sensor **state** string.

- **`empty: true`** — no usable spool (slot empty, feeding, or RFID scan in progress).
- **`empty: false`, `unknown: true`** — spool is present but not configured (`?` on the printer). Typical after inserting an unprofiled spool or using **Clear** in filament settings while the spool stays loaded.
- **`empty: false`, `unknown: false`** — spool present with a correct profile.
</Info>

### External AMS heater or dryer (SUNLU AMS Heater, EIBOS Series X)

Add-on heated lids and dryers such as the [SUNLU AMS Heater](https://store.sunlu.com/products/sunlu-ams-heater-upgraded-your-bambu-ams-save-an-ams-2pro-for-you) and the [EIBOS Series X](https://shop.eibos3d.com/products/eibos-filament-dryer-series-x-tetras) (Dyas/Tetras) have no network connection and never report to the printer. ha-bambulab can still run one by switching the smart plug it is powered from, using the AMS's own humidity and temperature readings.

To set it up, plug the heater into a smart plug that Home Assistant can switch, and set the heater or dryer to start heating whenever it gets power. Then open the integration's **Configure** dialog, pick **External AMS heater or dryer (smart plug)**, and choose the plug for each AMS that has a heater fitted. These entities are added to that AMS:

| Entity                    | Notes |
| ------------------------- | ----- |
| Heater drying mode        | While on, the plug is switched automatically. Turning it off switches the heater off and hands the plug back to manual control. Attributes: `heater_plug`, `last_reason`, `runtime_lockout`. |
| Heater power              | Mirrors and switches the plug. While drying mode is on, the next printer update can override a manual change. |
| Heater turn-on humidity   | Heating starts at or above this AMS humidity (default 40%). |
| Heater turn-off humidity  | Heating stops at or below this AMS humidity (default 25%). Must be lower than the turn-on humidity. |
| Heater temperature cutoff | The heater is switched off while the AMS temperature is at or above this (default 60 °C). Only added when the printer reports AMS temperature. |
| Heater maximum runtime    | The heater is switched off after running this long (default 12 h, 0 = no limit). It then stays off until the AMS dries to the turn-off humidity or drying mode is switched on again. The runtime is counted from when the plug last turned on, so a Home Assistant restart or the plug dropping offline restarts the count. |

The heater is also switched off whenever the printer is offline, the AMS humidity isn't reported, the plug is unlinked, or the integration is unloaded while drying. Automatic control needs the AMS **Humidity** sensor in percent, listed above. The heater's own controls still set its heating temperature. On the EIBOS Series X, the plug powers all chambers together, so per-chamber temperature and humidity settings stay on the dryer itself.

## External Spool

| Sensor         | Notes |
| -------------- | ----- |
| External Spool |       |

| Attributes:     | Notes      |
| --------------- | ---------- |
| Active          | `true` while this slot is feeding the printer |
| Color           |            |
| Empty           | `true` when no filament is set on the holder. A loaded spool that isn't feeding stays `false`; see Active. |
| Unknown         |            |
| State           |            |
| K Value         | P1/A1 only |
| Name            |            |
| Nozzle max temp |            |
| Nozzle min temp |            |
| Type            |            |

## Filament Inventory

| Sensor              | Notes                                                                 |
| ------------------- | --------------------------------------------------------------------- |
| Filament Inventory  | Opt-in sensor exposing account-level Bambu Filament Manager spools. Requires Bambu Cloud authentication. |

The filament inventory sensor exposes your Bambu account's entire spool collection from the Filament Manager. State represents the total number of spools.

| Attributes:         | Notes                                                              |
| ------------------- | ------------------------------------------------------------------ |
| spools              | List of all spools with detailed information (see below)           |
| groups              | Spools grouped by vendor and name, mirroring slicer's grouped view |
| total_remaining_g   | Total remaining grams across all spools                            |

### Spool Attributes

Each spool in the `spools` list contains:

| Field            | Notes                                                                           |
| ---------------- | ------------------------------------------------------------------------------- |
| id               | Internal spool identifier                                                       |
| rfid             | RFID tag value for Bambu-branded spools                                         |
| vendor           | Filament vendor/manufacturer                                                    |
| name             | Filament product name                                                           |
| type             | Filament type (e.g., PLA, PETG, ABS)                                            |
| filament_id      | Bambu's filament database ID                                                    |
| color            | Hex color code (e.g., `#FFFFFFFF`)                                              |
| colors           | List of hex color codes (empty list for manually-added spools)                  |
| color_type       | `2` for solid colors, `0` for gradient/dual colors                              |
| remaining_g      | Remaining filament weight in grams                                              |
| total_g          | Original total weight in grams                                                  |
| remaining_pct    | Remaining percentage (0-100)                                                    |
| tray_id_name     | Associated tray identifier                                                      |
| note             | Freeform user notes                                                             |
| updated_at       | Unix timestamp of last update                                                   |

### Group Attributes

Each group in the `groups` list contains:

| Field              | Notes                                           |
| ------------------ | ----------------------------------------------- |
| vendor             | Vendor name for this group                      |
| name               | Product name for this group                     |
| count              | Number of spools in this group                  |
| total_remaining_g  | Total remaining grams for spools in this group  |
| spools             | List of spool objects belonging to this group   |

<Info>
**Known data limitations:** The Bambu Cloud API does not provide filament diameter (e.g., 1.75mm), human-readable color names (e.g., "Grass Green"), or 5-digit SKU codes. Only hex color values are available.
</Info>

<Info>
The integration does not create alert sensors for low filament. You can build custom template sensors for notifications. For example, to count spools below 100g:

```yaml
template:
  - sensor:
      - name: "Spools below 100g"
        state: >-
          {{ state_attr('sensor.x1c_filament_inventory', 'spools')
             | selectattr('remaining_g', 'lt', 100) | list | count }}
```
</Info>

## Hotend Rack

H2C (Vortek system) and H3C (Swaptek system).

The H3C exposes nine PrintTool sensors, each with temperature, target
temperature and print-time sensors. Its Swaptek position and status are exposed
as raw diagnostic values. The H2C entities are listed below.

The H3C rack has Raise rack and Lower rack buttons. They’re available when MQTT
control is unsigned, the printer and rack report idle, and no move is pending.
The printer may home the rack and move the toolhead before the requested move.

| Sensor                 | Notes                                      |
| ---------------------- | ------------------------------------------ |
| Hotend 1-6             | Mounted, Docked, or Empty                  |
| Hotend 1-6 used time   | Total nozzle printing time, shown in hours |

| Hotend attributes: | Notes                            |
| ------------------ | -------------------------------- |
| Slot               | Slot number (1-6)                |
| Nozzle type        | e.g. Hardened steel, High flow stainless steel |
| Nozzle diameter    |                                  |
| Serial             |                                  |
| Max temperature    |                                  |
| Wear               |                                  |
| Status             | Normal, Abnormal, or Unknown     |
| Color              |                                  |
| Filament ID        |                                  |
| Filament name      |                                  |

When a slot is empty, all attributes are set to `None`.

| Diagnostic sensor  | Notes                                                                    |
| ------------------ | ------------------------------------------------------------------------ |
| Holder position    | Unknown, Position A, Position B, Centre                                  |
| Holder state       | Idle, Centering hotend, Centering toolhead, Calibrating rack, Cutting material, Unlocking hotend, Lifting rack, Placing hotend, Picking hotend, Locking hotend |

## E1 Air Purifier

When an E1 is connected, it appears as a separate device linked to the printer.
It exposes an air purifier fan with Auto, Silent, Standard and Max modes, a
PM2.5 sensor in µg/m³, and a fan speed sensor in rpm. The fan
entity also exposes raw filter telemetry as attributes; their units have not
been confirmed. Fan control requires unsigned MQTT commands. Use the preset
selector to choose a mode; percentage-based fan speed control is not supported.

## Diagnostics

| Sensor                    | Notes                                                          |
| ------------------------- | -------------------------------------------------------------- |
| Developer Lan Mode        | Does the printer have Developer Lan Mode enabled?              |
| Enclosure Door            | X1/P2/H2/H3C/X2D                               |
| Top Cover                 | H2 series (top glass lid)                      |
| Firmware Update Available |                                                                |
| Force Refresh             |                                                                |
| HMS Errors                | Attributes contain the error codes, descriptions and wiki URLs |
| IP Address                |                                                                |
| MQTT connection mode      | Bambu Cloud or Local                                           |
| MQTT Encryption Firmware  | Is the printer running firmware that requires mqtt encryption? |
| Online                    |                                                                |
| Print Error               | Has a print error been reported?                               |
| SD Card Status            | Reported state of the SD card                                  |
| Total Usage               | Running count of total usage hours                             |
| Wifi Signal               |                                                                |

## Cameras

| Sensor  | Notes                                                           |
| ------- | --------------------------------------------------------------- |
| Chamber | P1/A1/A1Mini - need the host IP providing                       |
|         | X1    - Make sure to enable "LAN Mode LiveView" on your printer |

On P1/A1 printers the chamber image is pushed by the printer rather than pulled
on demand, so the connection stays open for as long as the printer is
connected. The camera entity therefore supports `camera.turn_on` and
`camera.turn_off`: turning it off stops the image stream and leaves the entity
`idle`, and image requests fail until it is turned back on. This is useful to
keep the printer link quiet between prints - for example turn the camera on
when the print status becomes `running` and off again when it is `finish` or
`failed`. The state is not persisted, so after a restart the camera follows the
"Enable camera" option of the integration.

## MakerWorld

A MakerWorld profile belongs to the same Bambu Lab account the cloud connection
already signs into, so these are created automatically when the integration is
set up with Bambu credentials and the account has a MakerWorld profile. They
live on their own `MakerWorld (<name>)` device rather than on a printer, and are
polled every 15 minutes.

| Sensor           | Notes                                                                 |
| ---------------- | --------------------------------------------------------------------- |
| Points           | Your points balance, as shown on the MakerWorld points page            |
| Points earned    | Lifetime points earned - use this one for daily/monthly statistics     |
| Boosts received  | Boosts your models have been given, all time                            |
| Boost tokens     | Boost tokens currently available to give out                           |
| Downloads        | Downloads of your models, the figure your profile page shows           |
| Prints           | Prints of your models, the figure your profile page shows              |
| Published models | Number of models you have published                                    |
| Likes            |                                                                       |
| Collects         |                                                                       |
| Followers        |                                                                       |
| Level            | Attributes contain the profile name and URL                            |

The following are disabled by default - enable them in Home Assistant if you
want them: Points spent, Exclusive points, Boosts used, Boosts expired, Print
profile downloads, Print profile prints, Downloads incl. print profiles, Prints
incl. print profiles, Following.

<Info>
MakerWorld counts a print profile - which may sit on someone else's model -
separately from the model itself, and your profile page shows only the model
half. The default Downloads and Prints sensors match the page; the "incl. print
profiles" sensors add the other half, a figure MakerWorld does not display
anywhere.
</Info>

<Info>
With several printers on one Bambu Lab account these sensors are created once,
by whichever printer's config entry was added first - the numbers describe the
account, not a printer.
</Info>

<Info>
These come from the account's own MakerWorld profile, which needs the cloud
token. If that call is rejected the integration falls back to the public
creator profile, which carries the same counts but no points and no boosts -
those sensors then report unavailable while the rest keep working.
</Info>

### Live view camera select (BirdsEye)

On supported H3C printers with a BirdsEye camera, the **Live view camera** select offers Main camera and BirdsEye camera. Switching changes the view of the existing camera stream, not a second stream. The MQTT signature requirement for speed and airduct controls does not block this select.
