From 400b14b6ab306afe9cd13aebad8b42e1ab42d566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Thu, 5 Sep 2019 12:59:25 +0200 Subject: [PATCH] Fix bugs in readme --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9a1cc81..f08caee 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ See [my floorplan card](https://github.com/thomasloven/hass-config/blob/master/l # Installation instructions -- Copy the contenst of `custom_components/lovelace_gen/` to `/custom_components/lovelace_gen/`. +- Copy the contents of `custom_components/lovelace_gen/` to `/custom_components/lovelace_gen/`. - Add the following to your `configuration.yaml`: ```yaml @@ -50,7 +50,7 @@ This can be used e.g. to - Set and use variables ```yaml -{% set my_lamp = light.bed_light %} +{% set my_lamp = "light.bed_light" %} type: entities entities: @@ -88,9 +88,9 @@ entities: type: horizontal-stack cards: - {{ button(light.bed_light) }} - {{ button(light.ceiling_lights) }} - {{ button(light.kitchen_lights) }} + {{ button("light.bed_light") }} + {{ button("light.ceiling_lights") }} + {{ button("light.kitchen_lights") }} ``` Please note that for this to work, the indentation of the code in the macro block *must* be equal to what it should be where it's called.