Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codechimp committed Dec 3, 2019
2 parents c5e1592 + 8c5da7d commit ad19b5d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Expand Up @@ -18,11 +18,20 @@ Under Long Lived Access Tokens, create a new token, give it a name and copy the
For now there's no automatic update when new versions are released. Suggest using the Watch/Releases Only within GitHub to get notified when a new version is available.

### Groups
HA provides default all_switches and all_light groups (not all_input_boolean's). If you have a lot of switches/lights or want to list input_boolean's you can have HA Menu display a specific set by [creating new groups within HA](https://www.home-assistant.io/integrations/group/). Add your switches/lights/input_booleans to the group(s) and enter the group entity id's in HA Menu preferences. You can have multiple groups displayed in HA Menu by comma seperating the entity id's. They will be displayed in order with a seperator between each group.
HA provides default all_switches and all_light groups (not all_input_boolean's). HA Menu displays these two groups by default (in Preferences you will see under groups there is all_switches,all_lights

If you have a lot of switches/lights or want to list input_boolean's you can have HA Menu display a specific set by [creating new groups within HA](https://www.home-assistant.io/integrations/group/).

First of all create your group(s) within groups.yaml as per the example. Note the group entity id is ha_menu in this example. Validate and restart HA to have the group added to HA. If you want multiple groups just repeat the block and rename the entity id/name and change your entity's.

Once you have the group(s) added to HA, within HA Menu go to Preferences and within the Groups field enter the group entity ID's you want to be displayed (ha_menu in this example). If you have created multiple groups you can comma separate their entity ID's e.g. ha_menu,all_switches,all_lights
Close preferences to save these settings.

Now when you click on HA Menu again the group's you have setup will be displayed. The groups are displayed in the order you entered them into preferences, with custom groups the items are displayed in the order they are added within the group (printer, lego_lights, desk_lamp, notifications in the example). With default groups (all_switches, all_lights) they are displayed alphabetically.

Example groups.yaml
```
hamenu:
ha_menu:
control: hidden
view: no
name: HA Menu Switches
Expand Down

0 comments on commit ad19b5d

Please sign in to comment.