Skip to content

Commit

Permalink
feat(const): additional legacy notification capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
andersevenrud committed Jun 5, 2023
1 parent 0c7d16c commit 73a2f7d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion custom_components/nexa_bridge_x/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@
"notificationSmoke",
"notificationWater",
"notificationTwilight",
"notificationTamper"
"notificationTamper",
"notificationButton",
"notification"
] + (SWITCH_BINARY_SENSOR and ["switchBinary"] or [])

NODE_SENSOR_CAPABILITIES = [
Expand Down Expand Up @@ -105,6 +107,12 @@
"notificationTamper": {
"name": "Tamper"
},
"notificationButton": {
"name": "Button"
},
"notification": {
"name": "Value"
},
"switchBinary": {
"name": "Switch"
},
Expand Down

0 comments on commit 73a2f7d

Please sign in to comment.