--- /dev/null
+######################################################################
+# 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
+++ /dev/null
-######################################################################
-# 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
--- /dev/null
+######################################################################
+# 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
--- /dev/null
+######################################################################
+# 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
--- /dev/null
+######################################################################
+# 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
+++ /dev/null
-######################################################################
-# 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
+++ /dev/null
-######################################################################
-# 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
+++ /dev/null
-######################################################################
-# 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
+++ /dev/null
-######################################################################
-# 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
--- /dev/null
+######################################################################
+# 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
--- /dev/null
+######################################################################
+# 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