调用服务 switch/turn_on 失败。 Detected that custom integration 'xiaomi_miot' calls async_write_ha_state from a thread at custom_components/xiaomi_miot/__init__.py, line 1894: self.async_write_ha_state(). Please report it to the author of the 'xiaomi_miot' custom integration.