IPWorks IoT 2020 Python Edition

Questions / Feedback?

buddy_group Property

This is a comma-separated list of the buddy's associated groups.

Syntax

def get_buddy_group(buddy_index: int) -> str: ...
def set_buddy_group(buddy_index: int, value: str) -> None: ...

Default Value

""

Remarks

This is a comma-separated list of the buddy's associated groups.

After the on_sync event has fired, this property will contain a comma-separated list of groups for the associated buddy_id. Changing this value will cause the buddy's group associations to change. Setting it to the empty string ("") will cause the buddy to be completely disassociated from all groups.

The buddy_index parameter specifies the index of the item in the array. The size of the array is controlled by the buddy_count property.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 Python Edition - Version 20.0 [Build 8265]