From a6bdd9d5a25cc4c03761d16e4499165245191197 Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Tue, 19 Dec 2023 20:28:29 +0100 Subject: [PATCH] Updated several packages (qnap, proxmox, guard_mode, fritz, error, central_heating) --- packages/central_heating.yaml | 27 +++++++++++ packages/errors.yaml | 29 ++++++++++++ packages/fritz.yaml | 89 +++++++++++++++++++++++++++-------- packages/guard_mode.yaml | 35 ++++++++++++-- packages/proxmox.yaml | 23 +++++++-- packages/qnap.yaml | 60 +++++++++++++++++------ 6 files changed, 221 insertions(+), 42 deletions(-) diff --git a/packages/central_heating.yaml b/packages/central_heating.yaml index d44471b4..ddf5412a 100644 --- a/packages/central_heating.yaml +++ b/packages/central_heating.yaml @@ -1,3 +1,30 @@ +###################################################################### +# Central Heating Package - Customizations +###################################################################### + +homeassistant: + customize: + + ###################################################################### + # Central Heating Package - Customizations - General Package Settings + ###################################################################### + + package.central_heating: + customize: &customize + package: 'central_heating' + version: 1.0.0 + + ###################################################################### + # Central Heating Package - Customizations - Entities + ###################################################################### + + binary_sensor.central_heating: + <<: *customize + input_boolean.central_heating: + <<: *customize + automation.riscaldamento_centralizzato: + <<: *customize + ###################################################################### # Central Heating Package - Binary Sensor ###################################################################### diff --git a/packages/errors.yaml b/packages/errors.yaml index 06665d45..50670496 100644 --- a/packages/errors.yaml +++ b/packages/errors.yaml @@ -1,3 +1,32 @@ +###################################################################### +# Errors Package - Customizations +###################################################################### + +homeassistant: + customize: + + ###################################################################### + # Errors Package - Customizations - General Package Settings + ###################################################################### + + package.errors: + customize: &customize + package: 'errors' + version: 1.0.0 + + ###################################################################### + # Errors Package - Customizations - Entities + ###################################################################### + + binary_sensor.home_assistant_error: + <<: *customize + input_boolean.home_assistant_error: + <<: *customize + automation.home_assistant_errori_insorgenza_errore: + <<: *customize + automation.home_assistant_errori_scomparsa_errore: + <<: *customize + ###################################################################### # Errors Package - Binary Sensor ###################################################################### diff --git a/packages/fritz.yaml b/packages/fritz.yaml index 90147cd4..c37c24ca 100644 --- a/packages/fritz.yaml +++ b/packages/fritz.yaml @@ -1,23 +1,72 @@ +###################################################################### +# Errors Package - Customizations +###################################################################### + +homeassistant: + customize: + + ###################################################################### + # Errors Package - Customizations - General Package Settings + ###################################################################### + + package.fritz: + customize: &customize + package: 'fritz' + version: 1.0.0 + + ###################################################################### + # Errors Package - Customizations - Entities + ###################################################################### + +# switch.fritz_led: +# <<: *customize +# switch.ap1_led: +# <<: *customize + shell_command.fritz_reboot: + <<: *customize + icon: mdi:restart + shell_command.fritz_reconnect: + <<: *customize + icon: mdi:connection +# shell_command.fritz_led_on: +# <<: *customize +# icon: mdi:led-on +# shell_command.fritz_led_off: +# <<: *customize +# icon: mdi:led-off + shell_command.ap1_reboot: + <<: *customize + icon: mdi:restart + shell_command.ap1_reconnect: + <<: *customize + icon: mdi:connection +# shell_command.ap1_led_on: +# <<: *customize +# icon: mdi:led-on +# shell_command.ap1_led_off: +# <<: *customize +# icon: mdi:led-off + ###################################################################### # Fritz Package - Switch ###################################################################### -switch: - - platform: template - switches: - fritz_led: - turn_on: - service: shell_command.fritz_led_on - turn_off: - service: shell_command.fritz_led_off - - - platform: template - switches: - ap1_led: - turn_on: - service: shell_command.ap1_led_on - turn_off: - service: shell_command.ap1_led_off +#switch: +# - platform: template +# switches: +# fritz_led: +# turn_on: +# service: shell_command.fritz_led_on +# turn_off: +# service: shell_command.fritz_led_off + +# - platform: template +# switches: +# ap1_led: +# turn_on: +# service: shell_command.ap1_led_on +# turn_off: +# service: shell_command.ap1_led_off ###################################################################### # Fritz Package - Fritz Command @@ -25,9 +74,9 @@ switch: shell_command: fritz_reboot: 'bash /config/shell_scripts/fritzBox.sh fritz REBOOT Box' fritz_reconnect: 'bash /config/shell_scripts/fritzBox.sh fritz WAN RECONNECT' - fritz_led_on: 'bash /config/shell_scripts/fritzBox.sh fritz LED 1' - fritz_led_off: 'bash /config/shell_scripts/fritzBox.sh fritz LED 0' +# fritz_led_on: 'bash /config/shell_scripts/fritzBox.sh fritz LED 1' +# fritz_led_off: 'bash /config/shell_scripts/fritzBox.sh fritz LED 0' ap1_reboot: 'bash /config/shell_scripts/fritzBox.sh ap1 REBOOT Box' ap1_reconnect: 'bash /config/shell_scripts/fritzBox.sh ap1 WAN RECONNECT' - ap1_led_on: 'bash /config/shell_scripts/fritzBox.sh ap1 LED 1' - ap1_led_off: 'bash /config/shell_scripts/fritzBox.sh ap1 LED 0' +# ap1_led_on: 'bash /config/shell_scripts/fritzBox.sh ap1 LED 1' +# ap1_led_off: 'bash /config/shell_scripts/fritzBox.sh ap1 LED 0' diff --git a/packages/guard_mode.yaml b/packages/guard_mode.yaml index fea5f898..a1001b39 100644 --- a/packages/guard_mode.yaml +++ b/packages/guard_mode.yaml @@ -1,5 +1,34 @@ ###################################################################### -# Alarm Package - Guard Mode - Binary Sensor +# Guard Mode Package - Customizations +###################################################################### + +homeassistant: + customize: + + ###################################################################### + # Guard Mode Package - Customizations - General Package Settings + ###################################################################### + + package.guard_mode: + customize: &customize + package: 'guard_mode' + version: 1.0.0 + + ###################################################################### + # Guard Mode Package - Customizations - Entities + ###################################################################### + + binary_sensor.guard_mode: + <<: *customize + input_boolean.guard_mode: + <<: *customize + automation.modalita_guardia_attivazione: + <<: *customize + automation.modalita_guardia_disattivazione: + <<: *customize + +###################################################################### +# Guard Mode Package - Binary Sensor ###################################################################### binary_sensor: @@ -17,7 +46,7 @@ binary_sensor: {% endif %} ###################################################################### -# Alarm Package - Guard Mode - Input Booleans +# Guard Mode Package - Input Booleans ###################################################################### input_boolean: @@ -27,7 +56,7 @@ input_boolean: icon: mdi:shield-home ###################################################################### -# Alarm Package - Guard Mode - Automations +# Guard Mode Package - Automations ###################################################################### automation: diff --git a/packages/proxmox.yaml b/packages/proxmox.yaml index 7e2843f2..ef63fff9 100644 --- a/packages/proxmox.yaml +++ b/packages/proxmox.yaml @@ -1,22 +1,37 @@ ###################################################################### -# Proxmox Package: Customizations +# Proxmox Package - Customizations ###################################################################### homeassistant: customize: + + ###################################################################### + # Proxmox Package - Customizations - General Package Settings + ###################################################################### + + package.proxmox: + customize: &customize + package: 'proxmox' + version: 1.0.0 + + ###################################################################### + # Proxmox Package - Customizations - Entities + ###################################################################### + binary_sensor.pve_server: + <<: *customize friendly_name: VM Server icon: mdi:debian - binary_sensor.pve_docker: + <<: *customize friendly_name: VM Docker icon: mdi:docker - binary_sensor.pve_firewall: + <<: *customize friendly_name: VM Firewall icon: mdi:freebsd - binary_sensor.pve_asterisk: + <<: *customize friendly_name: VM Asterisk icon: mdi:asterisk-circle-outline diff --git a/packages/qnap.yaml b/packages/qnap.yaml index ada6bf95..5d121760 100644 --- a/packages/qnap.yaml +++ b/packages/qnap.yaml @@ -1,3 +1,48 @@ +###################################################################### +# QNAP Package - Customizations +###################################################################### + +homeassistant: + customize: + + ###################################################################### + # QNAP Package - Customizations - General Package Settings + ###################################################################### + + package.qnap: + customize: &customize + package: 'qnap' + version: 1.0.0 + + ###################################################################### + # QNAP Package - Customizations - Entities + ###################################################################### + + switch.nas: + <<: *customize + icon: mdi:nas + shell_command.nas_turn_off: + <<: *customize + icon: mdi:power-settings + shell_command.plex_start: + <<: *customize + icon: mdi:plex + shell_command.plex_restart: + <<: *customize + icon: mdi:plex + shell_command.plex_stop: + <<: *customize + icon: mdi:plex + script.plex_start: + <<: *customize + icon: mdi:plex + script.plex_restart: + <<: *customize + icon: mdi:plex + script.plex_stop: + <<: *customize + icon: mdi:plex + ###################################################################### # QNAP Package - Switch ###################################################################### @@ -70,18 +115,3 @@ google_assistant: name: Ferma Plex expose: true room: Routine - -###################################################################### -# QNAP Package - Customizations -###################################################################### - -homeassistant: - customize: - switch.nas: - icon: mdi:nas - script.plex_start: - icon: mdi:plex - script.plex_restart: - icon: mdi:plex - script.plex_stop: - icon: mdi:plex -- 2.47.3