mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-16 10:34:40 +00:00
Compare commits
2 Commits
bcee75652d
...
ffb52d7302
Author | SHA1 | Date | |
---|---|---|---|
|
ffb52d7302 | ||
|
4caff5def4 |
@@ -1 +1 @@
|
|||||||
2025.2.4
|
2025.2.5
|
132
config/UI YAML/Overview/Light_Stack.yaml
Executable file
132
config/UI YAML/Overview/Light_Stack.yaml
Executable file
@@ -0,0 +1,132 @@
|
|||||||
|
cards:
|
||||||
|
- type: custom:mushroom-vacuum-card
|
||||||
|
entity: vacuum.l10s_vacuum
|
||||||
|
icon_animation: true
|
||||||
|
commands:
|
||||||
|
- return_home
|
||||||
|
- start_pause
|
||||||
|
- locate
|
||||||
|
double_tap_action:
|
||||||
|
action: none
|
||||||
|
tap_action:
|
||||||
|
action: navigate
|
||||||
|
navigation_path: /lovelace/vacuum
|
||||||
|
visibility:
|
||||||
|
- condition: state
|
||||||
|
entity: vacuum.l10s_vacuum
|
||||||
|
state_not: docked
|
||||||
|
primary_info: name
|
||||||
|
fill_container: true
|
||||||
|
grid_options:
|
||||||
|
rows: 1
|
||||||
|
columns: full
|
||||||
|
layout: horizontal
|
||||||
|
- type: custom:search-card
|
||||||
|
max_results: 10
|
||||||
|
- type: custom:bubble-card
|
||||||
|
card_type: button
|
||||||
|
button_type: slider
|
||||||
|
entity: light.living_room_lights
|
||||||
|
name: Living Room Lights
|
||||||
|
icon: mdi:sofa
|
||||||
|
show_state: true
|
||||||
|
show_attribute: false
|
||||||
|
show_last_changed: true
|
||||||
|
tap_action:
|
||||||
|
action: navigate
|
||||||
|
navigation_path: "#living_room"
|
||||||
|
grid_options:
|
||||||
|
columns: 6
|
||||||
|
rows: 1
|
||||||
|
card_layout: large
|
||||||
|
- type: vertical-stack
|
||||||
|
cards:
|
||||||
|
- type: custom:bubble-card
|
||||||
|
card_type: pop-up
|
||||||
|
hash: "#living_room"
|
||||||
|
button_type: slider
|
||||||
|
entity: light.living_room_lights
|
||||||
|
name: Living Room Lights
|
||||||
|
icon: mdi:sofa
|
||||||
|
show_attribute: false
|
||||||
|
slide_to_close_distance: "100000"
|
||||||
|
trigger: []
|
||||||
|
bg_opacity: "35"
|
||||||
|
show_state: true
|
||||||
|
show_last_changed: true
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
- type: custom:bubble-card
|
||||||
|
card_type: button
|
||||||
|
button_type: slider
|
||||||
|
entity: light.m1_front_left
|
||||||
|
name: Front Left
|
||||||
|
icon: mdi:light-recessed
|
||||||
|
show_state: true
|
||||||
|
show_attribute: false
|
||||||
|
show_last_changed: true
|
||||||
|
sub_button: []
|
||||||
|
grid_options:
|
||||||
|
columns: 6
|
||||||
|
rows: 1
|
||||||
|
columns: 2
|
||||||
|
- type: custom:bubble-card
|
||||||
|
card_type: button
|
||||||
|
button_type: slider
|
||||||
|
entity: light.m1_front_right
|
||||||
|
name: Front Right
|
||||||
|
icon: mdi:light-recessed
|
||||||
|
show_state: true
|
||||||
|
show_attribute: false
|
||||||
|
show_last_changed: true
|
||||||
|
sub_button: []
|
||||||
|
grid_options:
|
||||||
|
columns: 6
|
||||||
|
rows: 1
|
||||||
|
- type: custom:bubble-card
|
||||||
|
card_type: button
|
||||||
|
button_type: slider
|
||||||
|
entity: light.m1_back_left
|
||||||
|
name: Back Left
|
||||||
|
icon: mdi:light-recessed
|
||||||
|
show_state: true
|
||||||
|
show_attribute: false
|
||||||
|
show_last_changed: true
|
||||||
|
sub_button: []
|
||||||
|
grid_options:
|
||||||
|
columns: 6
|
||||||
|
rows: 1
|
||||||
|
- type: custom:bubble-card
|
||||||
|
card_type: button
|
||||||
|
button_type: slider
|
||||||
|
entity: light.m1_back_right
|
||||||
|
name: Back Right
|
||||||
|
icon: mdi:light-recessed
|
||||||
|
show_state: true
|
||||||
|
show_attribute: false
|
||||||
|
show_last_changed: true
|
||||||
|
sub_button: []
|
||||||
|
grid_options:
|
||||||
|
columns: 6
|
||||||
|
rows: 1
|
||||||
|
grid_options:
|
||||||
|
columns: 12
|
||||||
|
rows: auto
|
||||||
|
- type: custom:bubble-card
|
||||||
|
card_type: button
|
||||||
|
button_type: switch
|
||||||
|
entity: group.interior_switches
|
||||||
|
name: Interior Switches
|
||||||
|
icon: mdi:lightning-bolt
|
||||||
|
show_state: true
|
||||||
|
show_attribute: false
|
||||||
|
show_last_changed: false
|
||||||
|
button_action:
|
||||||
|
tap_action:
|
||||||
|
action: more-info
|
||||||
|
grid_options:
|
||||||
|
columns: 6
|
||||||
|
rows: 1
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
card_layout: large
|
@@ -95,10 +95,6 @@ logbook:
|
|||||||
logger: !include logger.yaml
|
logger: !include logger.yaml
|
||||||
recorder: !include recorder.yaml
|
recorder: !include recorder.yaml
|
||||||
|
|
||||||
# zwave:
|
|
||||||
# usb_path: /dev/ttyACM0
|
|
||||||
# config_path: /srv/hass/hass_venv/lib/python3.4/site-packages/libopenzwave-0.3.1-py3.4-linux-armv7l.egg/config
|
|
||||||
|
|
||||||
tts:
|
tts:
|
||||||
|
|
||||||
homekit: !include homekit.yaml
|
homekit: !include homekit.yaml
|
||||||
|
@@ -25,11 +25,9 @@ exclude:
|
|||||||
- sensor.*_last_connection*
|
- sensor.*_last_connection*
|
||||||
- binary_sensor.*_motion
|
- binary_sensor.*_motion
|
||||||
- binary_sensor.*is_present
|
- binary_sensor.*is_present
|
||||||
|
- binary_sensor.*_motion_*
|
||||||
entities:
|
entities:
|
||||||
- automation.update_garage_get_status
|
- automation.update_garage_get_status
|
||||||
- binary_sensor.camera1_motion_sensor
|
|
||||||
- binary_sensor.camera2_motion_sensor
|
|
||||||
- binary_sensor.camera3_motion_sensor
|
|
||||||
- binary_sensor.powerwall_charging
|
- binary_sensor.powerwall_charging
|
||||||
- media_player.carlo_s_4th_fire
|
- media_player.carlo_s_4th_fire
|
||||||
- media_player.alarm_panel_2
|
- media_player.alarm_panel_2
|
||||||
|
@@ -83,7 +83,7 @@ speech_processing:
|
|||||||
voice: JennyNeural
|
voice: JennyNeural
|
||||||
message: >-
|
message: >-
|
||||||
{{ agent.response.speech.plain.speech }}
|
{{ agent.response.speech.plain.speech }}
|
||||||
cache: true
|
cache: false
|
||||||
|
|
||||||
- event: openai_response
|
- event: openai_response
|
||||||
event_data:
|
event_data:
|
||||||
|
@@ -1,18 +1,48 @@
|
|||||||
# ## These scripts are run from /home/pi
|
# - This script is used to update the Home Assistant Docker containers
|
||||||
#
|
# - It will pull the latest images, check if the image ID has changed, and restart the container if needed
|
||||||
# #!/bin/bash
|
# - It will also cleanup unused resources after the update
|
||||||
#
|
|
||||||
# cd /home/hass/.homeassistant
|
# Original Repo: https://github.com/CCOSTAN/Home-AssistantConfig
|
||||||
# source /srv/hass/hass_venv/bin/activate
|
# Follow me on https://www.vcloudinfo.com/click-here
|
||||||
#
|
|
||||||
# echo "Processing update"
|
|
||||||
# pip3 install --upgrade homeassistant
|
|
||||||
#
|
|
||||||
# hass --script check_config
|
|
||||||
# exit
|
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd /home/hass/docker_files
|
|
||||||
docker-compose down
|
# Update system packages
|
||||||
|
sudo apt-get update && sudo apt-get upgrade -y
|
||||||
|
|
||||||
|
# Pull the latest images
|
||||||
docker-compose pull
|
docker-compose pull
|
||||||
docker-compose up -d
|
|
||||||
|
# Get list of services from docker-compose.yml
|
||||||
|
EXISTING_SERVICES=$(docker-compose config --services)
|
||||||
|
|
||||||
|
# Get list of running service containers
|
||||||
|
RUNNING_CONTAINERS=$(docker-compose ps --services)
|
||||||
|
|
||||||
|
# Loop through each running service and check if its image has changed
|
||||||
|
for service in $RUNNING_CONTAINERS; do
|
||||||
|
if echo "$EXISTING_SERVICES" | grep -qw "$service"; then
|
||||||
|
# Get the current running image ID (remove sha256: prefix)
|
||||||
|
CURRENT_IMAGE_ID=$(docker inspect --format='{{.Image}}' "$service" 2>/dev/null | sed 's/^sha256://')
|
||||||
|
|
||||||
|
# Get the latest image ID from docker-compose
|
||||||
|
LATEST_IMAGE_ID=$(docker-compose images -q "$service" 2>/dev/null)
|
||||||
|
|
||||||
|
# If the image ID is different, restart the container
|
||||||
|
if [ "$CURRENT_IMAGE_ID" != "$LATEST_IMAGE_ID" ] && [ -n "$LATEST_IMAGE_ID" ]; then
|
||||||
|
echo "Updating container: $service"
|
||||||
|
docker-compose stop "$service"
|
||||||
|
docker-compose rm -f "$service"
|
||||||
|
docker-compose up -d "$service"
|
||||||
|
else
|
||||||
|
echo "No update needed for: $service"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "Skipping non-existent service: $service"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Cleanup unused resources
|
||||||
|
docker container prune -f
|
||||||
|
docker image prune -f
|
||||||
|
docker volume prune -f
|
||||||
|
@@ -1,14 +0,0 @@
|
|||||||
## These scripts are run from /home/pi
|
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echo "Setting up Environment"
|
|
||||||
cd /home/hass/.homeassistant
|
|
||||||
source /srv/hass/hass_venv/bin/activate
|
|
||||||
|
|
||||||
echo "Processing update"
|
|
||||||
pip3 install --upgrade git+git://github.com/balloob/home-assistant.git@dev
|
|
||||||
|
|
||||||
echo "Code Check"
|
|
||||||
hass --script check_config
|
|
||||||
exit
|
|
@@ -1,16 +1,16 @@
|
|||||||
<svg width="61.5" height="20" viewBox="0 0 615 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="2025.2.4">
|
<svg width="61.5" height="20" viewBox="0 0 615 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="2025.2.5">
|
||||||
<title>2025.2.4</title>
|
<title>2025.2.5</title>
|
||||||
<linearGradient id="wkFXR" x2="0" y2="100%">
|
<linearGradient id="XTjKL" x2="0" y2="100%">
|
||||||
<stop offset="0" stop-opacity=".1" stop-color="#EEE"/>
|
<stop offset="0" stop-opacity=".1" stop-color="#EEE"/>
|
||||||
<stop offset="1" stop-opacity=".1"/>
|
<stop offset="1" stop-opacity=".1"/>
|
||||||
</linearGradient>
|
</linearGradient>
|
||||||
<mask id="CBXos"><rect width="615" height="200" rx="30" fill="#FFF"/></mask>
|
<mask id="iTHjQ"><rect width="615" height="200" rx="30" fill="#FFF"/></mask>
|
||||||
<g mask="url(#CBXos)">
|
<g mask="url(#iTHjQ)">
|
||||||
<rect width="615" height="200" fill="#08C" x="0"/>
|
<rect width="615" height="200" fill="#08C" x="0"/>
|
||||||
<rect width="615" height="200" fill="url(#wkFXR)"/>
|
<rect width="615" height="200" fill="url(#XTjKL)"/>
|
||||||
</g>
|
</g>
|
||||||
<g aria-hidden="true" fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110">
|
<g aria-hidden="true" fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110">
|
||||||
<text x="65" y="148" textLength="500" fill="#000" opacity="0.25">2025.2.4</text>
|
<text x="65" y="148" textLength="500" fill="#000" opacity="0.25">2025.2.5</text>
|
||||||
<text x="55" y="138" textLength="500">2025.2.4</text>
|
<text x="55" y="138" textLength="500">2025.2.5</text>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 811 B After Width: | Height: | Size: 811 B |
Reference in New Issue
Block a user