Просмотр исходного кода

cloud: do not pass self arg explicitly in async_add_executor_job

Self is automatically handled by this function.
Jason Rumney 1 год назад
Родитель
Сommit
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)