Compare commits

..

4 Commits

Author SHA1 Message Date
github-actions[bot]
3721935082 Update HA version badge to 2025.11.3 2025-12-02 17:06:19 +00:00
Carlo Costanzo
10714a953b Closes Convert to BUTTON from Switch
Fixes #1159
Switched everything to Buttoms but actually - didn't have any in production.

Refactor TPLink configurations by removing the deprecated tplink.yaml file and updating related components to use buttons instead of switches in logger and mqtt screens. Adjusted basketball shell script to reflect the same change.
2025-12-02 12:05:52 -05:00
github-actions[bot]
214657f4cc Update HA version badge to 2025.11.3 2025-12-02 14:50:38 +00:00
Carlo Costanzo
5071041fa3 create a spook repair issue when there are ProxMox updates. Notifications from ProxMox
Fixes #1494
2025-12-02 09:48:29 -05:00
7 changed files with 49 additions and 45 deletions

View File

@@ -41,7 +41,7 @@ logs:
homeassistant.components.sensor.pi_hole: critical
homeassistant.components.sensor.rest: info
homeassistant.components.sensor.darksky: warn
homeassistant.components.tplink.switch: error
homeassistant.components.tplink.button: error
homeassistant.components.unifi: error
homeassistant.components.device_tracker.unifi: error
homeassistant.components.switch.unifi: error

View File

@@ -1,16 +1,18 @@
#-------------------------------------------
# @CCOSTAN
######################################################################
# @CCOSTAN - Follow Me on X
# For more info visit https://www.vcloudinfo.com/click-here
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Proxmox Frigate Host - Nightly reboot schedule.
#-------------------------------------------
# -------------------------------------------------------------------
# Proxmox Host Automations - reboots and update alerts
# Nightly Frigate host reboot plus update repair issues.
# -------------------------------------------------------------------
# Notes: Creates HA repair issues when proxmox nodes report updates.
######################################################################
## Automates nightly reboot of the Frigate server via Proxmox API.
######################################################################
# More info: https://www.vcloudinfo.com/click-here
automation:
- alias: "Nightly Frigate Server Reboot"
id: nightly_frigate_reboot
description: "Reboots the Frigate server every day at 5 AM"
mode: single
trigger:
- platform: time
at: "05:00:00"
@@ -18,23 +20,39 @@ automation:
- service: button.press
target:
entity_id: button.qemu_docker2_101_reboot
mode: single
- alias: "Notify Carlo of Proxmox Updates"
id: notify_carlo_proxmox_updates
description: "Sends a notification to Carlo when there are updates available for the Proxmox hosts."
- alias: "Proxmox Updates Repair Issues"
id: proxmox_updates_repair
description: "Track repair issues when Proxmox hosts report updates."
mode: restart
trigger:
- platform: state
entity_id: binary_sensor.node_proxmox02_updates_packages
to: 'on'
- platform: state
entity_id: binary_sensor.node_proxmox1_updates_packages
to: 'on'
- platform: state
entity_id: binary_sensor.node_proxmox02_updates_packages
variables:
node_name: >
{% if 'proxmox1' in trigger.entity_id %}Proxmox1{% else %}Proxmox02{% endif %}
issue_id: >
{% if 'proxmox1' in trigger.entity_id %}
proxmox1_updates_available
{% else %}
proxmox02_updates_available
{% endif %}
action:
- service: script.notify_engine
data:
who: carlo
title: "Proxmox Updates Available"
value1: "There are updates available for the Proxmox hosts. Please review and apply updates as needed."
group: "information"
mode: single
- choose:
- conditions: "{{ trigger.to_state.state == 'on' }}"
sequence:
- service: repairs.create
data:
issue_id: "{{ issue_id }}"
severity: warning
persistent: false
title: "{{ node_name }} has updates available"
description: >
{{ trigger.entity_id }} is ON, indicating pending updates on {{ node_name }}.
Apply updates in Proxmox, then reload this sensor to clear the issue.
default:
- service: repairs.remove
data:
issue_id: "{{ issue_id }}"

View File

@@ -31,7 +31,7 @@ sensor:
monitored_conditions:
- chime_level
switch:
button:
- platform: skybell
monitored_conditions:
# - do_not_disturb

View File

@@ -1,12 +0,0 @@
#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
###################################
## TPink compatible Devices - https://www.vcloudinfo.com/2018/12/how-to-waterproof-your-outdoor-smart.html
TPLink no longer needed as it was moved into the UI.
###################################
tplink:
# discovery: false
switch:
- host: 192.168.10.116

View File

@@ -9,11 +9,9 @@ homeassistant:
friendly_name: 'Computer Screens'
icon: mdi:monitor-multiple
emulated_hue_
#-------------------------------------------
switch:
button:
- platform: mqtt
name: computer_screens
state_topic: 'carlo-ultra/monitor/all/power/state'

View File

@@ -251,7 +251,7 @@ light:
use_random_color: true
fade_out_rate: 50
switch:
button:
- platform: template
name: Basketball Status Lights
id: bb_on_lights_off

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.11.3">
<title>2025.11.3</title>
<linearGradient id="IZWFI" x2="0" y2="100%">
<linearGradient id="KbULv" x2="0" y2="100%">
<stop offset="0" stop-opacity=".1" stop-color="#EEE"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<mask id="Xulhr"><rect width="685" height="200" rx="30" fill="#FFF"/></mask>
<g mask="url(#Xulhr)">
<mask id="Yenil"><rect width="685" height="200" rx="30" fill="#FFF"/></mask>
<g mask="url(#Yenil)">
<rect width="685" height="200" fill="#08C" x="0"/>
<rect width="685" height="200" fill="url(#IZWFI)"/>
<rect width="685" height="200" fill="url(#KbULv)"/>
</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.11.3</text>

Before

Width:  |  Height:  |  Size: 815 B

After

Width:  |  Height:  |  Size: 815 B