From 23f2963eb37c29a97b4e12d19ca3d823458c393d Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Sun, 15 Mar 2020 14:28:31 +0100 Subject: [PATCH] Added missing disabled scripts --- sensor/system.yaml.disabled | 17 +++++++++++++++++ switch/shelly.yaml.disabled | 15 +++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 sensor/system.yaml.disabled create mode 100644 switch/shelly.yaml.disabled diff --git a/sensor/system.yaml.disabled b/sensor/system.yaml.disabled new file mode 100644 index 00000000..a5db0014 --- /dev/null +++ b/sensor/system.yaml.disabled @@ -0,0 +1,17 @@ +###################################################################### +# Sensor: Uptime +###################################################################### +#- platform: command_line +# name: Server Uptime +# unit_of_measurement: giorni +# scan_interval: 900 +# command: "uptime | awk '{ print $3 }' |sed \"s/,//\"" + +###################################################################### +# Sensor: Letsencrypt +###################################################################### +- platform: command_line + name: Scadenza Certificato SSL + unit_of_measurement: giorni + scan_interval: 86400 + command: "ssl-cert-check -b -c /etc/letsencrypt/live/server.giorgioravera.it/cert.pem | awk '{ print $NF }'" diff --git a/switch/shelly.yaml.disabled b/switch/shelly.yaml.disabled new file mode 100644 index 00000000..a22343c9 --- /dev/null +++ b/switch/shelly.yaml.disabled @@ -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 -- 2.47.3