Fan position (pan) adjustments inconveniently exposed as select entity instead of proper button entities

Author: EnricoBettellaCreated Aug 31, 2026Updated Aug 31, 2026

Describe the Bug / 描述问题

For the dmaker.fan.p18 (Mi Smart Standing Fan 2) device, the "Fan motor control" (which is indeed the feature to PAN left or right the fan in a manual way) is exposed with a wrong entity type.

Inside Xiaomi Home app, that feature is shown in the UI with a two buttons group (left, and right) as shown:

However, inside Home Asisstant, this integration expose this feature as a select component:

For proper use, this forces the user to cycle through LEFT (or RIGHT) and NO options as many times as the Fan has to turn.

I believe a proper way to expose this feature is to use two separate button entities.

How to Reproduce / 复现步骤

  1. Add a dmaker.fan.p18 fan to the integration
  2. Try to move the fan to the left 3 times as you would do normally from the app

Expected Behavior / 预期结果

Expose the Fan position adjustment as two separate button entities instead of a select entity

Reproduce Time / 问题复现的时间点

2026-08-31 20:00:00

Home Assistant Logs / 系统日志

No response

Log Timezone / 日志时区

Europe/Rome

Home Assistant Core Version / Home Assistant Core 版本

2026.8.3

Home Assistant Operation System Version / Home Assistant Operation System 版本

18.2

Xiaomi Home Integration Version / 米家集成版本

v0.4.7

Additional Context / 其他说明

No response