You may need a Zigbee repeater closer to the fan. I use the Sylvania Zigbee Smart Plug
This is what I use. https://www.amazon.com/gp/product/B01M6UM8QD/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
I use them with smart things and alexa.