From 6df19205da7abde2748c678f6b9d11fa8996c931 Mon Sep 17 00:00:00 2001 From: tkdrob Date: Tue, 27 Apr 2021 14:37:59 -0400 Subject: [PATCH] Add selectors to group services (#49779) --- homeassistant/components/group/services.yaml | 27 ++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/homeassistant/components/group/services.yaml b/homeassistant/components/group/services.yaml index 57e11d672dc..aac3e9aad59 100644 --- a/homeassistant/components/group/services.yaml +++ b/homeassistant/components/group/services.yaml @@ -1,32 +1,59 @@ # Describes the format for available group services reload: + name: Reload description: Reload group configuration, entities, and notify services. set: + name: Set description: Create/Update a user group. fields: object_id: + name: Object ID description: Group id and part of entity id. + required: true example: "test_group" + selector: + text: name: + name: Name description: Name of group example: "My test group" + selector: + text: icon: + name: Icon description: Name of icon for the group. example: "mdi:camera" + selector: + text: entities: + name: Entities description: List of all members in the group. Not compatible with 'delta'. example: domain.entity_id1, domain.entity_id2 + selector: + object: add_entities: + name: Add Entities description: List of members they will change on group listening. example: domain.entity_id1, domain.entity_id2 + selector: + object: all: + name: All description: Enable this option if the group should only turn on when all entities are on. example: true + selector: + boolean: remove: + name: Remove description: Remove a user group. fields: object_id: + name: Object ID description: Group id and part of entity id. + required: true example: "test_group" + selector: + entity: + domain: group