Coverfarve-fix: allowlist_external_urls for localhost:8123 + kun farve-lamper i stuen
This commit is contained in:
@@ -19,6 +19,9 @@ homeassistant:
|
||||
country: DK
|
||||
allowlist_external_dirs:
|
||||
- /config
|
||||
# Tillad color_extractor at hente albumcovers via media_player_proxy
|
||||
allowlist_external_urls:
|
||||
- "http://localhost:8123"
|
||||
media_dirs:
|
||||
local: /config/www/media
|
||||
|
||||
|
||||
@@ -5,5 +5,5 @@ panel: true
|
||||
|
||||
cards:
|
||||
- type: iframe
|
||||
url: /local/snapshots/indkorsel_loader.html?v=20260910181921
|
||||
url: /local/snapshots/indkorsel_loader.html?v=20260910185021
|
||||
aspect_ratio: 100%
|
||||
|
||||
@@ -119,11 +119,9 @@
|
||||
- action: color_extractor.turn_on
|
||||
data:
|
||||
color_extract_url: "{{ 'http://localhost:8123' ~ state_attr('media_player.stue', 'entity_picture') }}"
|
||||
# Kun farve-lamper (pendle1/syd/spisebord kan ikke farve)
|
||||
entity_id:
|
||||
- light.pendle1
|
||||
- light.pendle2
|
||||
- light.syd
|
||||
- light.raket
|
||||
- light.spisebord
|
||||
- light.panton
|
||||
transition: 2
|
||||
|
||||
@@ -224,12 +224,10 @@
|
||||
actions:
|
||||
- variables:
|
||||
media_player_entity: media_player.spotifyplus_claus_dethlefsen
|
||||
# Kun farve-lamper (pendle1/syd/spisebord kan ikke farve)
|
||||
lights:
|
||||
- light.pendle1
|
||||
- light.pendle2
|
||||
- light.syd
|
||||
- light.raket
|
||||
- light.spisebord
|
||||
- light.panton
|
||||
spotify_image_url: "{{ state_attr(media_player_entity, 'sp_nowplaying_image_url') }}"
|
||||
- action: spotifyplus.get_image_palette_colors
|
||||
|
||||
Reference in New Issue
Block a user