PR #3295
@@ -16,8 +16,26 @@ entities:
- dps_val: false
value: "close"
- id: 103
- name: open
+ name: open_state
type: boolean
+ - id: 102
+ type: boolean
+ name: action
+ mapping:
+ - dps_val: true
+ constraint: control
+ conditions:
+ value: opening
+ - dps_val: false
+ value: closing
+ constraint: open_state
+ value: opened
+ value: closed
- entity: switch
translation_key: keytone
category: config
@@ -25,13 +43,6 @@ entities:
- id: 101
name: switch
- - entity: switch
- name: Relay
- category: config
- dps:
- - id: 102
- type: boolean
- name: switch
- entity: number
name: Relay engage time
class: duration