diff --git a/custom_components/mikrotik_router/mikrotik_controller.py b/custom_components/mikrotik_router/mikrotik_controller.py index a3604f3..6ebba70 100644 --- a/custom_components/mikrotik_router/mikrotik_controller.py +++ b/custom_components/mikrotik_router/mikrotik_controller.py @@ -1283,6 +1283,7 @@ class MikrotikControllerData: {"name": "sat", "default": "None"}, {"name": "sun", "default": "None"}, {"name": "comment"}, + {"name": "blocked", "type": "bool", "default": False}, {"name": "paused", "type": "bool", "reverse": True}, { "name": "enabled", diff --git a/custom_components/mikrotik_router/switch_types.py b/custom_components/mikrotik_router/switch_types.py index abfa781..efccd05 100644 --- a/custom_components/mikrotik_router/switch_types.py +++ b/custom_components/mikrotik_router/switch_types.py @@ -127,6 +127,7 @@ DEVICE_ATTRIBUTES_PPP_SECRET = [ ] DEVICE_ATTRIBUTES_KIDCONTROL = [ + "blocked", "rate-limit", "mon", "tue",