فهرست منبع

cloud: do not pass self arg explicitly in async_add_executor_job

Self is automatically handled by this function.
Jason Rumney 1 سال پیش
والد
کامیت
d36fb6c39d
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      custom_components/tuya_local/cloud.py

+ 0 - 1
custom_components/tuya_local/cloud.py

@@ -186,7 +186,6 @@ class Cloud:
         )
         response = await self.__hass.async_add_executor_job(
             manager.customer_api.get,
-            manager.customer_api,
             f"/v1.0/m/life/devices/{device_id}/status",
         )
         _LOGGER.debug("Datamodel response: %s", response)