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