get_groups()

Returns a List type string with all the leds groups name.

Reference

Check the LED’s groups list.

Return

List

A list types string that containes all the available groups.

Exceptions

See the complete exceptions.

Usage example

Get all the groups of all led’s:

self.log.info(self.leds.get_groups())

output:

['head', 'sensors', 'skirt', 'chest']