Skip to content

Instantly share code, notes, and snippets.

@redding1
redding1 / README.md
Last active September 8, 2025 06:00
LIFX Matter Generic Switch README

LIFX Button Matter Switch Blueprints – Home Assistant

Easily create automations for Single, Double, and Long Press actions on LIFX Switches on Matter in Home Assistant all in one tidy automation. May work for similar 2/4 button Generic Matter Switches (untested).

These blueprints simplify the setup for both 2-Button and 4-Button switches, allowing flexible entity naming and easy assignment of actions.

Important - LIFX APP Setup - Ensure to setup Switch wiring configuration within the LIFX App before adding to Home Assistant by the Matter intergration.

Set "No Action" within Button Settings on the LIFX App (and/or other Matter Controllers) for button presses which are controlled in Home Assistant.

@redding1
redding1 / lifx-matter-switch-4-button.yaml
Last active September 8, 2025 06:08
HomeAssistant BluePrint - LIFX 4 Button Switch (Matter Generic Switch)
blueprint:
name: LIFX 4 Button Generic Matter Switch
description: >
Easily create actions within a single Automation for **Single**, **Double** and **Long Press**
for a **LIFX 4 Button Switch** over Matter.
Define actions for each press type, or leave blank if unused.
source_url: https://gist.github.com/redding1/2731c6d0c4ff2eb9c40d05be409b217d
domain: automation
input:
button1_entity:
@redding1
redding1 / lifx-matter-switch-2-button.yaml
Last active September 28, 2025 09:34
HomeAssistant BluePrint - LIFX 2 Button Switch (Matter Generic Switch)
blueprint:
name: LIFX 2 Button Generic Matter Switch
description: >
Easily create actions within a single Automation for **Single**, **Double** and **Long Press**
for a **LIFX 2 Button Switch** over Matter.
Define actions for each press type, or leave blank if unused.
source_url: https://gist.github.com/redding1/a31c261fde5ebf0c78b16903063ed64e
domain: automation
input:
button1_entity: