]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Added sala light (not working for the moment
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Thu, 11 Apr 2019 12:52:35 +0000 (14:52 +0200)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Thu, 11 Apr 2019 12:52:35 +0000 (14:52 +0200)
cover/all.yaml [new file with mode: 0644]
cover/all_covers.yaml [deleted file]
cover/camera.yaml [new file with mode: 0644]
cover/cucina.yaml [new file with mode: 0644]
cover/sala.yaml [new file with mode: 0644]
cover/shelly1.yaml [deleted file]
cover/shelly2.yaml [deleted file]
cover/shelly3.yaml [deleted file]
cover/shelly4.yaml [deleted file]
cover/studio.yaml [new file with mode: 0644]
light/sala.yaml [new file with mode: 0644]

diff --git a/cover/all.yaml b/cover/all.yaml
new file mode 100644 (file)
index 0000000..6a7bc09
--- /dev/null
@@ -0,0 +1,34 @@
+######################################################################
+# Global Cover
+######################################################################
+
+- platform: template
+  covers:
+    all_covers:
+      friendly_name: "Tapparelle Globale"
+      open_cover:
+        service: script.all_covers_operation
+        data:
+          modus: 'open'
+      close_cover:
+        service: script.all_covers_operation
+        data:
+          modus: 'close'
+      stop_cover:
+        service: script.all_covers_operation
+        data:
+          modus: 'stop'
+      set_cover_position: 
+        service: script.all_covers_position
+        data_template:
+          position: "{{ position }}"
+#      value_template: 
+#      icon_template: >-
+#        {% if is_state('sensor.all_covers', 'open') %}
+#          mdi:window-open
+#        {% else %}
+#          mdi:window-closed
+#        {% endif %}
+#      entity_id:
+#        - cover.bedroom
+#        - cover.livingroom
diff --git a/cover/all_covers.yaml b/cover/all_covers.yaml
deleted file mode 100644 (file)
index 6a7bc09..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-######################################################################
-# Global Cover
-######################################################################
-
-- platform: template
-  covers:
-    all_covers:
-      friendly_name: "Tapparelle Globale"
-      open_cover:
-        service: script.all_covers_operation
-        data:
-          modus: 'open'
-      close_cover:
-        service: script.all_covers_operation
-        data:
-          modus: 'close'
-      stop_cover:
-        service: script.all_covers_operation
-        data:
-          modus: 'stop'
-      set_cover_position: 
-        service: script.all_covers_position
-        data_template:
-          position: "{{ position }}"
-#      value_template: 
-#      icon_template: >-
-#        {% if is_state('sensor.all_covers', 'open') %}
-#          mdi:window-open
-#        {% else %}
-#          mdi:window-closed
-#        {% endif %}
-#      entity_id:
-#        - cover.bedroom
-#        - cover.livingroom
diff --git a/cover/camera.yaml b/cover/camera.yaml
new file mode 100644 (file)
index 0000000..329a055
--- /dev/null
@@ -0,0 +1,17 @@
+######################################################################
+# Bedroom Cover
+######################################################################
+
+- platform: mqtt
+  name: Tapparella Camera
+  command_topic: "shellies/shellyswitch-559C49/roller/0/command"
+  position_topic: "shellies/shellyswitch-559C49/roller/0/pos"
+  set_position_topic: "shellies/shellyswitch-559C49/roller/0/command/pos"
+  qos: 0
+  retain: false
+  payload_open: "open"
+  payload_close: "close"
+  payload_stop: "stop"
+  position_open: 100
+  position_closed: 0
+  optimistic: false
diff --git a/cover/cucina.yaml b/cover/cucina.yaml
new file mode 100644 (file)
index 0000000..63a103a
--- /dev/null
@@ -0,0 +1,17 @@
+######################################################################
+# Kitchen Cover
+######################################################################
+
+- platform: mqtt
+  name: Tapparella Cucina
+  command_topic: "shellies/shellyswitch-55980F/roller/0/command"
+  position_topic: "shellies/shellyswitch-55980F/roller/0/pos"
+  set_position_topic: "shellies/shellyswitch-55980F/roller/0/command/pos"
+  qos: 0
+  retain: false
+  payload_open: "open"
+  payload_close: "close"
+  payload_stop: "stop"
+  position_open: 100
+  position_closed: 0
+  optimistic: false
diff --git a/cover/sala.yaml b/cover/sala.yaml
new file mode 100644 (file)
index 0000000..b408c66
--- /dev/null
@@ -0,0 +1,17 @@
+######################################################################
+# Living Room Cover
+######################################################################
+
+- platform: mqtt
+  name: Tapparella Sala
+  command_topic: "shellies/shellyswitch-135454/roller/0/command"
+  position_topic: "shellies/shellyswitch-135454/roller/0/pos"
+  set_position_topic: "shellies/shellyswitch-135454/roller/0/command/pos"
+  qos: 0
+  retain: false
+  payload_open: "open"
+  payload_close: "close"
+  payload_stop: "stop"
+  position_open: 100
+  position_closed: 0
+  optimistic: false
diff --git a/cover/shelly1.yaml b/cover/shelly1.yaml
deleted file mode 100644 (file)
index 63a103a..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-######################################################################
-# Kitchen Cover
-######################################################################
-
-- platform: mqtt
-  name: Tapparella Cucina
-  command_topic: "shellies/shellyswitch-55980F/roller/0/command"
-  position_topic: "shellies/shellyswitch-55980F/roller/0/pos"
-  set_position_topic: "shellies/shellyswitch-55980F/roller/0/command/pos"
-  qos: 0
-  retain: false
-  payload_open: "open"
-  payload_close: "close"
-  payload_stop: "stop"
-  position_open: 100
-  position_closed: 0
-  optimistic: false
diff --git a/cover/shelly2.yaml b/cover/shelly2.yaml
deleted file mode 100644 (file)
index b408c66..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-######################################################################
-# Living Room Cover
-######################################################################
-
-- platform: mqtt
-  name: Tapparella Sala
-  command_topic: "shellies/shellyswitch-135454/roller/0/command"
-  position_topic: "shellies/shellyswitch-135454/roller/0/pos"
-  set_position_topic: "shellies/shellyswitch-135454/roller/0/command/pos"
-  qos: 0
-  retain: false
-  payload_open: "open"
-  payload_close: "close"
-  payload_stop: "stop"
-  position_open: 100
-  position_closed: 0
-  optimistic: false
diff --git a/cover/shelly3.yaml b/cover/shelly3.yaml
deleted file mode 100644 (file)
index e4c6b06..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-######################################################################
-# Office Cover
-######################################################################
-
-- platform: mqtt
-  name: Tapparella Studio
-  command_topic: "shellies/shellyswitch-13572B/roller/0/command"
-  position_topic: "shellies/shellyswitch-13572B/roller/0/pos"
-  set_position_topic: "shellies/shellyswitch-13572B/roller/0/command/pos"
-  qos: 0
-  retain: false
-  payload_open: "open"
-  payload_close: "close"
-  payload_stop: "stop"
-  position_open: 100
-  position_closed: 0
-  optimistic: false
diff --git a/cover/shelly4.yaml b/cover/shelly4.yaml
deleted file mode 100644 (file)
index 329a055..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-######################################################################
-# Bedroom Cover
-######################################################################
-
-- platform: mqtt
-  name: Tapparella Camera
-  command_topic: "shellies/shellyswitch-559C49/roller/0/command"
-  position_topic: "shellies/shellyswitch-559C49/roller/0/pos"
-  set_position_topic: "shellies/shellyswitch-559C49/roller/0/command/pos"
-  qos: 0
-  retain: false
-  payload_open: "open"
-  payload_close: "close"
-  payload_stop: "stop"
-  position_open: 100
-  position_closed: 0
-  optimistic: false
diff --git a/cover/studio.yaml b/cover/studio.yaml
new file mode 100644 (file)
index 0000000..e4c6b06
--- /dev/null
@@ -0,0 +1,17 @@
+######################################################################
+# Office Cover
+######################################################################
+
+- platform: mqtt
+  name: Tapparella Studio
+  command_topic: "shellies/shellyswitch-13572B/roller/0/command"
+  position_topic: "shellies/shellyswitch-13572B/roller/0/pos"
+  set_position_topic: "shellies/shellyswitch-13572B/roller/0/command/pos"
+  qos: 0
+  retain: false
+  payload_open: "open"
+  payload_close: "close"
+  payload_stop: "stop"
+  position_open: 100
+  position_closed: 0
+  optimistic: false
diff --git a/light/sala.yaml b/light/sala.yaml
new file mode 100644 (file)
index 0000000..0f35d5a
--- /dev/null
@@ -0,0 +1,30 @@
+######################################################################
+# Living Room Cover
+######################################################################
+
+- platform: mqtt
+  name: Luce Divano
+  command_topic: "shellies/shellybulb-<deviceid>/color/0/command"
+  state_topic: "shellies/shellybulb-<deviceid>/color/0"
+  payload_on: "on"
+  payload_cff: "off"
+
+  brightness_command_topic: "shellies/shellybulb-<deviceid>/color/0/set"
+  brightness_scale: 100
+  brightness_state_topic: "shellies/shellybulb-<deviceid>/color/0/status"
+
+  color_temp_command_template: 
+  color_temp_command_topic: "shellies/shellybulb-<deviceid>/color/0/set"
+  color_temp_state_topic: 
+  color_temp_value_template: 
+
+  effect_command_topic: "shellies/shellybulb-<deviceid>/color/0/set"
+  hs_command_topic: "shellies/shellybulb-<deviceid>/color/0/set"
+  rgb_command_topic: "shellies/shellybulb-<deviceid>/color/0/set"
+  white_value_command_topic: "shellies/shellybulb-<deviceid>/color/0/set"
+  xy_command_topic: "shellies/shellybulb-<deviceid>/color/0/set"
+  
+  qos: 0
+  retain: false
+
+  optimistic: false