From 861c9a617c3063e947d61b528a37dc33fd4812a6 Mon Sep 17 00:00:00 2001 From: xBourner <64064679+xBourner@users.noreply.github.com> Date: Sat, 24 Feb 2024 10:40:04 +0100 Subject: [PATCH] Update experimental.md --- pages/configuration/experimental.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pages/configuration/experimental.md b/pages/configuration/experimental.md index bd081b9..b164cc1 100644 --- a/pages/configuration/experimental.md +++ b/pages/configuration/experimental.md @@ -20,7 +20,11 @@ Add a input select helper to toggle around the rooms. Add all the room names to Add this template to your raw config editor (in the decluttering template section) -```yaml +
+Preview + +{% highlight ruby %} +{% raw %} room_card_all_in_one: default: - climate: climate.study @@ -182,7 +186,8 @@ Add this template to your raw config editor (in the decluttering template sectio entity: '[[climate]]' attribute: hvac_action value: 'off' -``` +{% endraw %} +{% endhighlight %} Then add two condtional cards based on screen size. The all_in_one template should be used on desktop and the deafult room-card should be used on mobile.