]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Added missing disabled scripts
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Sun, 15 Mar 2020 13:28:31 +0000 (14:28 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Sun, 15 Mar 2020 13:28:31 +0000 (14:28 +0100)
sensor/system.yaml.disabled [new file with mode: 0644]
switch/shelly.yaml.disabled [new file with mode: 0644]

diff --git a/sensor/system.yaml.disabled b/sensor/system.yaml.disabled
new file mode 100644 (file)
index 0000000..a5db001
--- /dev/null
@@ -0,0 +1,17 @@
+######################################################################\r
+# Sensor: Uptime\r
+######################################################################\r
+#- platform: command_line\r
+#  name: Server Uptime\r
+#  unit_of_measurement: giorni\r
+#  scan_interval: 900\r
+#  command: "uptime | awk '{ print $3 }' |sed \"s/,//\""\r
+\r
+######################################################################\r
+# Sensor: Letsencrypt\r
+######################################################################\r
+- platform: command_line\r
+  name: Scadenza Certificato SSL\r
+  unit_of_measurement: giorni\r
+  scan_interval: 86400\r
+  command: "ssl-cert-check -b -c /etc/letsencrypt/live/server.giorgioravera.it/cert.pem | awk '{ print $NF }'"\r
diff --git a/switch/shelly.yaml.disabled b/switch/shelly.yaml.disabled
new file mode 100644 (file)
index 0000000..a22343c
--- /dev/null
@@ -0,0 +1,15 @@
+######################################################################
+# Switch: Shelly
+######################################################################
+
+- platform: mqtt
+  name: Presa TV
+  command_topic: "shellies/shellyplug-s-7A31CB/relay/0/command"
+  state_topic: "shellies/shellyplug-s-7A31CB/relay/0"
+  payload_on: "on"
+  payload_off: "off"
+  state_on: "on"
+  state_off: "off"
+  retain: false
+  qos: 0
+  optimistic: false