-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🤖 08-01-25 | ♻️ Updated 9 files 🔥 Deleted 1 file ✨ Added 1 file
-------- - update: config/README.md - update: docs/README.md - update: govee/manifest.json - update: templates/streamline-card.yaml - update: main-grid/floorplan.yaml - update: system-grid/system-graph.yaml - update: themes/tablet.yaml - update: views/main.yaml - update: browser_mod/manifest.json - delete: main-grid/nowplaying.yaml - add: columns/nowplaying.yaml -------- Automated commit via script
- Loading branch information
Showing
11 changed files
with
200 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
################################################# | ||
# # | ||
# WIDE SPOTIFY PLAYER # | ||
# # | ||
################################################# | ||
type: custom:stack-in-card | ||
visibility: | ||
- condition: state | ||
entity: media_player.spotifyplus_ngoc_nguyen | ||
state_not: 'off' | ||
card_mod: | ||
style: | | ||
:host { | ||
--album-art-color: {{ states('sensor.vibrant_color') }} | ||
} | ||
@keyframes slide-opacity { | ||
0% { | ||
opacity: 0; | ||
clip-path: inset(0 0 0 100%); | ||
} | ||
100% { | ||
opacity: 1; | ||
clip-path: inset(0 0 0 0); | ||
} | ||
} | ||
ha-card::before { | ||
content: ""; | ||
position: absolute; | ||
height: 100%; | ||
width: 100%; | ||
background: url( '{{ state_attr('media_player.spotifyplus_ngoc_nguyen', "entity_picture") }}' ) center no-repeat; | ||
filter: blur(150px) saturate(400%); | ||
background-size: 100% 100%; | ||
} | ||
ha-card { | ||
--ha-card-border-width: 0; | ||
background: url( '{{ state_attr("media_player.spotifyplus_ngoc_nguyen", "entity_picture") }}' ), linear-gradient(to left, transparent, rgb(var(--rgb-card-background-color)) 50%); | ||
background-size: 50% auto, cover; | ||
background-position: right; | ||
background-repeat: no-repeat; | ||
background-blend-mode: saturation; | ||
# opacity: 0; | ||
} | ||
cards: | ||
- type: custom:mushroom-media-player-card | ||
entity: media_player.spotifyplus_ngoc_nguyen | ||
icon: mdi:play | ||
use_media_info: true | ||
use_media_artwork: false | ||
show_volume_level: false | ||
media_controls: | ||
- play_pause_stop | ||
- previous | ||
- next | ||
volume_controls: | ||
- volume_buttons | ||
- volume_set | ||
fill_container: false | ||
card_mod: | ||
style: | | ||
mushroom-shape-icon { | ||
display: flex; | ||
{% set media_type = state_attr(config.entity, 'media_content_type') %} | ||
{% if media_type == 'tvshow' %} | ||
--card-mod-icon: mdi:television-classic; | ||
animation: flicker 1s linear infinite alternate; | ||
{% elif media_type == 'movie' %} | ||
--card-mod-icon: mdi:movie-roll; | ||
animation: spin 2s linear infinite reverse; | ||
{% elif media_type == 'music' %} | ||
--card-mod-icon: mdi:spotify; | ||
animation: beat 1.3s ease-out infinite both; | ||
{% elif media_type == 'playlist' %} | ||
--card-mod-icon: mdi:spotify; | ||
animation: beat 1.3s ease-out infinite both; | ||
{% else %} | ||
--card-mod-icon: mdi:play; | ||
{% endif %} | ||
{{ 'animation: none;' if not is_state(config.entity, 'playing') }} | ||
} | ||
@keyframes flicker { | ||
0%, 31.98%, 32.98%, 34.98%, 36.98%, 39.98%, 67.98%, 68.98%, 95.98%, 96.98%, 97.98%, 98.98%, 100% { --icon-color: rgba(var(--album-art-color), 1); } | ||
32%, 33%, 35%, 36%, 37%, 40%, 68%, 69%, 96%, 97%, 98%, 99% { --icon-color: rgba(var(--album-art-color), 0.6); } | ||
} | ||
@keyframes beat { | ||
0%, 60% { --icon-symbol-size: 21px; } | ||
5%, 17%, 57% { --icon-symbol-size: 22px; } | ||
10%, 20%, 51% { --icon-symbol-size: 23px; } | ||
25%, 45% { --icon-symbol-size: 24px; } | ||
30%, 39% { --icon-symbol-size: 25px; } | ||
33% { --icon-symbol-size: 26px; } | ||
} | ||
ha-card { | ||
height: 200px !important; | ||
--ha-card-border-width: 0; | ||
--rgb-state-media-player: var(--album-art-color); | ||
} | ||
mushroom-state-info { | ||
--card-primary-color: rgb(var(--album-art-color)); | ||
--card-secondary-color: rgba(var(--album-art-color), 0.6); | ||
} | ||
.actions { | ||
--rgb-primary-text-color: var(--album-art-color); | ||
--primary-text-color: rgb(var(--album-art-color)); | ||
width: 60% !important; | ||
animation: fade-in 1s; | ||
animation-delay: 1s; | ||
} | ||
@keyframes fade-in { | ||
0% { | ||
opacity: 0; | ||
} | ||
100% { | ||
opacity: 1; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.