MQTT Auto Discovery, fan device unhandled mode_state_template Topic is solved

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
User avatar
Didi
Posts: 17
Joined: Thursday 02 May 2019 21:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2026.4
Location: Netherlands
Contact:

MQTT Auto Discovery, fan device unhandled mode_state_template

Post by Didi »

Version: v2026.4
Platform: RaspberryPi 5 / Trixie
Plugin/Hardware: MQTT AD / IKEA Starkvind


Description:
After updating from 2026.3 to 2026.4 everything worked except the IKEA Starkvind airpurifier. When trying to change the Fan Mode in Domoticz trough the Selector Switch it now gives the following error in the log:

Error: MQTT AD: fan device unhandled mode_state_template (0x2c1165fffea62ad2_fan_zigbee2mqtt/0x2c1165fffea62ad2)

And control off the device is not posible. But all the info like air quality and pm2 value's are coming in. It's just not possible anymore to control the device.

When going to the Zigbee2MQTT page and i want to change the fan mode there it works and it changes the Fan Mode. Also the good fan modes are displayed on the Selector switch in Domoticz.

But when i want to change the fan mode trough Domoticz again, it gives the same error as above again.

This behavior was not present before the update to v2026.4, therefore i posted it here.

Is there a way to fix this?
Main: RPI-5 / Zigbee / Sonoff / RFLink433 / Camera's / Wifi / Custom Interface / Alarm / GPS / MQTT / MiLight
User avatar
gizmocuz
Posts: 3076
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: MQTT Auto Discovery, fan device unhandled mode_state_template

Post by gizmocuz »

Did you try upgrading to the latest beta version?
Always try this first
Quality outlives Quantity!
User avatar
Didi
Posts: 17
Joined: Thursday 02 May 2019 21:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2026.4
Location: Netherlands
Contact:

Re: MQTT Auto Discovery, fan device unhandled mode_state_template

Post by Didi »

gizmocuz wrote: Tuesday 17 November 2026 7:01 Did you try upgrading to the latest beta version?
Always try this first
I updated to v2026.4 (build 18645) and indeed i can control all again! This seems to fix it :D

Thank you so much for the quick reply!
Main: RPI-5 / Zigbee / Sonoff / RFLink433 / Camera's / Wifi / Custom Interface / Alarm / GPS / MQTT / MiLight
Post Reply