Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ZHA Tuya 4 button scene (ss6400zb) #255

Merged
merged 2 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: TuYa 4 Button Scene (SS5300ZB)
service: ZHA
event_type: zha_event
identifier_key: device_id
buttons:
- x: 66
y: 102
width: 32
conditions:
- key: endpoint_id
value: 1
actions:
- title: press
conditions:
- key: command
value: remote_button_short_press
- title: press 2x
conditions:
- key: command
value: remote_button_double_press
- title: hold (released)
conditions:
- key: command
value: remote_button_long_press
- x: 66
y: 204
width: 32
conditions:
- key: endpoint_id
value: 2
actions:
- title: press
conditions:
- key: command
value: remote_button_short_press
- title: press 2x
conditions:
- key: command
value: remote_button_double_press
- title: hold (released)
conditions:
- key: command
value: remote_button_long_press
- x: 66
y: 302
width: 32
conditions:
- key: endpoint_id
value: 3
actions:
- title: press
conditions:
- key: command
value: remote_button_short_press
- title: press 2x
conditions:
- key: command
value: remote_button_double_press
- title: hold (released)
conditions:
- key: command
value: remote_button_long_press
- x: 66
y: 405
width: 32
conditions:
- key: endpoint_id
value: 4
actions:
- title: press
conditions:
- key: command
value: remote_button_short_press
- title: press 2x
conditions:
- key: command
value: remote_button_double_press
- title: hold (released)
conditions:
- key: command
value: remote_button_long_press