I’m pleased to introduce a custom integration for the latest series of Atomberg fans, designed to seamlessly integrate them into your Home Assistant setup. This integration allows you to control your Atomberg fans directly from your Home Assistant dashboard, enhancing convenience and automation in your smart home.
This HA integration was working flawlessly since the past 4-5 months but today I’m getting an error “Entity fan.fan_1 does not support action fan.turn_on.” when pressing the toggle button.
Fan speed can be controlled with the slider.
LED can be turned on/off with button.
I have re-installed the integration with fresh credentials, but same issue.
I’m having this issue with my tuya fans too. My hunter fan works fine. I’m pretty sure the last Home Assistant update broke this. Now that I see a user with the identical issue with a different integration, I’m inclined to stand by that. Still looking for more info, this is just the first post I came across confirming the issue.
After a bit or trial and error, I have fixed this issue on my install. For context I has ceiling fans connected through LocalTuya that were getting an error when trying to turn them on. All other features were working if I manually turned them on.
Modify file custom_components/localtuya/fan.py.
Step 1
Add code to “class LocaltuyaFan”
# Set the supported features to include TURN_ON and TURN_OFF
self._attr_supported_features = FanEntityFeature.TURN_ON | FanEntityFeature.TURN_OFF
# Disable backwards compatibility for turn_on/turn_off
self._enable_turn_on_off_backwards_compatibility = False
Step 2
update the supported_features
from features = 0
to features = FanEntityFeature.TURN_ON | FanEntityFeature.TURN_OFF
No idea if this will work other situations, but thought I would share.