„packages/button/button_press.yaml“ ändern
This commit is contained in:
		@@ -20,7 +20,11 @@ automation:
 | 
			
		||||
        subtype: arrow_left_click
 | 
			
		||||
        discovery_id: 0x0c4314fffef68790 action_arrow_left_click
 | 
			
		||||
    action:
 | 
			
		||||
      - service: script.pos_left_incr
 | 
			
		||||
      #- service: script.pos_left_incr
 | 
			
		||||
      - service: scene.turn_on
 | 
			
		||||
        target:
 | 
			
		||||
          entity_id: scene.light_adaptive
 | 
			
		||||
        metadata: {}
 | 
			
		||||
    mode: single
 | 
			
		||||
 | 
			
		||||
  # Button Left: Pos Right
 | 
			
		||||
@@ -83,7 +87,11 @@ automation:
 | 
			
		||||
        subtype: "on"
 | 
			
		||||
        discovery_id: 0x0c4314fffef68790 action_on
 | 
			
		||||
    action:
 | 
			
		||||
      - service: script.pos_up
 | 
			
		||||
      #- service: script.pos_up
 | 
			
		||||
      - service: scene.turn_on
 | 
			
		||||
        target:
 | 
			
		||||
          entity_id: scene.light_bright
 | 
			
		||||
        metadata: {}
 | 
			
		||||
    mode: single
 | 
			
		||||
  # Down
 | 
			
		||||
  - alias: button_down
 | 
			
		||||
@@ -110,5 +118,8 @@ automation:
 | 
			
		||||
        subtype: "off"
 | 
			
		||||
        discovery_id: 0x0c4314fffef68790 action_off
 | 
			
		||||
    action:
 | 
			
		||||
      - service: script.pos_down
 | 
			
		||||
      #- service: script.pos_down
 | 
			
		||||
      - service: light.turn_off
 | 
			
		||||
        target:
 | 
			
		||||
          entity_id: light.all_lights
 | 
			
		||||
    mode: single
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user