Backlight#
- class ignis.services.backlight.BacklightService(*args: Any, **kwargs: Any)#
A backlight service. Allows controlling device screen brightness.
Example Usage:
from ignis.services.backlight import BacklightService backlight = BacklightService.get_default() print(backlight.brightness) print(backlight.max_brightness) print(backlight.available) backlight.set_brightness(30) # set brightness to 30 on all devices # backlight.devices[1].set_brightness(50) # set brightness to 50 on the second device in the list
- property devices: list[BacklightDevice]#
read-only
A list of all backlight devices.