diff --git a/packages/button/button_logic.yaml b/packages/button/button_logic.yaml index 3cbf2b1..37e56de 100755 --- a/packages/button/button_logic.yaml +++ b/packages/button/button_logic.yaml @@ -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 \ No newline at end of file + entity_id: automation.light_all_snapshot diff --git a/packages/button/button_press.yaml b/packages/button/button_press.yaml index b0895c0..07317a8 100755 --- a/packages/button/button_press.yaml +++ b/packages/button/button_press.yaml @@ -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 \ No newline at end of file + mode: single