Update 85.1 and Sonoff IFAN ERROR

Hey,

As of the new update, I get unavailable on my Sonoff Fan. Logs dont output anything.
Tasmota 6.4.1 with core 2.3.0 (6.4.1 also doesnt work)

Config:

  - platform: mqtt
name: "Master Bedroom Fan"
command_topic: "cmnd/sonoff_MBR_fan/FanSpeed"
speed_command_topic: "cmnd/sonoff_MBR_fan/FanSpeed"
state_topic: "stat/sonoff_MBR_fan/RESULT"
speed_state_topic: "stat/sonoff_MBR_fan/RESULT"
state_value_template: "{% if value_json.FanSpeed == 0 -%}0{%- elif value_json.FanSpeed > 0 -%}4{%- endif %}"
speed_value_template: "{{ value_json.FanSpeed }}"
availability_topic: tele/sonoff_MBR_fan/LWT
payload_off: "0"
payload_on: "1"
payload_low_speed: "1"
payload_medium_speed: "2"
payload_high_speed: "3"
payload_available: Online
payload_not_available: Offline
speeds:
  - low
  - medium
  - high

If you turned on discovery in Tasmota, the topic/prefix has changed order.
What do you see if you go into the console for the fan?

Darn, this gave me such a headache… just moved the topic to the front of the xxx_topic and now it works.

Didnt really make sense to have auto discovery on btw on the FAN, only exposes switches…

Thanks so much!

1 Like