A Home Assistant custom card providing a palette for your Magic Home integration lighting effects.
![Overview – Home Assistant](https://private-user-images.githubusercontent.com/1088717/309422850-30ff4b45-4413-40fc-935a-5d9bc7b7b6a4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDgzNjgsIm5iZiI6MTczOTMwODA2OCwicGF0aCI6Ii8xMDg4NzE3LzMwOTQyMjg1MC0zMGZmNGI0NS00NDEzLTQwZmMtOTM1YS01ZDliYzdiN2I2YTQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMjEwNzQ4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTMyYjFlMTRhMmY4MWVjNWUxMTU2ZjUyODc0NzVjOWY3N2Q0OTNiOTVmMDZjZjRlMGY5YWUyM2I5ZmQyZDY3NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.D2cbFMqbyKKs8vd6S5nvJC2LQb4Gw7An8OHiZBc_SeM)
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.
![Magic Home Logo](https://private-user-images.githubusercontent.com/1088717/309421736-134d836a-a2d5-4761-adcf-ea7d8feb1dc3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDgzNjgsIm5iZiI6MTczOTMwODA2OCwicGF0aCI6Ii8xMDg4NzE3LzMwOTQyMTczNi0xMzRkODM2YS1hMmQ1LTQ3NjEtYWRjZi1lYTdkOGZlYjFkYzMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMjEwNzQ4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTgxNDc2ZDcyMzVjMTkwZjlmZjdjNmViNjg2NzQ3MzAyNjMwODZkNDQ5Zjk3NGNiY2FhZWZkYTU4NWY0MjAwNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.hxUn_srq1VezoOCueG2nEK8TPM2DB3ASplHyBkBAMZY)
Magic Home Party Card is available in [HACS][hacs] (Home Assistant Community Store).
- Install HACS if you don't have it already
- Open HACS in Home Assistant
- Go to "Frontend" section
- Click button with "+" icon
- Search for "Magic Home Party Card"
- Download
magic-home-party-card.js
file from the latest-release. - Put magic-home-party.js file into your
config/www
folder. - 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
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.