syssi / xiaomi_fan

Xiaomi Mi Smart Fan integration for Home Assistant
Apache License 2.0
422 stars 117 forks source link

Mi Standing Fan 2 (dmaker.fan.p18) some configuration properties are missing #200

Open oOWaXOo opened 2 years ago

oOWaXOo commented 2 years ago

Hi,

i added the fan succesfully to my Home Assistant instance. But i'm missing some functions that were succesfully tested by @pooyashahidi here comment before.

I tried the config part with:

fan:
  - platform: xiaomi_miio_fan
    name: Xiaomi Smart Fan
    host: 192.168.xxx.xxx
    token: <token>

And without "model"

fan:
  - platform: xiaomi_miio_fan
    name: Xiaomi Smart Fan
    host: 192.168.xxx.xxx
    token: <token>
    model: dmaker.fan.p18

What is actually working: image

Actually missing:

Do you have any idea where this issue came from? Maybe something wrong with my configuration...

pooyashahidi commented 2 years ago

I call it from the UI like this:

action: call-service
service: fan.set_direction
service_data:
  direction: forward
  entity_id: fan.xiaomi_smart_fan_2

You can also test it in developer tools: image