hassio-addons / addon-adguard-home

AdGuard Home - Home Assistant Community Add-ons
https://addons.community
MIT License
373 stars 47 forks source link

switch.adguard_home_parental_control toggle does not turn back on #396

Closed h3llrais3r closed 1 year ago

h3llrais3r commented 1 year ago

Problem/Motivation

switch.adguard_home_parental_control only toggles off. Toggle on does not work, and remains on. Only when going inside adguard dashboard I can turn back the parental control on via the settings.

Expected behavior

Toggle switches parental control on and off.

Actual behavior

Toggle only works for turning it off. When toggling it again to on, it switches back to off, as the value is not updated.

Steps to reproduce

Put switch on home screen. Toggle it off. Toggle it back on. It automatically turns back off.

image

PS: other toggles work fine

frenck commented 1 year ago

That looks like the Home Assistant integration, however, this is the add-on. Those are not the same things.

../Frenck

h3llrais3r commented 1 year ago

Oh, you are right... I forgot I added the integration as well in order to get these switches. Will raise issue in integration. Thx!

EDIT: There seems to be already an issue for it: https://github.com/home-assistant/core/issues/86832 But there they mention that it could come from the addon?