Tuya inteligent pergola recognized as fan

Hi.

I have a “smart pergola” device added to my Tuya account. I have Tuya integration added in Home Assistant. Unfortunately, the “smart pergola” device appears in HA as a fan.
the only available actions are: fan.turn_on, fan.turn_off.
When I trigger this action I get a message:
“Entity fan.intelligent_pergola does not support action fan.turn_on.”
Pergola should be seen as “cover_tilt”
cover.close_cover_tilt, cover.open_cover_tilt are needed.

If it’s WIFI, try a different integration. There are several custom integrations available by using the HACS loader and one of them may handle it better.
If it’s Zigbee and you are using ZHA, you need a quirk.
Quirks: ZHA Device Handlers & How-to & Older How-to

One easy workaround is to do a tap-to-run automation with desired action on that device in Tuya and then you can see it as scene and can execute action by running the scene in HA.

Hi Sonikky

Brilliant idea. I wasted many hours trying to solve this problem and your solution works perfectly.

Thanks a lot.

Sir_Goodenough.

I think your suggestion might be helpful too, but for now I’ll settle for Sonikky’s quick and simple solution