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
|
||||
|
||||
#----------------------------------------------------------------------------------#
|
||||
@ -511,4 +511,4 @@ automation:
|
||||
entity_id: scene.light_bright
|
||||
- service: automation.trigger
|
||||
target:
|
||||
entity_id: automation.light_all_snapshot
|
||||
entity_id: automation.light_all_snapshot
|
||||
|
@ -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
|
||||
@ -101,4 +108,4 @@ automation:
|
||||
discovery_id: 0x0c4314fffef68790 action_off
|
||||
action:
|
||||
- service: script.pos_down
|
||||
mode: single
|
||||
mode: single
|
||||
|
Reference in New Issue
Block a user