mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Dashboard: add lock features (#32536)
This commit is contained in:
parent
8c726e1ea4
commit
590bf2e17b
@ -428,6 +428,48 @@ type:
|
|||||||
type: string
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
|
## Lock commands
|
||||||
|
|
||||||
|
Widget that shows buttons to open or close a [lock](/integrations/lock).
|
||||||
|
|
||||||
|
<p class='img'>
|
||||||
|
<img src='/images/dashboards/features/lock_feature_commands.png' alt='Screenshot of the tile card with the lock commands feature'>
|
||||||
|
Screenshot of the tile card with the lock commands feature
|
||||||
|
</p>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
features:
|
||||||
|
- type: "lock-commands"
|
||||||
|
```
|
||||||
|
|
||||||
|
{% configuration features %}
|
||||||
|
type:
|
||||||
|
required: true
|
||||||
|
description: "`lock-commands`"
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
|
## Lock open door
|
||||||
|
|
||||||
|
Widget that shows buttons to open or close a [lock](/integrations/lock).
|
||||||
|
|
||||||
|
<p class='img'>
|
||||||
|
<img src='/images/dashboards/features/lock_feature_open_door.png' alt='Screenshot of the tile card with the lock open door feature'>
|
||||||
|
Screenshot of the tile card with the lock open door feature
|
||||||
|
</p>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
features:
|
||||||
|
- type: "lock-open-door"
|
||||||
|
```
|
||||||
|
|
||||||
|
{% configuration features %}
|
||||||
|
type:
|
||||||
|
required: true
|
||||||
|
description: "`lock-open-door`"
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
## Numeric input
|
## Numeric input
|
||||||
|
|
||||||
Widget that displays a slider or buttons to set the value for a [number](/integrations/number) or [input number](/integrations/input_number).
|
Widget that displays a slider or buttons to set the value for a [number](/integrations/number) or [input number](/integrations/input_number).
|
||||||
|
BIN
source/images/dashboards/features/lock_feature_commands.png
Normal file
BIN
source/images/dashboards/features/lock_feature_commands.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
BIN
source/images/dashboards/features/lock_feature_open_door.png
Normal file
BIN
source/images/dashboards/features/lock_feature_open_door.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.9 KiB |
Loading…
x
Reference in New Issue
Block a user