From aae4fa011189f1c2f33d2bbdb5bde3256698be2c Mon Sep 17 00:00:00 2001 From: Johannes Date: Sun, 4 Sep 2022 19:48:01 +0200 Subject: [PATCH] add docs for #253 --- docs/entities.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/entities.md b/docs/entities.md index 4ed0aefa..2fe57b93 100644 --- a/docs/entities.md +++ b/docs/entities.md @@ -1,6 +1,6 @@ # Entities -Entities are mainly used on cardEntities, cardGrid and cardGrid. +Entities are mainly used on cardEntities and cardGrid. It is possible to overwrite and configure varrious things on Entities. @@ -69,3 +69,13 @@ This sensor will only be shown on the card if it's state is not equal to `on` state_not: "on" ``` +## Calling service directly as button + +The following example shows how to call services directly, this enables you to call services on entities not (yet) supported by the backend and also to pass data to services. + +```yaml + - entity: service.light.turn_on + data: + entity_id: light.schreibtischlampe + color_name: "green" +```