From: Giorgio Ravera Date: Thu, 11 Apr 2019 12:52:35 +0000 (+0200) Subject: Added sala light (not working for the moment X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=27e8d45c5cdf61a35bcb7b6df7b519b1926349e8;p=homeassistant.git Added sala light (not working for the moment --- diff --git a/cover/all.yaml b/cover/all.yaml new file mode 100644 index 00000000..6a7bc094 --- /dev/null +++ b/cover/all.yaml @@ -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 index 6a7bc094..00000000 --- a/cover/all_covers.yaml +++ /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 index 00000000..329a0555 --- /dev/null +++ b/cover/camera.yaml @@ -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 index 00000000..63a103aa --- /dev/null +++ b/cover/cucina.yaml @@ -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 index 00000000..b408c665 --- /dev/null +++ b/cover/sala.yaml @@ -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 index 63a103aa..00000000 --- a/cover/shelly1.yaml +++ /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 index b408c665..00000000 --- a/cover/shelly2.yaml +++ /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 index e4c6b06b..00000000 --- a/cover/shelly3.yaml +++ /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 index 329a0555..00000000 --- a/cover/shelly4.yaml +++ /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 index 00000000..e4c6b06b --- /dev/null +++ b/cover/studio.yaml @@ -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 index 00000000..0f35d5a4 --- /dev/null +++ b/light/sala.yaml @@ -0,0 +1,30 @@ +###################################################################### +# Living Room Cover +###################################################################### + +- platform: mqtt + name: Luce Divano + command_topic: "shellies/shellybulb-/color/0/command" + state_topic: "shellies/shellybulb-/color/0" + payload_on: "on" + payload_cff: "off" + + brightness_command_topic: "shellies/shellybulb-/color/0/set" + brightness_scale: 100 + brightness_state_topic: "shellies/shellybulb-/color/0/status" + + color_temp_command_template: + color_temp_command_topic: "shellies/shellybulb-/color/0/set" + color_temp_state_topic: + color_temp_value_template: + + effect_command_topic: "shellies/shellybulb-/color/0/set" + hs_command_topic: "shellies/shellybulb-/color/0/set" + rgb_command_topic: "shellies/shellybulb-/color/0/set" + white_value_command_topic: "shellies/shellybulb-/color/0/set" + xy_command_topic: "shellies/shellybulb-/color/0/set" + + qos: 0 + retain: false + + optimistic: false