- id: button_dining_blinds_up alias: '[Dining Blinds] Up' trigger: - device_id: 6818c2a8921603a8a04e6c6f4d45a8ec domain: zha platform: device type: remote_button_short_press subtype: turn_on action: - choose: - conditions: - condition: or conditions: - condition: state entity_id: cover.dining_blinds state: 'closing' - condition: state entity_id: cover.dining_blinds state: 'opening' sequence: - service: cover.stop_cover entity_id: cover.dining_blinds - conditions: - condition: or conditions: - condition: state entity_id: cover.dining_blinds state: 'closed' - condition: state entity_id: cover.dining_blinds state: 'open' sequence: - service: cover.close_cover entity_id: cover.dining_blinds mode: single - id: button_dining_blinds_down alias: '[Dining Blinds] Down' trigger: - device_id: 6818c2a8921603a8a04e6c6f4d45a8ec domain: zha platform: device type: remote_button_short_press subtype: turn_off action: - choose: - conditions: - condition: or conditions: - condition: state entity_id: cover.dining_blinds state: 'closing' - condition: state entity_id: cover.dining_blinds state: 'opening' sequence: - service: cover.stop_cover entity_id: cover.dining_blinds - conditions: - condition: or conditions: - condition: state entity_id: cover.dining_blinds state: 'closed' - condition: state entity_id: cover.dining_blinds state: 'open' sequence: - service: cover.open_cover entity_id: cover.dining_blinds mode: single