]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Updated several packages (qnap, proxmox, guard_mode, fritz, error, central_heating)
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 19 Dec 2023 19:28:29 +0000 (20:28 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 19 Dec 2023 19:28:29 +0000 (20:28 +0100)
packages/central_heating.yaml
packages/errors.yaml
packages/fritz.yaml
packages/guard_mode.yaml
packages/proxmox.yaml
packages/qnap.yaml

index d44471b46d329f250fd14518a06fce8a4b48ea70..ddf5412a022f7a523b674ab35bbe2514678e9bac 100644 (file)
@@ -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
 ######################################################################
index 06665d45d4f3f587829d6b537d81557c7aa89724..506704963bf4536ce1f182275692e2537c154535 100644 (file)
@@ -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
 ######################################################################
index 90147cd4c0c324d45db88619625cd37d00647866..c37c24ca223801ce15e7c100e655ba5f41aaaba1 100644 (file)
@@ -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'
index fea5f898991a32bc04ddef35a55c1afa1f63e801..a1001b3956df4c20012eb440a6f673aa1cbc62a6 100644 (file)
@@ -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:
index 7e2843f276d08955ea329a59aafb7ad76032fbfa..ef63fff915c39b0460a8e3286b285ceb92b8bad0 100644 (file)
@@ -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
 
index ada6bf95d69bd0d9dcae51b62d22fd173eda145e..5d121760260e42666af05278f8ba0bbc542e0ca9 100644 (file)
@@ -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