Comments (10)
I believe this is now fixed on master. Hopefully we'll have a new build pushed soon but we have made major changes recently for a separate issue so may move a little more carefully for that.
It sounds like from this discussion the issue was only with status reporting, not actually toggling the fan mode, but I noticed that when we set the preset mode we're using "Nature" or "Natural" as well. I tested "nature" on my device (which reports "Nature" as status) and it did not work, so I'm wondering whether any devices which report "nature" would still fail on the set.
from lovelace-fan-xiaomi.
@ian-craig Sorry for my late answer. Yes I use Xiaomi Mi Smart Pedestal Fan and use it in config with I use it with "platform: xiaomi_miio_fan". It looks like this under developers tools:
preset_modes: off, Level 1, Level 2, Level 3, Level 4
direction: null
oscillating: true
percentage: 100
percentage_step: 1
preset_mode: Level 4
model: dmaker.fan.p15
angle: 60
raw_speed: 100
delay_off_countdown: 0
ac_power: null
oscillate: true
direct_speed: null
natural_speed: null
child_lock: false
buzzer: false
led_brightness: null
use_time: null
temperature: null
humidity: null
battery: null
battery_charge: null
button_pressed: null
led: false
battery_state: null
mode: nature
friendly_name: Fläkt TV-rummet
supported_features: 15
from lovelace-fan-xiaomi.
Works with my Smartmi Standing Fan 3.
from lovelace-fan-xiaomi.
Yeah I'm having the exact same issue with my fan.
Only configuration that might impact this may be:
platform: xiaomi_miio_fan
from lovelace-fan-xiaomi.
SAme problem for me with a P15
from lovelace-fan-xiaomi.
Exactly the same problem with model: "dmaker.fan.p18" (Xiaomi standing fan 2)
edit: made a pull request with the solution
change line 1051 to if (preset_mode === 'Nature' || preset_mode = 'nature') {
from lovelace-fan-xiaomi.
For me, the Smart Standing Fan Pro/P15 show the same status for Direct/Natural all the time. Natural is deselected, which means direct breeze. And it is not possible to toggle by clicking it. Nothing changes, no matter if the fan is set to direct or natural mode.
from lovelace-fan-xiaomi.
Interesting. @jesryn would you mind sharing the full state and attributes for your fan from the Developer Tools > State
page? Both with nature mode on and off would be helpful so we can see what attribues and values are available to watch.
And just to confirm you're using the Xiaomi Mi Smart Pedestal Fan integration not the default?
Also as a side note: It looks like P15 support through the native/default integration is coming soon so will hopefully also resolve this for you home-assistant/core#73496
from lovelace-fan-xiaomi.
Fixed in 2.2.0, thanks for waiting, please do reopen this if you still face this issue.
from lovelace-fan-xiaomi.
@ikaruswill still not working for me. The button is not reactive at all and also does not create a error message. I reinstalled the component. Anything else?
preset_modes:
- 'off'
- Level 1
- Level 2
- Level 3
- Level 4
direction: null
oscillating: true
percentage: 25
percentage_step: 1
preset_mode: Level 1
model: zhimi.fan.za4
angle: 30
raw_speed: 310
delay_off_countdown: 0
ac_power: true
oscillate: true
direct_speed: 25
natural_speed: 25
child_lock: false
buzzer: false
led_brightness: 1
use_time: 72635
temperature: null
humidity: null
battery: null
battery_charge: null
button_pressed: null
led: null
battery_state: null
friendly_name: Xiaomi Smart Fan
supported_features: 15
from lovelace-fan-xiaomi.
Related Issues (20)
- Custom element doesn`t exist: fan-xiaomi HOT 4
- Mobile interface touch controls opens details view instead HOT 5
- Move project ownership to an organization
- Update readme HOT 2
- Card not display in dashboard. HOT 13
- How to change Color HOT 1
- Hide Attributes
- Extremely weird animation on some Android phones
- 麻烦支持 Mijia Smart Standing Air Circulation Fan ---dmaker.fan.p28
- dmaker.fan.p15 not working all features HOT 5
- Problem with Xiaomi Smart Standing Fan 2 Lite. HOT 15
- Custom element doesn't exist: fan-xiaomi HOT 3
- Hide cars when fan is unavailble HOT 1
- Add support for led control and buzzer on dmaker.fan.1c HOT 5
- when I update show the error : Custom element not found: fan-xiaomi HOT 1
- Can't toggle oscilate/natural/angle zhimi.fan.za4
- Timer not work dmaker.fan.p9
- [Feature request] Battery level for zhimi.fan.v2 and zhimi.fan.v3 HOT 3
- Lovelace card crashes my dwains-dashboard HOT 1
- Support for hass-xiaomi-miot platform HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lovelace-fan-xiaomi.