WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

kizza/magic-home-party-card

Repository files navigation

🥳 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.

Development

Build with yarn start which will expose the built /dist via the configured port. Add this url to your resources.yaml (tip: with ?v=xxx for caching) then play.

About

A Home Assistant custom card for managing Magic Home lighting effects

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published