mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-12-12 01:52:16 +00:00
Compare commits
3 Commits
44d8ac0da5
...
c62e778028
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c62e778028 | ||
|
|
e83e957ab5 | ||
|
|
fe4b9ac1c9 |
@@ -56,7 +56,7 @@
|
||||
- light.living_room_lights
|
||||
- light.living_room_accents
|
||||
brightness: 255
|
||||
kelvin: 5500
|
||||
color_temp_kelvin: 5500
|
||||
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
|
||||
@@ -36,14 +36,14 @@
|
||||
target:
|
||||
entity_id: light.living_room_lights
|
||||
data:
|
||||
kelvin: 5500
|
||||
color_temp_kelvin: 5500
|
||||
brightness: 255
|
||||
default:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.living_room_lights
|
||||
data:
|
||||
kelvin: 2700
|
||||
color_temp_kelvin: 2700
|
||||
brightness: 200
|
||||
|
||||
- alias: 'Restore Living Room After Entry Secured'
|
||||
@@ -74,26 +74,26 @@
|
||||
target:
|
||||
entity_id: light.living_room_lights
|
||||
data:
|
||||
kelvin: 5500
|
||||
color_temp_kelvin: 5500
|
||||
brightness: 255
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.living_room_accents
|
||||
data:
|
||||
kelvin: 5500
|
||||
color_temp_kelvin: 5500
|
||||
brightness: 200
|
||||
default:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.living_room_lights
|
||||
data:
|
||||
kelvin: 2700
|
||||
color_temp_kelvin: 2700
|
||||
brightness: 200
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id: light.living_room_accents
|
||||
data:
|
||||
kelvin: 2700
|
||||
color_temp_kelvin: 2700
|
||||
brightness: 170
|
||||
|
||||
- alias: 'Living Room Red on Entry/Garage Open'
|
||||
|
||||
@@ -40,7 +40,7 @@ automation:
|
||||
id: proxmox-garage-high-temp-warning-automation
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.proxmox_garage_avg_temp
|
||||
entity_id: sensor.proxmox_garage_average_temperature
|
||||
above: 145 # Adjust threshold as needed
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
|
||||
@@ -122,15 +122,7 @@ template:
|
||||
unit_of_measurement: "count"
|
||||
icon: mdi:binary-sensor
|
||||
state: >-
|
||||
{% set lights = states.light | selectattr('state', 'eq', 'on') | list %}
|
||||
{% set qty = lights | count %}
|
||||
{% set p1 = 'lights are' if qty > 1 else 'light is' %}
|
||||
|
||||
{% if qty == 0 %}
|
||||
No lights on.
|
||||
{% else %}
|
||||
{{ qty }} {{ p1 }} on.
|
||||
{% endif %}
|
||||
{{ states.light | selectattr('state', 'eq', 'on') | list | count }}
|
||||
|
||||
- name: "Number of Smoke Detectors"
|
||||
unit_of_measurement: "count"
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
######################################################################
|
||||
# @CCOSTAN - Follow Me on X
|
||||
# For more info visit https://www.vcloudinfo.com/click-here
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# -------------------------------------------------------------------
|
||||
# YouTube Channel - Track vCloudInfo channel stats via YouTube sensor.
|
||||
#-------------------------------------------
|
||||
######################################################################
|
||||
## Channel metrics for @vCloudInfo/CCOSTAN.
|
||||
######################################################################
|
||||
# -------------------------------------------------------------------
|
||||
# Based on Pinkywafer's package: https://github.com/pinkywafer/Home-Assistant_Config/blob/master/packages/youtube/vcloudinfo.yaml
|
||||
# Issue reference: https://github.com/CCOSTAN/Home-AssistantConfig/issues/720
|
||||
sensor:
|
||||
|
||||
@@ -66,60 +66,60 @@
|
||||
entities:
|
||||
light.m1_front_left:
|
||||
state: on
|
||||
kelvin: 5500
|
||||
color_temp_kelvin: 5500
|
||||
brightness: 255
|
||||
light.m1_front_right:
|
||||
state: on
|
||||
kelvin: 5500
|
||||
color_temp_kelvin: 5500
|
||||
brightness: 255
|
||||
light.m1_back_right:
|
||||
state: on
|
||||
kelvin: 5500
|
||||
color_temp_kelvin: 5500
|
||||
brightness: 255
|
||||
light.m1_back_left:
|
||||
state: on
|
||||
kelvin: 5500
|
||||
color_temp_kelvin: 5500
|
||||
brightness: 255
|
||||
light.tv_stand_light:
|
||||
state: on
|
||||
kelvin: 5500
|
||||
color_temp_kelvin: 5500
|
||||
brightness: 200
|
||||
light.tv_light:
|
||||
state: on
|
||||
kelvin: 5500
|
||||
color_temp_kelvin: 5500
|
||||
brightness: 200
|
||||
light.couch_1:
|
||||
state: on
|
||||
kelvin: 5500
|
||||
color_temp_kelvin: 5500
|
||||
brightness: 255
|
||||
|
||||
- name: Living_Room_Evening_Amber
|
||||
entities:
|
||||
light.m1_front_left:
|
||||
state: on
|
||||
kelvin: 2700
|
||||
color_temp_kelvin: 2700
|
||||
brightness: 200
|
||||
light.m1_front_right:
|
||||
state: on
|
||||
kelvin: 2700
|
||||
color_temp_kelvin: 2700
|
||||
brightness: 200
|
||||
light.m1_back_right:
|
||||
state: on
|
||||
kelvin: 2700
|
||||
color_temp_kelvin: 2700
|
||||
brightness: 200
|
||||
light.m1_back_left:
|
||||
state: on
|
||||
kelvin: 2700
|
||||
color_temp_kelvin: 2700
|
||||
brightness: 200
|
||||
light.tv_stand_light:
|
||||
state: on
|
||||
kelvin: 2700
|
||||
color_temp_kelvin: 2700
|
||||
brightness: 170
|
||||
light.tv_light:
|
||||
state: on
|
||||
kelvin: 2700
|
||||
color_temp_kelvin: 2700
|
||||
brightness: 170
|
||||
light.couch_1:
|
||||
state: on
|
||||
kelvin: 2700
|
||||
color_temp_kelvin: 2700
|
||||
brightness: 220
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
rgb_color: &yellow [255,255,0]
|
||||
light.outdoor_sconce_1:
|
||||
state: 'on'
|
||||
rgb_color: &bubble_gum [255,193,204]
|
||||
rgb_color: [255,193,204] #bubble_gum
|
||||
light.outdoor_sconce_2:
|
||||
state: 'on'
|
||||
rgb_color: *lavender
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
######################################################################################################
|
||||
######################################################################
|
||||
# @CCOSTAN - Follow Me on X
|
||||
# For more info visit https://www.vcloudinfo.com/click-here
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# -------------------------------------------------------------------
|
||||
# Notification Engine Scripts - Flexible push helpers for family devices.
|
||||
# Compose messages from value1/value2/value3 with optional actions.
|
||||
# -------------------------------------------------------------------
|
||||
# Video Tutorial: https://youtu.be/mK1wdpxhLbM
|
||||
######################################################################
|
||||
### Script for Sending Notifications to Mobile Phones
|
||||
# This script (`notify_engine`) and its variant (`notify_engine_two_button`) are designed to send
|
||||
# customized notifications to specified recipients in Home Assistant.
|
||||
@@ -23,11 +32,6 @@
|
||||
# - 'icon1', 'icon2': Icons for the buttons (optional).
|
||||
# - 'destructive1', 'destructive2': Boolean flags to mark buttons as destructive (optional).
|
||||
|
||||
# Author: @CCOSTAN
|
||||
# Original Repository: https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Video Tutorial for Android Compatibility: https://youtu.be/mK1wdpxhLbM
|
||||
######################################################################################################
|
||||
|
||||
|
||||
notify_engine:
|
||||
sequence:
|
||||
@@ -51,7 +55,7 @@ notify_engine:
|
||||
{% endif %}
|
||||
data:
|
||||
title: "{{ title }}"
|
||||
message: "{{ value1 }} {{ value2 }} {{ value3 }}"
|
||||
message: "{{ ' '.join([value1|default('', true), value2|default('', true), value3|default('', true)]) | trim }}"
|
||||
data:
|
||||
group: "{{ group|default('information') }}"
|
||||
interuption_level: "{{ level|default('active') }}"
|
||||
@@ -78,7 +82,7 @@ notify_engine_two_button:
|
||||
notify.ios_family
|
||||
{% endif %}
|
||||
data:
|
||||
message: "{{ value1 }} {{ value2 }} {{ value3 }}"
|
||||
message: "{{ ' '.join([value1|default('', true), value2|default('', true), value3|default('', true)]) | trim }}"
|
||||
title: "{{ title|default('', true) }}"
|
||||
data:
|
||||
actions:
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<svg width="68.5" height="20" viewBox="0 0 685 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="2025.12.0">
|
||||
<title>2025.12.0</title>
|
||||
<linearGradient id="DQrHH" x2="0" y2="100%">
|
||||
<linearGradient id="PUIvu" x2="0" y2="100%">
|
||||
<stop offset="0" stop-opacity=".1" stop-color="#EEE"/>
|
||||
<stop offset="1" stop-opacity=".1"/>
|
||||
</linearGradient>
|
||||
<mask id="RulHM"><rect width="685" height="200" rx="30" fill="#FFF"/></mask>
|
||||
<g mask="url(#RulHM)">
|
||||
<mask id="PVVTg"><rect width="685" height="200" rx="30" fill="#FFF"/></mask>
|
||||
<g mask="url(#PVVTg)">
|
||||
<rect width="685" height="200" fill="#08C" x="0"/>
|
||||
<rect width="685" height="200" fill="url(#DQrHH)"/>
|
||||
<rect width="685" height="200" fill="url(#PUIvu)"/>
|
||||
</g>
|
||||
<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="570" fill="#000" opacity="0.25">2025.12.0</text>
|
||||
|
||||
|
Before Width: | Height: | Size: 815 B After Width: | Height: | Size: 815 B |
Reference in New Issue
Block a user