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

Scheduled allowed times cleared when blocking/unblocking #80

Open
4 tasks done
foddy-foo opened this issue Feb 8, 2025 · 1 comment
Open
4 tasks done

Scheduled allowed times cleared when blocking/unblocking #80

foddy-foo opened this issue Feb 8, 2025 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed upstream

Comments

@foddy-foo
Copy link

System Health details

System Information

version core-2024.12.5
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.0
os_name Linux
os_version 6.6.73-haos
arch x86_64
timezone Europe/London
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.5
Stage running
Available Repositories 1516
Downloaded Repositories 21
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 14.2
update_channel stable
supervisor_version supervisor-2025.02.0
agent_version 1.6.0
docker_version 27.2.0
disk_total 73.1 GB
disk_used 18.3 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization kvm
board ova
supervisor_api ok
version_api ok
installed_addons Terminal & SSH (9.16.0), Duck DNS (1.18.0), File editor (5.8.0), Mosquitto broker (6.5.0), ESPHome Device Builder (2024.12.4), AdGuard Home (5.2.3), Zigbee2MQTT (2.1.1-1), RTSP Simple Server Add-on (v0.17.6), Whisper (2.4.0), Guacamole Client (1.5.5), Piper (1.5.2), eufy-security-ws (1.9.1), Home Assistant Google Drive Backup (0.112.1), Music Assistant Server (2.3.6), Samba share (12.4.0), Studio Code Server (5.18.1), WireGuard (0.10.2), go2rtc (1.9.8), Let's Encrypt (5.2.12)
Dashboards
dashboards 8
resources 11
views 33
mode storage
Recorder
oldest_recorder_run 28 January 2025 at 10:29
current_recorder_run 7 February 2025 at 09:44
estimated_db_size 1027.44 MiB
database_engine sqlite
database_version 3.45.3

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..

Describe the issue

If I block an application for my child and then later unblock it using just the Microsoft Family app on my Android phone then the schedule which I've previously added for that application is still present. However, if I block the same application using this integration and then unblock it, any previously added scheduled times for that application get cleared out. This results in my child being able to use the application for longer than I would like unless I manually re-add all the daily schedules again. This is seen with any applications blocked/unblocked using this HA integration.

Reproduction steps

  1. Create an allowed schedule for an application in MS Family on Android phone
  2. Block the application using this integration
  3. Unblock this application
  4. Observe the schedule has been cleared.

I'm using version 1.2.0 of the "Microsoft Family" integration.
...

Debug logs

.

Diagnostics dump

No response

@pantherale0 pantherale0 added enhancement New feature or request help wanted Extra attention is needed upstream labels Feb 8, 2025
@pantherale0
Copy link
Owner

Hi,

Likely the request used to unblock is overriding this as it's previous state is not cached.

Not sure if or when I'll be able to look at this, it's not a priority "issue" for me as the integration was intended to mostly remove the need for the mobile app as a whole (apart from a few of the advanced configuration options around age restrictions).

Scheduled blocking and unblocking of devices (or even apps) can be achieved with HA automations and a schedule helper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed upstream
Projects
None yet
Development

No branches or pull requests

2 participants