From 2ec8ddf70e652e245c1ddf88c04529534647d3c2 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sat, 6 Aug 2022 02:45:16 +0200 Subject: [PATCH] Add speed change for blinds in alarm clock --- configuration/automations/alarm-clock.yaml | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/configuration/automations/alarm-clock.yaml b/configuration/automations/alarm-clock.yaml index e7b161d..fd2894c 100644 --- a/configuration/automations/alarm-clock.yaml +++ b/configuration/automations/alarm-clock.yaml @@ -6,6 +6,33 @@ offset: '-0:30:0' entity_id: calendar.automations_wakeup action: + # Set speed for blinds + - service: zha.issue_zigbee_cluster_command + data: + ieee: '84:71:27:ff:fe:d3:3a:e9' # Bedroom Blind Left + command: 0x0006 + command_type: server + endpoint_id: 1 + cluster_id: 258 + args: + - 0 + - 0 + - 0x69 + - 0 + - [ 4, 0, 0, 0, 10 ] + - service: zha.issue_zigbee_cluster_command + data: + ieee: '84:71:27:ff:fe:cf:cd:ec' # Bedroom Blind Right + command: 0x0006 + command_type: server + endpoint_id: 1 + cluster_id: 258 + args: + - 0 + - 0 + - 0x69 + - 0 + - [ 4, 0, 0, 0, 10 ] - service: automation.turn_off target: entity_id: @@ -72,4 +99,31 @@ - light.bedroom_lights - light.bed_lamps - light.bed_lightstrip + # Set back speed for blinds + - service: zha.issue_zigbee_cluster_command + data: + ieee: '84:71:27:ff:fe:d3:3a:e9' # Bedroom Blind Left + command: 0x0006 + command_type: server + endpoint_id: 1 + cluster_id: 258 + args: + - 0 + - 0 + - 0x69 + - 0 + - [ 4, 0, 0, 0, 100 ] + - service: zha.issue_zigbee_cluster_command + data: + ieee: '84:71:27:ff:fe:cf:cd:ec' # Bedroom Blind Right + command: 0x0006 + command_type: server + endpoint_id: 1 + cluster_id: 258 + args: + - 0 + - 0 + - 0x69 + - 0 + - [ 4, 0, 0, 0, 100 ] mode: single