Skip to content

Commit

Permalink
Extra debug on service call failure (#1792)
Browse files Browse the repository at this point in the history
  • Loading branch information
springfall2008 authored Dec 26, 2024
1 parent ebee818 commit d4a669b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/predbat/ha.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ async def async_call_service_websocket_command(self, domain, service, service_da
response = data.get("result", {}).get("response", None)
success = data.get("success", False)
if not success:
self.log("Warn: Service call {}/{} failed with response {}".format(domain, service, response))
self.log("Warn: Service call {}/{} data {} failed with response {}".format(domain, service, service_data, response))
break

except Exception as e:
Expand Down

0 comments on commit d4a669b

Please sign in to comment.