Error about zhimi.airpurifier.v1

Got all the info but can’t on/off
pagesays" fan/turn_on failed.not all arguments converted during string formatting"

this is the config file
fan:

  • platform: xiaomi_miio
    host: 192.168.6.180
    token: 8fd6200f***20f97e0e

this is the last log…

File “/usr/src/app/homeassistant/helpers/service.py”, line 337, in _handle_service_platform_call stdout

09:41:48 await getattr(entity, func)(**data) stdout

09:41:48 File “/usr/src/app/homeassistant/components/xiaomi_miio/fan.py”, line 563, in async_turn_on stdout

09:41:48 “Turning the miio device on failed.”, self._device.on) stdout

09:41:48 File “/usr/src/app/homeassistant/components/xiaomi_miio/fan.py”, line 551, in _try_command stdout

09:41:48 _LOGGER.error(mask_error, exc) stdout

09:41:48 File “/usr/local/lib/python3.7/logging/init.py”, line 1412, in error stdout

09:41:48 self._log(ERROR, msg, args, **kwargs) stdout

09:41:48 File “/usr/local/lib/python3.7/logging/init.py”, line 1519, in _log stdout

09:41:48 self.handle(record) stdout

09:41:48 File “/usr/local/lib/python3.7/logging/init.py”, line 1529, in handle stdout

09:41:48 self.callHandlers(record) stdout

09:41:48 File “/usr/local/lib/python3.7/logging/init.py”, line 1591, in callHandlers stdout

09:41:48 hdlr.handle(record) stdout

09:41:48 File “/usr/local/lib/python3.7/logging/init.py”, line 905, in handle stdout

09:41:48 self.emit(record) stdout

09:41:48 File “/usr/src/app/homeassistant/components/system_log/init.py”, line 167, in emit stdout

09:41:48 _figure_out_source(record, stack, self.hass)) stdout

09:41:48 File “/usr/src/app/homeassistant/components/system_log/init.py”, line 92, in init stdout

09:41:48 self.message = record.getMessage() stdout

09:41:48 File “/usr/local/lib/python3.7/logging/init.py”, line 380, in getMessage stdout

09:41:48 msg = msg % self.args stdout

09:41:48 TypeError: not all arguments converted during string formatting