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