This commit is contained in:
darthsandmann
2022-08-09 11:21:13 +02:00
parent 1f3c4e8b6e
commit e46c7eadab
18 changed files with 65 additions and 94 deletions

View File

@ -1,8 +1,7 @@
script:
#----------------------------------------------------------------------------------#
# L/R
#----------------------------------------------------------------------------------#
# Left
#----------------------------------------------------------------------------------#
pos_left_incr:
alias: pos_left_incr
sequence:
@ -39,7 +38,9 @@ script:
target:
entity_id: timer.pos_timer
mode: single
#----------------------------------------------------------------------------------#
# Right
#----------------------------------------------------------------------------------#
pos_right_incr:
alias: pos_right_incr
sequence:
@ -77,10 +78,9 @@ script:
entity_id: timer.pos_timer
mode: single
#----------------------------------------------------------------------------------#
# Up/Down
#----------------------------------------------------------------------------------#
# Up
#----------------------------------------------------------------------------------#
pos_up:
alias: pos_up
sequence:
@ -169,7 +169,9 @@ script:
target:
entity_id: scene.light_bright
mode: single
#----------------------------------------------------------------------------------#
# Down
#----------------------------------------------------------------------------------#
pos_down:
alias: pos_down
sequence:

View File

@ -5,12 +5,14 @@ automation:
# Button Left: Pos Left
- alias: button_pos_left
trigger:
# Bed
- platform: device
domain: mqtt
device_id: 4f9d195bf907da59e1461a5d2404f606
type: action
subtype: arrow_left_click
discovery_id: 0x0c4314fffee0bb44 action_arrow_left_click
# Door
- platform: device
domain: mqtt
device_id: 5e67efdee83ccceaac84046dfc6c735e
@ -24,12 +26,14 @@ automation:
# Button Left: Pos Right
- alias: button_pos_right
trigger:
# Bed
- platform: device
domain: mqtt
device_id: 4f9d195bf907da59e1461a5d2404f606
type: action
subtype: arrow_right_click
discovery_id: 0x0c4314fffee0bb44 action_arrow_right_click
# Door
- platform: device
domain: mqtt
device_id: 5e67efdee83ccceaac84046dfc6c735e
@ -47,18 +51,21 @@ automation:
# Up
- alias: button_up
trigger:
# Desk
- platform: device
domain: mqtt
device_id: 121e4230e41feb19254fa92ed5335760
type: action
subtype: "on"
discovery_id: 0x2c1165fffebebf6d action_on
# Bed
- platform: device
domain: mqtt
device_id: 4f9d195bf907da59e1461a5d2404f606
type: action
subtype: "on"
discovery_id: 0x0c4314fffee0bb44 action_on
# Door
- platform: device
domain: mqtt
device_id: 5e67efdee83ccceaac84046dfc6c735e
@ -71,18 +78,21 @@ automation:
# Down
- alias: button_down
trigger:
# Desk
- platform: device
domain: mqtt
device_id: 121e4230e41feb19254fa92ed5335760
type: action
subtype: "off"
discovery_id: 0x2c1165fffebebf6d action_off
# Bed
- platform: device
domain: mqtt
device_id: 4f9d195bf907da59e1461a5d2404f606
type: action
subtype: "off"
discovery_id: 0x0c4314fffee0bb44 action_off
# Door
- platform: device
domain: mqtt
device_id: 5e67efdee83ccceaac84046dfc6c735e