dahua
dahua copied to clipboard
Integration polling sensors that are not selected
Recently I dealt with the same issue described in #354
As part of this I updated my NVR. This resulted in /cgi-bin/configManager.cgi?action=getConfig&name=SmartMotionDetect
refusing to load, which is ugly but fine because I don't use it. However it means that the device fails to initialize:
2024-06-21 15:40:48.902 WARNING (MainThread) [custom_components.dahua] TimeoutError fetching information from http://****:80/cgi-bin/configManager.cgi?action=getConfig&name=SmartMotionDetect
2024-06-21 15:40:48.902 ERROR (MainThread) [custom_components.dahua] Failed to initialize device at ****
I did not select this sensor when I added the device, so the integration shouldn't be polling this url.