Add lock groups (#22188)

This commit is contained in:
Jason Hunter 2022-03-29 20:07:29 -04:00 committed by GitHub
parent 0bcb7ea670
commit f10e2d9ead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ ha_category:
- Cover - Cover
- Fan - Fan
- Light - Light
- Lock
- Media Player - Media Player
- Notifications - Notifications
- Organization - Organization
@ -22,6 +23,7 @@ ha_platforms:
- cover - cover
- fan - fan
- light - light
- lock
- switch - switch
- media_player - media_player
- notify - notify
@ -32,7 +34,7 @@ The group integration lets you combine multiple entities into a single entity. E
This can be useful for cases where you want to control, for example, the This can be useful for cases where you want to control, for example, the
multiple bulbs in a light fixture as a single light in Home Assistant. multiple bulbs in a light fixture as a single light in Home Assistant.
Home Assistant can group multiple binary sensors, covers, fans, light, media players, switches as a single entity, with the option of hiding the individual member entities. Home Assistant can group multiple binary sensors, covers, fans, lights, locks, media players, switches as a single entity, with the option of hiding the individual member entities.
{% include integrations/config_flow.md %} {% include integrations/config_flow.md %}
@ -109,6 +111,18 @@ light:
- light.pendant_lights - light.pendant_lights
``` ```
Example YAML configuration of a lock group:
```yaml
# Example configuration.yaml entry
lock:
- platform: group
name: "House Locks"
entities:
- lock.front_door
- lock.back_door
```
Example YAML configuration of a media_player group: Example YAML configuration of a media_player group:
```yaml ```yaml