From 60ec72029b51e66e7ab069091fda06f9d14c75c6 Mon Sep 17 00:00:00 2001 From: Viet Ngoc Date: Fri, 26 Jul 2024 01:03:55 +0200 Subject: [PATCH] :robot: 26-07-24 | :recycle: Updated 4 files :fire: Deleted 1 file -------- - update: hacs/manifest.json - update: config/README.md - update: config/configuration.yaml - update: docs/README.md - delete: popup/movie.yaml -------- Automated commit via script --- config/README.md | 7 +- config/configuration.yaml | 3 +- config/custom_components/hacs/manifest.json | 5 +- config/dashboards/shared/popup/movie.yaml | 184 -------------------- docs/README.md | 7 +- 5 files changed, 11 insertions(+), 195 deletions(-) delete mode 100755 config/dashboards/shared/popup/movie.yaml diff --git a/config/README.md b/config/README.md index 24164a8..fe1cf38 100644 --- a/config/README.md +++ b/config/README.md @@ -37,13 +37,13 @@ https://github.com/ngocjohn/hass-config/assets/96962827/acc1a4db-b92e-4ab1-ac9d- - 34,220 + 34,035 31 186 36 52 35 - 1061 + 1097 168 38 @@ -63,6 +63,7 @@ https://github.com/ngocjohn/hass-config/assets/96962827/acc1a4db-b92e-4ab1-ac9d- - ArgonOne Active Linear Cooling - Cloudflared - eufy-security-ws +- Get HACS - Glances - Home Assistant Google Drive Backup - MariaDB @@ -115,7 +116,6 @@ https://github.com/ngocjohn/hass-config/assets/96962827/acc1a4db-b92e-4ab1-ac9d- Lovelace plugins ### Lovelace plugins -- [Analog Clock](https://github.com/tomasrudh/analogclock) - [Apexcharts Card](https://github.com/RomRider/apexcharts-card) - [Apple Tv Remote Control](https://github.com/madmicio/Apple-Tv-Card) - [Atomic Calendar Revive](https://github.com/totaldebug/atomic-calendar-revive) @@ -156,7 +156,6 @@ https://github.com/ngocjohn/hass-config/assets/96962827/acc1a4db-b92e-4ab1-ac9d- - [Roku Card](https://github.com/iantrich/roku-card) - [Rpi Monitor Card](https://github.com/ironsheep/lovelace-rpi-monitor-card) - [Search Card](https://github.com/postlund/search-card) -- [Shutter Card](https://github.com/Deejayfool/hass-shutter-card) - [Simple Thermostat](https://github.com/nervetattoo/simple-thermostat) - [Simple Weather Card](https://github.com/kalkih/simple-weather-card) - [Slider Button Card](https://github.com/custom-cards/slider-button-card) diff --git a/config/configuration.yaml b/config/configuration.yaml index fc5f5a9..5af42b5 100644 --- a/config/configuration.yaml +++ b/config/configuration.yaml @@ -24,8 +24,7 @@ default_config: # FRONT - END frontend: themes: !include_dir_merge_named themes - extra_module_url: - - /local/hacsfiles/lovelace-card-mod/card-mod.js + # HTTP http: use_x_forwarded_for: true diff --git a/config/custom_components/hacs/manifest.json b/config/custom_components/hacs/manifest.json index f368b7b..4230c75 100644 --- a/config/custom_components/hacs/manifest.json +++ b/config/custom_components/hacs/manifest.json @@ -1,6 +1,9 @@ { "domain": "hacs", "name": "HACS", + "after_dependencies": [ + "python_script" + ], "codeowners": [ "@ludeeus" ], @@ -19,5 +22,5 @@ "requirements": [ "aiogithubapi>=22.10.1" ], - "version": "1.34.0" + "version": "2.0.0-dev-6fb6f25" } \ No newline at end of file diff --git a/config/dashboards/shared/popup/movie.yaml b/config/dashboards/shared/popup/movie.yaml deleted file mode 100755 index 9466e6a..0000000 --- a/config/dashboards/shared/popup/movie.yaml +++ /dev/null @@ -1,184 +0,0 @@ -action: fire-dom-event -browser_mod: - service: browser_mod.popup - data: - title: MOVIE TIME - size: fullscreen - card_mod: - style: - #popup header - .: - content: - type: custom:layout-card - layout_type: custom:grid-layout - layout: - margin: 0 - grid-gap: var(--custom-layout-card-padding) - grid-template-columns: 500px 1fr - grid-template-areas: | - "media ymovies" - mediaquery: - #phone - '(max-width: 800px)': - grid-template-columns: 1fr - grid-template-rows: repeat(2, 1fr) - grid-template-areas: | - "media" - "ymovies" - cards: - # PLAYER BOX - - type: custom:stack-in-card - view_layout: - grid-area: media - cards: - - type: custom:mushroom-media-player-card - entity: media_player.spotify - 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:music; - animation: beat 1.3s ease-out infinite both; - {% elif media_type == 'playlist' %} - --card-mod-icon: mdi:music; - 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 { - --ha-card-border-width: 0; - --rgb-state-media-player: var(--album-art-color); - } - .actions { - --rgb-primary-text-color: var(--album-art-color); - --primary-text-color: rgb(var(--album-art-color)); - } - ha-card:before { - transform: translate3d(0,0,0); - -webkit-transform: translate3d(0,0,0); - content: ""; - background: url('/local/itunes.png') center no-repeat; - {% if not is_state(config.entity, 'idle') and not is_state(config.entity, 'off') %} - background: url( '{{ state_attr(config.entity, "entity_picture") }}') center no-repeat; - {% endif %} - background-size: contain; - margin: 4px 4px 16px; - filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.5)); - border-radius: var(--control-border-radius); - {% set media_type = state_attr(config.entity, 'media_content_type') %} - {% if media_type == 'tvshow' %} - aspect-ratio: 16 / 9; - {% elif media_type == 'movie' %} - aspect-ratio: 2 / 3; - {% else %} - aspect-ratio: 1 / 1; - {% endif %} - } - - type: conditional - conditions: - - entity: media_player.spotify - state_not: 'off' - - entity: media_player.spotify - state_not: idle - card: - entity: media_player.spotify - hide: - icon: true - name: true - runtime: true - source: true - power: true - state_label: true - volume: true - info: true - progress: false - controls: true - more_info: false - type: custom:mini-media-player - toggle_power: false - group: true - card_mod: - style: - mmp-progress$: | - paper-progress { - {% if is_state(config.entity, 'playing') %} - --paper-progress-container-color: rgba(var(--album-art-color), 0.2) !important; - {% endif %} - } - .: | - ha-card { - margin: 0px 12px 12px; - --mmp-progress-height: 12px !important; - height: var(--mmp-progress-height); - --mmp-accent-color: rgb(var(--album-art-color)); - --mmp-border-radius: 12px !important; - --ha-card-border-width: 0; - } - card_mod: - style: | - ha-card:before { - transform: translate3d(0,0,0); - -webkit-transform: translate3d(0,0,0); - content: ""; - position: absolute; - height: 100%; - width: 100%; - background: url('/local/idle_art.png') center no-repeat; - {% if not is_state('media_player.currently_playing', 'idle') and not is_state('media_player.currently_playing', 'off') %} - background: url( '{{ state_attr('media_player.currently_playing', "entity_picture") }}' ) center no-repeat; - {% endif %} - filter: blur(150px) saturate(200%); - background-size: 100% 100%; - } - ha-card { - transform: translate3d(0,0,0); - -webkit-transform: translate3d(0,0,0); - } - :host { - --album-art-color: - {% if not is_state('media_player.spotify', 'idle') and not is_state('media_player.spotify', 'off') %} - {{ states('sensor.vibrant_color') }} - {% else %} - var(--rgb-indigo-color) - {% endif %}; - } - # PLAYLIST BOX - - type: iframe - view_layout: - grid-area: ymovies - url: https://ymovie.streamcinema.cz/#/scc/browse/Movies - aspect_ratio: '16:10' diff --git a/docs/README.md b/docs/README.md index 24164a8..fe1cf38 100644 --- a/docs/README.md +++ b/docs/README.md @@ -37,13 +37,13 @@ https://github.com/ngocjohn/hass-config/assets/96962827/acc1a4db-b92e-4ab1-ac9d- - 34,220 + 34,035 31 186 36 52 35 - 1061 + 1097 168 38 @@ -63,6 +63,7 @@ https://github.com/ngocjohn/hass-config/assets/96962827/acc1a4db-b92e-4ab1-ac9d- - ArgonOne Active Linear Cooling - Cloudflared - eufy-security-ws +- Get HACS - Glances - Home Assistant Google Drive Backup - MariaDB @@ -115,7 +116,6 @@ https://github.com/ngocjohn/hass-config/assets/96962827/acc1a4db-b92e-4ab1-ac9d- Lovelace plugins ### Lovelace plugins -- [Analog Clock](https://github.com/tomasrudh/analogclock) - [Apexcharts Card](https://github.com/RomRider/apexcharts-card) - [Apple Tv Remote Control](https://github.com/madmicio/Apple-Tv-Card) - [Atomic Calendar Revive](https://github.com/totaldebug/atomic-calendar-revive) @@ -156,7 +156,6 @@ https://github.com/ngocjohn/hass-config/assets/96962827/acc1a4db-b92e-4ab1-ac9d- - [Roku Card](https://github.com/iantrich/roku-card) - [Rpi Monitor Card](https://github.com/ironsheep/lovelace-rpi-monitor-card) - [Search Card](https://github.com/postlund/search-card) -- [Shutter Card](https://github.com/Deejayfool/hass-shutter-card) - [Simple Thermostat](https://github.com/nervetattoo/simple-thermostat) - [Simple Weather Card](https://github.com/kalkih/simple-weather-card) - [Slider Button Card](https://github.com/custom-cards/slider-button-card)