syssi / xiaomi_fan

Xiaomi Mi Smart Fan integration for Home Assistant
Apache License 2.0
428 stars 118 forks source link

fan.set_direction not working for dmaker.fan.p39 #212

Closed ryan13mt closed 1 year ago

ryan13mt commented 1 year ago

Although dmaker.fan.p39 is not mentioned in the list of supported devices it seems to work with all the features apart from the set_direction. The device makes a beep when receiving this command but nothing else happens.

This is the documentation of the device: https://home.miot-spec.com/spec?type=urn:miot-spec-v2:device:fan:0000A005:dmaker-p39:1

JoeTN commented 1 year ago

I have the same fan. May I ask how your configuration.yaml looks like ? If I try to configure mine like this, I see in the logs that it says "device not supported, please create issue", and then the fan doesn't show up in hass.

fan:

syssi commented 1 year ago

The device is supported now.