-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inability to turn off fans exposed through matterbridge-hass #29
Comments
FYI the state attributes of the fan in HA are as follows:
|
Hi, Cause the versions now are too old and I couldn't reproduce. Sorry for the late answer. |
I have a Tasmota device that exposes both a Fan and a Light (Sonoff i-fan03). I am not sure if this is a regression or I whether need to remove and re-add the entire bridge device. I will eventually resort to that if it doesn't settle itself out. |
I didn't get to the point of it appearing in matter/Google home, but matterbridge was causing the same issues regardless. I.e any attempt to change the fan speed would cause matterbridge to revert it back to low speed. So it wasn't possible to turn the fan off at all. I had to add it to the blacklist again to resolve the issue. So in summary I believe the issue is still there. If I could write a helper in ha to wrap it that would be a good workaround, but I don't believe this is possible. |
I'm experiencing something similar with some but not all fans. In my case I'm pretty sure the issue is with fans that support different speeds but don't set the
I turned the fan off, which then sets the
I've seen this happen for this custom ESPhome fan (that I could probably update), but also a Leviton fan switch. It seems ok with a Dyson that sets the percentage to 0. Here are the attributes for a couple, both when they're off. Leviton:
Dyson:
|
Describe the bug
Inability to turn off fan configured through Tasmota integration and exposed through matterbridge. Appears to be due to missing "auto" preset? Or maybe simply a missing translation key?
To Reproduce
Expected behavior
The fan should turn off.
Instead, the fan is turned off then immediately turned back on.
Plugin (please complete the following information):
Matterbridge (please complete the following information):
Additional context
Error message in matterbridge:
error [23:08:11.379] [HomeAssistant] Error result received: [object Object]
fatal [23:08:11.379] [Matterbridge] Unhandled Rejection detected at: [object Promise] reason: Error [ERR_UNHANDLED_ERROR]: Unhandled error. ({ code: 'service_validation_error', message: 'Validation error: Preset mode auto is not valid, valid preset modes are: ', translation_key: 'not_valid_preset_mode', translation_placeholders: { preset_mode: 'auto', preset_modes: '' }, translation_domain: 'fan'}) at HomeAssistant.emit (node:events:513:17) at HomeAssistant.emit (file:///usr/local/lib/node_modules/matterbridge-hass/dist/homeAssistant.js:66:22) at ws.onmessage (file:///usr/local/lib/node_modules/matterbridge-hass/dist/homeAssistant.js:140:26) at callListener (/usr/local/lib/node_modules/matterbridge-hass/node_modules/ws/lib/event-target.js:290:14) at WebSocket.onMessage (/usr/local/lib/node_modules/matterbridge-hass/node_modules/ws/lib/event-target.js:209:9) at WebSocket.emit (node:events:536:35) at Receiver.receiverOnMessage (/usr/local/lib/node_modules/matterbridge-hass/node_modules/ws/lib/websocket.js:1220:20) at Receiver.emit (node:events:524:28) at Receiver.dataMessage (/usr/local/lib/node_modules/matterbridge-hass/node_modules/ws/lib/receiver.js:596:14) at /usr/local/lib/node_modules/matterbridge-hass/node_modules/ws/lib/receiver.js:530:12
fatal [23:08:11.379] [Matterbridge] Unhandled Rejection detected at: [object Promise] reason: [object Object]
The text was updated successfully, but these errors were encountered: