You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you call RegisterServiceCallBack() while the NetDaemon integration is not installed it will fail and log an exception saying the required service is not present. It would be nice to log a clear message in this case telling the user to install the integration.
The proposed solution
Two possible solutions:
Whenever you can RegisterServiceCallBack(), we first check if the service is present in HA (using the webservice to retrieve all available services like we do in the codegen). Ofc we only need to do this once and can cache the result statically.
check for the specific error coming back from HA and log a message.
The alternatives
Additional context
The text was updated successfully, but these errors were encountered:
The problem
When you call RegisterServiceCallBack() while the NetDaemon integration is not installed it will fail and log an exception saying the required service is not present. It would be nice to log a clear message in this case telling the user to install the integration.
The proposed solution
Two possible solutions:
The alternatives
Additional context
The text was updated successfully, but these errors were encountered: