Skip to content

Themes Quick Start

Themes apply professionally-curated color palettes to your LIFX devices with a single command. The library carries 378 themes: 290 from the LIFX app, 60 the app has since dropped, and 28 carried over from earlier versions of this library. They resolve under 381 names once rename aliases are counted.

Apply a Theme

from lifx import discover, DeviceGroup, ThemeLibrary

devices = []
async for device in discover():
    devices.append(device)
group = DeviceGroup(devices)

# Get a theme by name and apply it
theme = ThemeLibrary.get("evening")
await group.apply_theme(theme, power_on=True, duration=1.5)

Browse Built-in Themes

The Built-in Theme Catalogue is the live owner of available categories, counts, compatibility notes and executable enumeration examples.

Next Steps