mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-18 23:06:31 +00:00
Replace Alarm Control Panel FORMAT_ constants with CodeFormat enum (#1293)
This commit is contained in:
parent
c085255319
commit
b7b713a43c
@ -34,6 +34,9 @@ Properties should always only return information from memory and not do I/O (lik
|
||||
|
||||
## Supported Features
|
||||
|
||||
Supported features are defined by using values in the `AlarmControlPanelEntityFeature` enum
|
||||
and are combined using the bitwise or (`|`) operator.
|
||||
|
||||
| Constant | Description |
|
||||
|----------|--------------------------------------|
|
||||
| `AlarmControlPanelEntityFeature.ARM_AWAY` | The alarm supports arming in away mode.
|
||||
@ -45,11 +48,13 @@ Properties should always only return information from memory and not do I/O (lik
|
||||
|
||||
### Code Formats
|
||||
|
||||
Supported code formats are defined by using values in the `CodeFormat` enum.
|
||||
|
||||
| Value | Description
|
||||
| ----- | -----------
|
||||
| None | No code required.
|
||||
| Number | Code is a number (Shows ten-key pad on frontend).
|
||||
| Any | Code is a string.
|
||||
| `None` | No code required.
|
||||
| `CodeFormat.NUMBER` | Code is a number (Shows ten-key pad on frontend).
|
||||
| `CodeFormat.TEXT` | Code is a string.
|
||||
|
||||
## Methods
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user