|
|
@@ -21,11 +21,19 @@ entities:
|
|
|
optional: true
|
|
|
mapping:
|
|
|
- dps_val: single_click
|
|
|
- value: single_click
|
|
|
+ value: press_end
|
|
|
- dps_val: long_press
|
|
|
- value: long_press
|
|
|
+ value: long_press_end
|
|
|
- dps_val: double_click
|
|
|
- value: double_click
|
|
|
+ value: multi_press_end
|
|
|
+ - id: 1
|
|
|
+ type: string
|
|
|
+ name: multi_press_count
|
|
|
+ optional: true
|
|
|
+ mapping:
|
|
|
+ - dps_val: double_click
|
|
|
+ value: 2
|
|
|
+ - value: null
|
|
|
- entity: event
|
|
|
name: Button 2
|
|
|
class: button
|
|
|
@@ -36,11 +44,19 @@ entities:
|
|
|
optional: true
|
|
|
mapping:
|
|
|
- dps_val: single_click
|
|
|
- value: single_click
|
|
|
+ value: press_end
|
|
|
- dps_val: long_press
|
|
|
- value: long_press
|
|
|
+ value: long_press_end
|
|
|
- dps_val: double_click
|
|
|
- value: double_click
|
|
|
+ value: multi_press_end
|
|
|
+ - id: 2
|
|
|
+ type: string
|
|
|
+ name: multi_press_count
|
|
|
+ optional: true
|
|
|
+ mapping:
|
|
|
+ - dps_val: double_click
|
|
|
+ value: 2
|
|
|
+ - value: null
|
|
|
- entity: event
|
|
|
name: Button 3
|
|
|
class: button
|
|
|
@@ -51,11 +67,19 @@ entities:
|
|
|
optional: true
|
|
|
mapping:
|
|
|
- dps_val: single_click
|
|
|
- value: single_click
|
|
|
+ value: press_end
|
|
|
- dps_val: long_press
|
|
|
- value: long_press
|
|
|
+ value: long_press_end
|
|
|
+ - dps_val: double_click
|
|
|
+ value: multi_press_end
|
|
|
+ - id: 3
|
|
|
+ type: string
|
|
|
+ name: multi_press_count
|
|
|
+ optional: true
|
|
|
+ mapping:
|
|
|
- dps_val: double_click
|
|
|
- value: double_click
|
|
|
+ value: 2
|
|
|
+ - value: null
|
|
|
- entity: event
|
|
|
name: Button 4
|
|
|
class: button
|
|
|
@@ -66,11 +90,19 @@ entities:
|
|
|
optional: true
|
|
|
mapping:
|
|
|
- dps_val: single_click
|
|
|
- value: single_click
|
|
|
+ value: press_end
|
|
|
- dps_val: long_press
|
|
|
- value: long_press
|
|
|
+ value: long_press_end
|
|
|
- dps_val: double_click
|
|
|
- value: double_click
|
|
|
+ value: multi_press_end
|
|
|
+ - id: 4
|
|
|
+ type: string
|
|
|
+ name: multi_press_count
|
|
|
+ optional: true
|
|
|
+ mapping:
|
|
|
+ - dps_val: double_click
|
|
|
+ value: 2
|
|
|
+ - value: null
|
|
|
- entity: event
|
|
|
name: Button 5
|
|
|
class: button
|
|
|
@@ -81,11 +113,19 @@ entities:
|
|
|
optional: true
|
|
|
mapping:
|
|
|
- dps_val: single_click
|
|
|
- value: single_click
|
|
|
+ value: press_end
|
|
|
- dps_val: long_press
|
|
|
- value: long_press
|
|
|
+ value: long_press_end
|
|
|
- dps_val: double_click
|
|
|
- value: double_click
|
|
|
+ value: multi_press_end
|
|
|
+ - id: 5
|
|
|
+ type: string
|
|
|
+ name: multi_press_count
|
|
|
+ optional: true
|
|
|
+ mapping:
|
|
|
+ - dps_val: double_click
|
|
|
+ value: 2
|
|
|
+ - value: null
|
|
|
- entity: event
|
|
|
name: Button 6
|
|
|
class: button
|
|
|
@@ -96,11 +136,19 @@ entities:
|
|
|
optional: true
|
|
|
mapping:
|
|
|
- dps_val: single_click
|
|
|
- value: single_click
|
|
|
+ value: press_end
|
|
|
- dps_val: long_press
|
|
|
- value: long_press
|
|
|
+ value: long_press_end
|
|
|
+ - dps_val: double_click
|
|
|
+ value: multi_press_end
|
|
|
+ - id: 6
|
|
|
+ type: string
|
|
|
+ name: multi_press_count
|
|
|
+ optional: true
|
|
|
+ mapping:
|
|
|
- dps_val: double_click
|
|
|
- value: double_click
|
|
|
+ value: 2
|
|
|
+ - value: null
|
|
|
- entity: sensor
|
|
|
class: battery
|
|
|
dps:
|