get_groups()
  • 1 Minute to read

get_groups()


Article summary

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

Reference

Check the LEDs groups list.

Return

List
a list types string that containes all the avilable groups.

Exceptions

See the complete LEDs exceptions.

Usage example

Get all the groups of all led's:

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

output:

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

Was this article helpful?

What's Next