From 517f51649dddd6e6dba3251abf8f3899ad3759cb Mon Sep 17 00:00:00 2001 From: hoellen Date: Fri, 8 Jan 2021 12:35:09 +0100 Subject: [PATCH] Add sorting order to README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index dc154d2..544a83f 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,13 @@ pip install requests You need to specify the URL and [API Key](https://developers.home-assistant.io/docs/api/rest/¦) of your Home Assistant instance in the configuration file (e.g. location: `$HOME/.config/albert/homeassistant_config.json`). You can generate a new long lived API Key by clicking your name in the bottom left in the Home Assistant UI. +The item order is based on the entity class. Lights and switches are show first, then scenes etc. You can change the order in the configuration file. See the default sorting order below: +```json +{ ... + sort_order: {"light": 1, "switch": 1, "scene": 2, "group": 2, "automation": 3} +} +``` + ## Usage ` `