From 6b30e9e847b72e5f1735c15b5f565a7e88b4ee30 Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Sat, 20 Apr 2019 19:03:37 +0200 Subject: [PATCH] Added Torretti zone, light studio and badroom and minor changes --- cover/camera.yaml | 2 +- cover/cucina.yaml | 2 +- cover/sala.yaml | 2 +- cover/studio.yaml | 2 +- customizations/shelly.yaml | 6 ++++++ light/bagno.yaml | 4 ++-- light/camera.yaml | 13 +++++++++++++ light/corridoio.yaml | 2 +- light/cucina.yaml | 2 +- light/sala.yaml | 4 ++-- light/studio.yaml | 13 +++++++++++++ zone/torretti.yaml | 9 +++++++++ 12 files changed, 51 insertions(+), 10 deletions(-) create mode 100644 customizations/shelly.yaml create mode 100644 light/camera.yaml create mode 100644 light/studio.yaml create mode 100644 zone/torretti.yaml diff --git a/cover/camera.yaml b/cover/camera.yaml index cbafe193..df7720e5 100644 --- a/cover/camera.yaml +++ b/cover/camera.yaml @@ -14,4 +14,4 @@ position_closed: 0 retain: false optimistic: false - qos: 1 + qos: 0 diff --git a/cover/cucina.yaml b/cover/cucina.yaml index b16016be..c929712b 100644 --- a/cover/cucina.yaml +++ b/cover/cucina.yaml @@ -14,4 +14,4 @@ position_closed: 0 retain: false optimistic: false - qos: 1 + qos: 0 diff --git a/cover/sala.yaml b/cover/sala.yaml index 5e7ef165..9d04f4fe 100644 --- a/cover/sala.yaml +++ b/cover/sala.yaml @@ -14,4 +14,4 @@ position_closed: 0 retain: false optimistic: false - qos: 1 + qos: 0 diff --git a/cover/studio.yaml b/cover/studio.yaml index afcf7791..a82a9249 100644 --- a/cover/studio.yaml +++ b/cover/studio.yaml @@ -14,4 +14,4 @@ position_closed: 0 retain: false optimistic: false - qos: 1 + qos: 0 diff --git a/customizations/shelly.yaml b/customizations/shelly.yaml new file mode 100644 index 00000000..17603c23 --- /dev/null +++ b/customizations/shelly.yaml @@ -0,0 +1,6 @@ +###################################################################### +# Shelly Customizations +###################################################################### + +script.shelly_upgrade: + icon: mdi:cellphone-arrow-down diff --git a/light/bagno.yaml b/light/bagno.yaml index 6e24966d..3e129096 100644 --- a/light/bagno.yaml +++ b/light/bagno.yaml @@ -9,7 +9,7 @@ payload_on: "on" payload_off: "off" retain: false - qos: 1 + qos: 0 optimistic: false ###################################################################### @@ -23,5 +23,5 @@ payload_on: "on" payload_off: "off" retain: false - qos: 1 + qos: 0 optimistic: false diff --git a/light/camera.yaml b/light/camera.yaml new file mode 100644 index 00000000..cf9917a4 --- /dev/null +++ b/light/camera.yaml @@ -0,0 +1,13 @@ +###################################################################### +# Badroom Light +###################################################################### + +- platform: mqtt + name: Luce Camera + command_topic: "shellies/shelly1-24D1A8/relay/0/command" + state_topic: "shellies/shelly1-24D1A8/relay/0" + payload_on: "on" + payload_off: "off" + retain: false + qos: 0 + optimistic: false diff --git a/light/corridoio.yaml b/light/corridoio.yaml index 113bb6c8..011e074e 100644 --- a/light/corridoio.yaml +++ b/light/corridoio.yaml @@ -9,5 +9,5 @@ payload_on: "on" payload_off: "off" retain: false - qos: 1 + qos: 0 optimistic: false diff --git a/light/cucina.yaml b/light/cucina.yaml index 9c2bd69a..3b89a7df 100644 --- a/light/cucina.yaml +++ b/light/cucina.yaml @@ -9,5 +9,5 @@ payload_on: "on" payload_off: "off" retain: false - qos: 1 + qos: 0 optimistic: false diff --git a/light/sala.yaml b/light/sala.yaml index 3535ec74..7aa1e05f 100644 --- a/light/sala.yaml +++ b/light/sala.yaml @@ -83,7 +83,7 @@ - On/Off Graduale - Rosso/Verde retain: false - qos: 1 + qos: 0 optimistic: false ###################################################################### @@ -122,5 +122,5 @@ brightness_template: '{{ (value_json.brightness/100*255)|int }}' color_temp_template: "{{ (1000000/(((float(value_json.temp)-3000)/3500*4500)+2000)) | int }}" retain: false - qos: 1 + qos: 0 optimistic: false diff --git a/light/studio.yaml b/light/studio.yaml new file mode 100644 index 00000000..f7c030ad --- /dev/null +++ b/light/studio.yaml @@ -0,0 +1,13 @@ +###################################################################### +# Studio Light +###################################################################### + +- platform: mqtt + name: Luce Studio + command_topic: "shellies/shelly1-59E18C/relay/0/command" + state_topic: "shellies/shelly1-59E18C/relay/0" + payload_on: "on" + payload_off: "off" + retain: false + qos: 0 + optimistic: false diff --git a/zone/torretti.yaml b/zone/torretti.yaml new file mode 100644 index 00000000..5637012f --- /dev/null +++ b/zone/torretti.yaml @@ -0,0 +1,9 @@ +###################################################################### +# Zone: Hotel Torretti +###################################################################### + +name: Torretti +latitude: !secret torretti_latitude +longitude: !secret torretti_longitude +radius: 50 +icon: mdi:hotel -- 2.47.3