thingsboard-python-client-sdk icon indicating copy to clipboard operation
thingsboard-python-client-sdk copied to clipboard

How to Add an Device to an entity Group

Open Zonk1188 opened this issue 1 year ago • 0 comments

Hello Thingsboard Team,

I have build up an Script which add an device to my development tenant but now i have an Problem how to add my device to my entity group which i also generate through the the script.

I would like to use the method add_entities_to_entity_group() but i have no Idear how to use it. I have added the group Id and now must I format somhow my Device to get an list format.

Have you an example how I add an device to an entity Group ?

I added my py Test Programm to this article. (as .Txt)

best regards Geraetemanager.txt

Chris

Zonk1188 avatar Nov 06 '24 15:11 Zonk1188