]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Removed extra spaces
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 14 Dec 2020 11:15:55 +0000 (12:15 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 14 Dec 2020 11:15:55 +0000 (12:15 +0100)
light/camera.yaml
light/sala.yaml

index 6b097dd8e7b71af577710c549346e7e8ba70e723..b030c6624620c8120c60072a40a0850e70e79d6a 100644 (file)
@@ -6,7 +6,7 @@
   schema: template
   name: Luce Camera
   state_topic: "shellies/shellydimmer-D46CF2/light/0/status"
-  state_template: > 
+  state_template: >
     {% if value_json.ison %}
       on
     {% else %}
   command_topic: "shellies/shellydimmer-D46CF2/light/0/set"
   command_on_template: >
     {"turn": "on"
-      {% if brightness is defined %} 
+      {% if brightness is defined %}
         , "brightness": {{ brightness | float | multiply(0.3922) | round(0) }}
       {% endif %}
-    }  
+    }
   command_off_template: '{ "turn" : "off" }'
-  brightness_template: "{{ value_json.brightness | float | multiply(2.55) | round(0) }}"  
+  brightness_template: "{{ value_json.brightness | float | multiply(2.55) | round(0) }}"
   retain: false
   qos: 0
   optimistic: false
index 44c057c911aabfdf13e39ea9b73521302e109137..e3470409e322998471b42d404b60527d16fffb7c 100644 (file)
@@ -6,7 +6,7 @@
   schema: template
   name: Luce Sala
   state_topic: "shellies/shellydimmer-D3EA58/light/0/status"
-  state_template: > 
+  state_template: >
     {% if value_json.ison %}
       on
     {% else %}
   command_topic: "shellies/shellydimmer-D3EA58/light/0/set"
   command_on_template: >
     {"turn": "on"
-      {% if brightness is defined %} 
+      {% if brightness is defined %}
         , "brightness": {{ brightness | float | multiply(0.3922) | round(0) }}
       {% endif %}
-    }  
+    }
   command_off_template: '{ "turn" : "off" }'
-  brightness_template: "{{ value_json.brightness | float | multiply(2.55) | round(0) }}"  
+  brightness_template: "{{ value_json.brightness | float | multiply(2.55) | round(0) }}"
   retain: false
   qos: 0
   optimistic: false
@@ -73,7 +73,7 @@
     {
       "turn": "off",
       "mode": "color"
-    }  
+    }
   state_template: >
     {% if value_json.ison == true and value_json.mode == "color" %}
       on
@@ -84,7 +84,7 @@
   red_template: '{{ value_json.red }}'
   green_template: '{{ value_json.green }}'
   blue_template: '{{ value_json.blue }}'
-  white_value_template: '{{ value_json.white }}'    
+  white_value_template: '{{ value_json.white }}'
   effect_template: >
     {%- if value_json.effect == 1 -%}
       Pioggia di Meteore
 #      "turn": "off",
 #      "mode": "white",
 #      "effect": 0
-#    }  
+#    }
 #  state_template: >
 #    {% if value_json.ison == true and value_json.mode == "white" %}
 #      on