kizza / magic-home-party-card

A Home Assistant custom card for managing Magic Home lighting effects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🥳 Magic Home Party (Custom Card)

HACS badge Downloads badge Version badge Tests badge

A Home Assistant custom card providing a palette for your Magic Home integration lighting effects.

Overview – Home Assistant

Motivation

I love my Magic Home integration strips, they're inexpensive and effective. After a failed attempt and writing my own python gradual transition effect I discovered the device could do it for me with a custom effect! Choosing and experimenting with the colours was awkward though - going from colour wheels to yaml and back - so I made this card to make the experience more enjoyable.

Single-clicking a colour chip from the palette will set all your configured lights to this colour - double-clicking any will add it to the sequence.

Installation

Magic Home Logo Configure your Magic Home lights as per normal in homeassistant. If you don't recognise this logo, this integration may not target your lights.

HACS

Magic Home Party Card is available in [HACS][hacs] (Home Assistant Community Store).

  1. Install HACS if you don't have it already
  2. Open HACS in Home Assistant
  3. Go to "Frontend" section
  4. Click button with "+" icon
  5. Search for "Magic Home Party Card"

Manual

  1. Download magic-home-party-card.js file from the latest-release.
  2. Put magic-home-party.js file into your config/www folder.
  3. Add a reference to this in your resources:
  • Add /local/magic-home-party-card.js via the "manage resources" dashboard UI (as a javascript "module")
  • Or add the following to your yaml...
resources:
  - url: /local/magic-home-party-card.js
    type: module

Usage

Once installed you should find it within your available dashboard cards. Add-and-remove selected colors by double clicking (single click previews that colour with your lights). Once setup, click anywhere on the card to run the magic light effect with your configuration.

About

A Home Assistant custom card for managing Magic Home lighting effects

License:MIT License


Languages

Language:TypeScript 75.4%Language:JavaScript 23.7%Language:HTML 1.0%