Hidden buttons to the left and right of fan image that rotate the fan by 5 degrees
Button to cycle through 5 speed-levels
Button to toggle oscillation
Button to toggle natural mode
Status Indicators
Child lock status indicator
Current oscillation angle indicator
Timer indicator (time left to power off)
Credits
This is a fork of the great work by fineemb. I fixed some bugs, translated it to English and made some changes so that it works with Xiaomi Smartmi Fan 2S (zhimi.za4).
Why fork?
Instructions and UI is in Chinese
Limited support for the Smartmi Fan 2S.
Temperature, humidity, battery level sensors no longer exist in the 2S
The indicators are essentially rendered useless
There’s no way to control the speed
Child lock toggle has limited use
Child lock is rarely toggled imo
Needs bug fixes
Why not submit a PR?
My main reason is: Feature divergence. Indicators and buttons are now different from their original intention.
Hi! Great but how to add this card to Lovelace? (not resource but just card itself)?
found it:
- type: ‘custom:fan-xiaomi’
name: myFan
entity: fan.zhi_neng_dian_feng_shan_1
Having trouble making this card working for me. I have done the integration and can see the fan with my other entities, but when I install the card with HACS I cant see where to use it, and when trying to to it manually with
type: 'custom:fan-xiaomi'
name: fan
entity: fan.xiaomi_smart_fan
Tried installing fan integration through HACS and then manually from development branch. Tried various versions of the lovelace card as well. Always the same setConfig error.