Koenkk / Koenkk/zigbee2mqtt

IKEA STARKVIND air purifier (E2007) fan percentage unavailable in auto mode breaks Powercalc

Open
#32,996 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

problem
Dominant language
TypeScript
Stars
15.7k
Forks
2k
Avg merge
18h 55m
Merged PRs (30d)
35

Description

What happened?

When using the IKEA STARKVIND air purifier (model E2007) in auto mode, the virtual power sensor created by Powercalc reports an "unknown / unavailable" state. This occurs because Home Assistant derives the fan entity's percentage attribute from fan_mode. In auto mode, however, this value is set to auto, causing the percentage value to drop even though the actual fan speed remains available via fan_speed (0-9).

What did you expect to happen?

The Powercalc sensor should continue to calculate and display valid power values based on the current fan speed (fan_speed) even when the air purifier is in auto mode, rather than becoming unavailable.

How to reproduce it (minimal and precise)

1: Pair the IKEA STARKVIND air purifier (E2007) with Home Assistant via Zigbee2MQTT.

2: Create a Powercalc sensor for the corresponding fan entity.

3: Switch the air purifier to auto mode (auto).

4: Observe that the percentage attribute becomes missing, causing the Powercalc sensor to go unavailable.

Zigbee2MQTT version

2.13.0-1

Adapter firmware version
Adapter
Setup
Device database.db entry

No response

Debug log

No response

Notes

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the IKEA STARKVIND E2007 device definition and inspect how auto mode exposes fan_mode, fan_speed, and the fan percentage value. Reproduce the device state through Zigbee2MQTT, then verify that auto mode preserves the available fan speed so the Powercalc sensor no longer becomes unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.