Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdGuard v2.3.0 switch.adguard_protection no longer working #30519

Closed
dredzed opened this issue Jan 6, 2020 · 6 comments · Fixed by #30586
Closed

AdGuard v2.3.0 switch.adguard_protection no longer working #30519

dredzed opened this issue Jan 6, 2020 · 6 comments · Fixed by #30586
Assignees

Comments

@dredzed
Copy link

dredzed commented Jan 6, 2020

Home Assistant release with the issue:

0.103.5
Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io
Integration:

AdGuard
https://www.home-assistant.io/integrations/adguard/
Description of problem:
Since installing v2.3.0, the switch switch.adguard_protection no longer works. If I toggle it to off (developer tools/ states), it turns off for about 1 second, the toggles back on again. All other switches ( switch.adguard_parental_control etc ) behave normally. I can turn off AdGuard Protection from the ingress dashboard still. I love this add-on, but I do miss the ability to turn off the master switch from my Lovelace home page.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):


Additional information:
Developer tools log:
"An error occurred while turning off AdGuard Home switch."

I can't see any error messages in adguard add-on log.

@allanpersson
Copy link

allanpersson commented Jan 6, 2020

Maybe the issue should be opened here: https://github.com/hassio-addons/addon-adguard-home 🙏

@dredzed
Copy link
Author

dredzed commented Jan 7, 2020

This is my first time raising an issue, and I was told to raise it here (from the forums), but I'm happy to move it if needed?

Copy link
Member

frenck commented Jan 7, 2020

It is the correct place, the integration is not working. Will look at it as soon as possible

@frenck
Copy link
Member

frenck commented Jan 8, 2020

Issues were caused due to a breaking change in the API of AdGuard Home. I've opened up a PR to address the issue.

@thundergreen
Copy link

thundergreen commented Mar 24, 2020

Some entites won't be avyilable. Seems like scan is too short or whatelse

image

After some time some entites apear and disappear (unavailable)

logs:

2020-03-24 09:28:50 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.adguard_dns_queries is taking over 10 seconds
2020-03-24 09:28:50 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.adguard_dns_queries_blocked is taking over 10 seconds
2020-03-24 09:28:50 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.adguard_dns_queries_blocked_ratio is taking over 10 seconds

image

@frenck
Copy link
Member

frenck commented Mar 24, 2020

@thundergreen This issue has been closed and was fixed. Please raise a new issue instead of digging up old issues. Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants