Parental control
Parental control
Limitations
|
|
Service
device_internet_access
AsusRouter >= 0.12.0 | < 0.23.0
Control mode-only service
This service is available only if the device control
option of AsusRouter is set to true
. Refer to the Operation mode section for more info on how to change this option.
Details:
Add / change device internet access using parental control feature of the router.
Attributes
Priority
The first in this priority list is used, if many are provided:
devices
entities
entities
Type:
list[entity_id]
Details:
List of entity ids of device_trackers.
Example:
entities: - device_tracker.device_1 - device_tracker.device_2 - device_tracker.device_3
devices
- Type:
list[dict]
- Details: List of dictionaries with
mac
andname
keys. - Example:
devices: - mac: 01:23:45:67:89:01 name: Device/1 - mac: 01:23:45:67:89:02 - mac: 01:23:45:67:89:03 name: Device/3
- Type:
state
Type:
string
Possible values:
block
- internet access is blockeddisable
- this rule is disabledremove
- remove the rule for this device
Details:
State of the rule
entity_id
Type:
string
Details:
entity_id
of device_tracker.
name
Type:
string
Details:
Device name to be saved in parental control rules. If not selected, hostname from the entity will be used. If not selected and MAC is used, MAC will also be used as name
Switch
{device}_parental_control
AsusRouter >= 0.12.0
Default entity state:
Enabled
Details:
The current state of the parental control.
Attributes
list
Type:
list(dict())
Details:
The list of all the devices currently connected to the router. Each list element is a dictionary with 3 pairs key-value:
mac
- MAC addressname
- hostname of the devicestate
- state of the rulePossible values:
block
- internet access is blockeddisable
- this rule is disabled