Skip to content

Commit

Permalink
🤖 10-07-2024: :counterclockwise_arrows_button: Updated 5 files :cross…
Browse files Browse the repository at this point in the history
…_mark: Deleted 1 file ➕ Added 1 file

- 📝 update: config/.gitignore
- 📝 update: config/README.md
- 📝 update: docs/README.md
- 📝 update: main-grid/grid_media.yaml
- 📝 update: media_players/media_universal.yaml
- :cross_mark: delete: config/.HA_BEFORE
- ➕ add:: subviews/another-test.yaml

--------
Automated commit via script
  • Loading branch information
ngocjohn committed Jul 10, 2024
1 parent 53251c6 commit 6fc388f
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 32 deletions.
1 change: 0 additions & 1 deletion config/.HA_BEFORE

This file was deleted.

2 changes: 1 addition & 1 deletion config/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
._*
.cloud
.DS_Store

secrets.yaml

### HomeAssistant ###
Expand Down Expand Up @@ -120,3 +119,4 @@ zigbee2mqtt/
known_devices.yaml


.HA_BEFORE
13 changes: 6 additions & 7 deletions config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Hey there! Welcome to my little corner of the tech world! 👨‍💻

This is where I store all the cool configurations for my Home Assistant system. Well, it's a mix of awesome codes and setups I discovered from the Home Assistant community. Seriously, those folks are wizards! 🧙‍♂️ As a bit of an internet newbie turned tech enthusiast, I stumbled upon the magic of IT, and this repository is my way of sharing the joy and knowledge I've gained along the way. Dive in, explore, and let the tech magic begin! ✨

I frequently refresh my configuration files. My current Home Assistant version is <b>2024.7.1</b>. If you find something you like, don't forget to give my repository a ⭐️!
I frequently refresh my configuration files. My current Home Assistant version is <b>2024.7.2</b>. If you find something you like, don't forget to give my repository a ⭐️!

<video width="100%" controls loop muted>
<source src="https://github-production-user-asset-6210df.s3.amazonaws.com/96962827/297112091-acc1a4db-b92e-4ab1-ac9d-df067d4ba4d1.mp4" type="video/mp4">
Expand All @@ -37,14 +37,14 @@ https://github.com/ngocjohn/hass-config/assets/96962827/acc1a4db-b92e-4ab1-ac9d-
</thead>
<tbody>
<tr>
<td>34,635 </td>
<td>34,752 </td>
<td>30</td>
<td>188</td>
<td>201</td>
<td>36</td>
<td>52</td>
<td>29</td>
<td>1057</td>
<td>169</td>
<td>30</td>
<td>1125</td>
<td>168</td>
<td>38</td>
</tr>
</tbody>
Expand All @@ -63,7 +63,6 @@ https://github.com/ngocjohn/hass-config/assets/96962827/acc1a4db-b92e-4ab1-ac9d-
- ArgonOne Active Linear Cooling
- Cloudflared
- eufy-security-ws
- File editor
- Glances
- Home Assistant Google Drive Backup
- MariaDB
Expand Down
Empty file.
22 changes: 12 additions & 10 deletions config/dashboards/views/main-grid/grid_media.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
- tpl_spotify
variables:
playlist_type: default
country_code: vn

# type: media-control
# entity: media_player.spotify
# card_mod:
Expand Down Expand Up @@ -171,16 +173,16 @@
# template:
# - tpl_ytube_music
# VN FEATURED Playlist
- type: grid
columns: 1
cards: &SPOTIFYPLAYLIST
- type: custom:button-card
entity: media_player.spotify
template:
- tpl_spotify
variables:
playlist_type: default
country_code: vn
# - type: grid
# columns: 1
# cards: &SPOTIFYPLAYLIST
# - type: custom:button-card
# entity: media_player.spotify
# template:
# - tpl_spotify
# variables:
# playlist_type: default
# country_code: vn

#Media Players
- type: grid
Expand Down
10 changes: 4 additions & 6 deletions config/packages/templates/media_players/media_universal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ template:
states.media_player.spotify,
states.sensor.ps5_activity,
states.media_player.living_room_tv,
states.media_player.kodi_atv,
states.media_player.ytube_music_player,
states.media_player.bedroom_tv ] %}
states.media_player.kodi_atv
] %}
{% macro media(state) %}
{% set state = media_players | selectattr('state','eq',state) | list %}
{% set last_changed = recently_added if state | length == 0 else state | map(attribute='last_changed') | list | max %}
Expand All @@ -60,9 +59,8 @@ template:
states.media_player.spotify,
states.sensor.ps5_activity,
states.media_player.living_room_tv,
states.media_player.kodi_atv,
states.media_player.ytube_music_player,
states.media_player.bedroom_tv ] %}
states.media_player.kodi_atv
] %}
{{ recently_added + upcoming_shows + media_players | map(attribute='name') | list }}
select_option:
service: select.select_option
Expand Down
13 changes: 6 additions & 7 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Hey there! Welcome to my little corner of the tech world! 👨‍💻

This is where I store all the cool configurations for my Home Assistant system. Well, it's a mix of awesome codes and setups I discovered from the Home Assistant community. Seriously, those folks are wizards! 🧙‍♂️ As a bit of an internet newbie turned tech enthusiast, I stumbled upon the magic of IT, and this repository is my way of sharing the joy and knowledge I've gained along the way. Dive in, explore, and let the tech magic begin! ✨

I frequently refresh my configuration files. My current Home Assistant version is <b>2024.7.1</b>. If you find something you like, don't forget to give my repository a ⭐️!
I frequently refresh my configuration files. My current Home Assistant version is <b>2024.7.2</b>. If you find something you like, don't forget to give my repository a ⭐️!

<video width="100%" controls loop muted>
<source src="https://github-production-user-asset-6210df.s3.amazonaws.com/96962827/297112091-acc1a4db-b92e-4ab1-ac9d-df067d4ba4d1.mp4" type="video/mp4">
Expand All @@ -37,14 +37,14 @@ https://github.com/ngocjohn/hass-config/assets/96962827/acc1a4db-b92e-4ab1-ac9d-
</thead>
<tbody>
<tr>
<td>34,635 </td>
<td>34,752 </td>
<td>30</td>
<td>188</td>
<td>201</td>
<td>36</td>
<td>52</td>
<td>29</td>
<td>1057</td>
<td>169</td>
<td>30</td>
<td>1125</td>
<td>168</td>
<td>38</td>
</tr>
</tbody>
Expand All @@ -63,7 +63,6 @@ https://github.com/ngocjohn/hass-config/assets/96962827/acc1a4db-b92e-4ab1-ac9d-
- ArgonOne Active Linear Cooling
- Cloudflared
- eufy-security-ws
- File editor
- Glances
- Home Assistant Google Drive Backup
- MariaDB
Expand Down

0 comments on commit 6fc388f

Please sign in to comment.