This custom component and driver for Home Assistant implements support for Cluster Lights as sold by Action and some other stores. The Cluster Lights are supported by the Lights App.
Only support for Warm White variant currently.
sudo pip3 install bluepy voluptuous
Checkout repository
git clone https://github.com/BasVerkooijen/cluster-lights-home-assistant.git
Copy the folder clusterlights
to your custom_components
folder in Home Assistant installation directory
❓: Create the custom_components
folder in your Home Assistant configuration directory if you don't have custom components yet:
mkdir <path to your config dir>/custom_components
cp -r <path to git repo>/clusterlights <path to your config dir>/custom_components
Add a configuration for your cluster lights to configuration.yaml
# configuration.yaml
light:
- platform: clusterlights
devices:
"AA:BB:CC:DD:EE:FF":
name: Christmas Tree
devices
(list)(Required)
The list of cluster lights devices.
(list)(Required)
The MAC address of the cluster lights.
name
(string)(Optional)
A name for the entity to create in the front-end.
Restart Home Assistant instance
Example for Python virtual env installation:
sudo systemctl restart home-assistant@homeassistant
The clusterlights
integration will create a light entity with the provided name. You can add this entity to your lovelace dashboard with the light card.
⚠️: When no entity is created, the integration failed to initialize the cluster lights. You can inspect the Home Assistant log to see what is going wrong.