Sfoglia il codice sorgente

cloud: do not pass self arg explicitly in async_add_executor_job

Self is automatically handled by this function.
Jason Rumney 1 anno fa
parent
commit
d36fb6c39d
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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)