Compare commits

..

3 Commits

9 changed files with 45 additions and 50 deletions

View File

@@ -56,7 +56,7 @@
- light.living_room_lights - light.living_room_lights
- light.living_room_accents - light.living_room_accents
brightness: 255 brightness: 255
kelvin: 5500 color_temp_kelvin: 5500
- service: script.speech_engine - service: script.speech_engine
data: data:

View File

@@ -36,14 +36,14 @@
target: target:
entity_id: light.living_room_lights entity_id: light.living_room_lights
data: data:
kelvin: 5500 color_temp_kelvin: 5500
brightness: 255 brightness: 255
default: default:
- service: light.turn_on - service: light.turn_on
target: target:
entity_id: light.living_room_lights entity_id: light.living_room_lights
data: data:
kelvin: 2700 color_temp_kelvin: 2700
brightness: 200 brightness: 200
- alias: 'Restore Living Room After Entry Secured' - alias: 'Restore Living Room After Entry Secured'
@@ -74,26 +74,26 @@
target: target:
entity_id: light.living_room_lights entity_id: light.living_room_lights
data: data:
kelvin: 5500 color_temp_kelvin: 5500
brightness: 255 brightness: 255
- service: light.turn_on - service: light.turn_on
target: target:
entity_id: light.living_room_accents entity_id: light.living_room_accents
data: data:
kelvin: 5500 color_temp_kelvin: 5500
brightness: 200 brightness: 200
default: default:
- service: light.turn_on - service: light.turn_on
target: target:
entity_id: light.living_room_lights entity_id: light.living_room_lights
data: data:
kelvin: 2700 color_temp_kelvin: 2700
brightness: 200 brightness: 200
- service: light.turn_on - service: light.turn_on
target: target:
entity_id: light.living_room_accents entity_id: light.living_room_accents
data: data:
kelvin: 2700 color_temp_kelvin: 2700
brightness: 170 brightness: 170
- alias: 'Living Room Red on Entry/Garage Open' - alias: 'Living Room Red on Entry/Garage Open'

View File

@@ -40,7 +40,7 @@ automation:
id: proxmox-garage-high-temp-warning-automation id: proxmox-garage-high-temp-warning-automation
trigger: trigger:
- platform: numeric_state - platform: numeric_state
entity_id: sensor.proxmox_garage_avg_temp entity_id: sensor.proxmox_garage_average_temperature
above: 145 # Adjust threshold as needed above: 145 # Adjust threshold as needed
action: action:
- service: script.notify_engine - service: script.notify_engine

View File

@@ -122,15 +122,7 @@ template:
unit_of_measurement: "count" unit_of_measurement: "count"
icon: mdi:binary-sensor icon: mdi:binary-sensor
state: >- state: >-
{% set lights = states.light | selectattr('state', 'eq', 'on') | list %} {{ states.light | selectattr('state', 'eq', 'on') | list | count }}
{% 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 %}
- name: "Number of Smoke Detectors" - name: "Number of Smoke Detectors"
unit_of_measurement: "count" unit_of_measurement: "count"

View File

@@ -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 # Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# -------------------------------------------------------------------
# YouTube Channel - Track vCloudInfo channel stats via YouTube sensor. # 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 # 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 # Issue reference: https://github.com/CCOSTAN/Home-AssistantConfig/issues/720
sensor: sensor:

View File

@@ -66,60 +66,60 @@
entities: entities:
light.m1_front_left: light.m1_front_left:
state: on state: on
kelvin: 5500 color_temp_kelvin: 5500
brightness: 255 brightness: 255
light.m1_front_right: light.m1_front_right:
state: on state: on
kelvin: 5500 color_temp_kelvin: 5500
brightness: 255 brightness: 255
light.m1_back_right: light.m1_back_right:
state: on state: on
kelvin: 5500 color_temp_kelvin: 5500
brightness: 255 brightness: 255
light.m1_back_left: light.m1_back_left:
state: on state: on
kelvin: 5500 color_temp_kelvin: 5500
brightness: 255 brightness: 255
light.tv_stand_light: light.tv_stand_light:
state: on state: on
kelvin: 5500 color_temp_kelvin: 5500
brightness: 200 brightness: 200
light.tv_light: light.tv_light:
state: on state: on
kelvin: 5500 color_temp_kelvin: 5500
brightness: 200 brightness: 200
light.couch_1: light.couch_1:
state: on state: on
kelvin: 5500 color_temp_kelvin: 5500
brightness: 255 brightness: 255
- name: Living_Room_Evening_Amber - name: Living_Room_Evening_Amber
entities: entities:
light.m1_front_left: light.m1_front_left:
state: on state: on
kelvin: 2700 color_temp_kelvin: 2700
brightness: 200 brightness: 200
light.m1_front_right: light.m1_front_right:
state: on state: on
kelvin: 2700 color_temp_kelvin: 2700
brightness: 200 brightness: 200
light.m1_back_right: light.m1_back_right:
state: on state: on
kelvin: 2700 color_temp_kelvin: 2700
brightness: 200 brightness: 200
light.m1_back_left: light.m1_back_left:
state: on state: on
kelvin: 2700 color_temp_kelvin: 2700
brightness: 200 brightness: 200
light.tv_stand_light: light.tv_stand_light:
state: on state: on
kelvin: 2700 color_temp_kelvin: 2700
brightness: 170 brightness: 170
light.tv_light: light.tv_light:
state: on state: on
kelvin: 2700 color_temp_kelvin: 2700
brightness: 170 brightness: 170
light.couch_1: light.couch_1:
state: on state: on
kelvin: 2700 color_temp_kelvin: 2700
brightness: 220 brightness: 220

View File

@@ -116,7 +116,7 @@
rgb_color: &yellow [255,255,0] rgb_color: &yellow [255,255,0]
light.outdoor_sconce_1: light.outdoor_sconce_1:
state: 'on' state: 'on'
rgb_color: &bubble_gum [255,193,204] rgb_color: [255,193,204] #bubble_gum
light.outdoor_sconce_2: light.outdoor_sconce_2:
state: 'on' state: 'on'
rgb_color: *lavender rgb_color: *lavender

View File

@@ -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 ### Script for Sending Notifications to Mobile Phones
# This script (`notify_engine`) and its variant (`notify_engine_two_button`) are designed to send # This script (`notify_engine`) and its variant (`notify_engine_two_button`) are designed to send
# customized notifications to specified recipients in Home Assistant. # customized notifications to specified recipients in Home Assistant.
@@ -23,11 +32,6 @@
# - 'icon1', 'icon2': Icons for the buttons (optional). # - 'icon1', 'icon2': Icons for the buttons (optional).
# - 'destructive1', 'destructive2': Boolean flags to mark buttons as destructive (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: notify_engine:
sequence: sequence:
@@ -51,7 +55,7 @@ notify_engine:
{% endif %} {% endif %}
data: data:
title: "{{ title }}" title: "{{ title }}"
message: "{{ value1 }} {{ value2 }} {{ value3 }}" message: "{{ ' '.join([value1|default('', true), value2|default('', true), value3|default('', true)]) | trim }}"
data: data:
group: "{{ group|default('information') }}" group: "{{ group|default('information') }}"
interuption_level: "{{ level|default('active') }}" interuption_level: "{{ level|default('active') }}"
@@ -78,7 +82,7 @@ notify_engine_two_button:
notify.ios_family notify.ios_family
{% endif %} {% endif %}
data: data:
message: "{{ value1 }} {{ value2 }} {{ value3 }}" message: "{{ ' '.join([value1|default('', true), value2|default('', true), value3|default('', true)]) | trim }}"
title: "{{ title|default('', true) }}" title: "{{ title|default('', true) }}"
data: data:
actions: actions:

View File

@@ -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"> <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> <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="0" stop-opacity=".1" stop-color="#EEE"/>
<stop offset="1" stop-opacity=".1"/> <stop offset="1" stop-opacity=".1"/>
</linearGradient> </linearGradient>
<mask id="RulHM"><rect width="685" height="200" rx="30" fill="#FFF"/></mask> <mask id="PVVTg"><rect width="685" height="200" rx="30" fill="#FFF"/></mask>
<g mask="url(#RulHM)"> <g mask="url(#PVVTg)">
<rect width="685" height="200" fill="#08C" x="0"/> <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>
<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="570" fill="#000" opacity="0.25">2025.12.0</text> <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