updates
This commit is contained in:
parent
c74c45998c
commit
ff461a4048
@ -31,12 +31,12 @@ script:
|
||||
target:
|
||||
entity_id: input_number.pos_left
|
||||
# Restart/Start the timer
|
||||
- service: timer.cancel
|
||||
target:
|
||||
entity_id: timer.pos_timer
|
||||
- service: timer.start
|
||||
target:
|
||||
entity_id: timer.pos_timer
|
||||
# - service: timer.cancel
|
||||
# target:
|
||||
# entity_id: timer.pos_timer
|
||||
# - service: timer.start
|
||||
# target:
|
||||
# entity_id: timer.pos_timer
|
||||
mode: single
|
||||
#----------------------------------------------------------------------------------#
|
||||
# Right
|
||||
@ -70,12 +70,12 @@ script:
|
||||
target:
|
||||
entity_id: input_number.pos_right
|
||||
# Restart/Start the timer
|
||||
- service: timer.cancel
|
||||
target:
|
||||
entity_id: timer.pos_timer
|
||||
- service: timer.start
|
||||
target:
|
||||
entity_id: timer.pos_timer
|
||||
# - service: timer.cancel
|
||||
# target:
|
||||
# entity_id: timer.pos_timer
|
||||
# - service: timer.start
|
||||
# target:
|
||||
# entity_id: timer.pos_timer
|
||||
mode: single
|
||||
|
||||
#----------------------------------------------------------------------------------#
|
||||
|
@ -26,6 +26,13 @@ automation:
|
||||
# Button Left: Pos Right
|
||||
- alias: button_pos_right
|
||||
trigger:
|
||||
# Desk
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 121e4230e41feb19254fa92ed5335760
|
||||
type: action
|
||||
subtype: "on"
|
||||
discovery_id: 0x2c1165fffebebf6d action_on
|
||||
# Bed
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
@ -52,12 +59,12 @@ automation:
|
||||
- alias: button_up
|
||||
trigger:
|
||||
# Desk
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
device_id: 121e4230e41feb19254fa92ed5335760
|
||||
type: action
|
||||
subtype: "on"
|
||||
discovery_id: 0x2c1165fffebebf6d action_on
|
||||
#- platform: device
|
||||
# domain: mqtt
|
||||
# device_id: 121e4230e41feb19254fa92ed5335760
|
||||
# type: action
|
||||
# subtype: "on"
|
||||
# discovery_id: 0x2c1165fffebebf6d action_on
|
||||
# Bed
|
||||
- platform: device
|
||||
domain: mqtt
|
||||
|
Reference in New Issue
Block a user