Skip to content

Commit

Permalink
update files on 02-12-2023 19:42:45
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocjohn committed Dec 2, 2023
1 parent 8f3d448 commit 13a6344
Show file tree
Hide file tree
Showing 17 changed files with 255 additions and 950 deletions.
7 changes: 2 additions & 5 deletions config/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
# /____/

homeassistant:
allowlist_external_dirs:
- /config
latitude: !secret homeassistant_latitude
longitude: !secret homeassistant_longitude
elevation: !secret homeassistant_elevation
Expand All @@ -16,8 +18,6 @@ homeassistant:
unit_system: 'metric'
temperature_unit: 'C'
country: 'CZ'
allowlist_external_dirs:
- /config
media_dirs:
movies: /media/movies
media: /media
Expand Down Expand Up @@ -45,8 +45,6 @@ http:
use_x_forwarded_for: true
trusted_proxies:
- 172.30.33.0/24
ip_ban_enabled: true
login_attempts_threshold: 3

# STT
stt:
Expand All @@ -56,6 +54,5 @@ stt:

# INCLUDES
automation ui: !include automations.yaml
automation manual: !include_dir_merge_list automations/
script: !include_dir_merge_named /config/scripts
api:
2 changes: 1 addition & 1 deletion config/dashboards/shared/popup/footer/footer_system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ browser_mod:
"hass docker containers"
mediaquery:
#portrait
'(max-width: 1400px)':
'(max-width: 1440px)':
grid-template-columns: 1fr
grid-template-rows: fit-content(100%)
grid-template-areas: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ wide_header:
return "/local/img/weather_new/rain.png";
if (weather == 'sleet')
return "/local/img/weather_new/sleet.png";
if (weather == 'snow')
if (weather == 'snowy')
return "/local/img/weather_new/snow.png";
if (weather == 'cloudy')
return "/local/img/weather_new/cloudy.png";
Expand Down Expand Up @@ -1158,11 +1158,13 @@ wide_header:
[[[
return `
@keyframes marquee {
from {
0%,
70% {
transform: translateX(0%);
scale: 0.9;
}
to {
40%,
100% {
transform: translateX(-25%);
scale: 1.1;
}
Expand Down
17 changes: 12 additions & 5 deletions config/dashboards/views/main-grid/grid_media.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,35 +245,42 @@
columns: 1
cards:
- type: custom:button-card
entity: sensor.added_movies_2
entity: sensor.ymovie_added_1
template:
- added_movies
- type: grid
columns: 1
cards:
- type: custom:button-card
entity: sensor.added_movies_3
entity: sensor.ymovie_added_2
template:
- added_movies
- type: grid
columns: 1
cards:
- type: custom:button-card
entity: sensor.added_movies_4
entity: sensor.ymovie_added_3
template:
- added_movies
- type: grid
columns: 1
cards:
- type: custom:button-card
entity: sensor.added_movies_5
entity: sensor.ymovie_added_4
template:
- added_movies
- type: grid
columns: 1
cards:
- type: custom:button-card
entity: sensor.added_movies_6
entity: sensor.ymovie_added_5
template:
- added_movies
- type: grid
columns: 1
cards:
- type: custom:button-card
entity: sensor.ymovie_added_6
template:
- added_movies

Expand Down
15 changes: 10 additions & 5 deletions config/dashboards/views/main-grid/horizontal_movies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,27 +58,32 @@
followFinger: true
cards:
- type: custom:button-card
entity: sensor.added_movies_2
entity: sensor.ymovie_added_1
template:
- added_movies

- type: custom:button-card
entity: sensor.added_movies_3
entity: sensor.ymovie_added_2
template:
- added_movies

- type: custom:button-card
entity: sensor.added_movies_4
entity: sensor.ymovie_added_3
template:
- added_movies

- type: custom:button-card
entity: sensor.added_movies_5
entity: sensor.ymovie_added_4
template:
- added_movies

- type: custom:button-card
entity: sensor.added_movies_6
entity: sensor.ymovie_added_5
template:
- added_movies

- type: custom:button-card
entity: sensor.ymovie_added_6
template:
- added_movies

Expand Down
2 changes: 1 addition & 1 deletion config/dashboards/views/main-grid/nowplaying.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
animation: slide-opacity 1000ms ease-in-out both;
box-shadow: 0px 9px 20px 5px rgba(var(--album-art-color),.2);
opacity: 0;
bottom: 2vw;
bottom: 3vw;
{%- if not is_state('media_player.spotify', 'playing')%}
display: none;
{%else%}
Expand Down
2 changes: 1 addition & 1 deletion config/dashboards/views/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ path: summary
layout:
default:
margin: 0
grid-gap: 0% 1.3%
grid-gap: 0.7% 1.9%
grid-template-columns: 0 1fr 1fr 1fr 1fr 1fr 1fr 0
grid-template-rows: 0 min-content fit-content(100%) fit-content(100%) fit-content(100%) 0
grid-template-areas: |
Expand Down
18 changes: 8 additions & 10 deletions config/packages/hass_system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,25 @@
recorder:
auto_purge: true
purge_keep_days: 7
commit_interval: 60
commit_interval: 10
exclude:
domains:
- alarm_control_panel
- group
- update
- button
- camera
- fan
- group
- input_boolean
- input_datetime
- input_text
- media_player
- number
- scene
- select
- sun
- weather
- media_player
- switch
- camera
- update
- weather
- zone
- input_text
- input_boolean
- input_datetime
entity_globs:
- light.browser_*
- light.*_group
Expand Down
Loading

0 comments on commit 13a6344

Please sign in to comment.