Skip to content

Adds all legacy group.all_* groups that were removed in Home Asisstant 0.104.

License

Notifications You must be signed in to change notification settings

Petro31/ad_group_all

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Home Assistant Add Domain Group (group.all_<domain>s)

hacs_badge
Buy Me A Coffee

Group All app for AppDaemon.

Adds a domain group to Home Assistant. The added domain groups will have the name group.all_<domain>s. e.g. if the domain light is specified, group.all_lights will be created.

With the legacy configuration, this will restore all hidden group.all_* groups that were removed in Home Assitant v0.104:

  • group.all_automations
  • group.all_covers
  • group.all_devices
  • group.all_fans
  • group.all_lights
  • group.all_locks
  • group.all_plants
  • group.all_remotes
  • group.all_scripts
  • group.all_switches
  • group.all_vacuum_cleaners
  • group.calendar
  • group.remember_the_milk_accounts

Installation

This requires voluptuous as a dependency. Make sure it's included in the appdaemon addon configuration.

Download the group_all directory from inside the apps directory here to your local apps directory, then add the configuration to enable the hacs module.

Example App configuration

Legacy Configuration

# Creates all legacy groups.  All newly created entity_id's will be added to the correct legacy group.
groups:
  module: group_all
  class: GroupAll

Only all switches

# Creates group.all_switches, the group will update when a new switch is added to home assistant.
groups:
  module: group_all
  class: GroupAll
  domains: 
  - switch

Advanced

# Creates groups for all domains.
# Renames group.all_switches to group.switch_master
# Renames group.all_lights to group.light_master
# Any new entity_id that is created will be added to the correct group.
groups:
  module: group_all
  class: GroupAll
  domains: all
  track_new_entities: true
  group_config:
    switch:
      name: Switch Master
    light:
      name: Light Master
  log_level: INFO

App Configuration

key optional type default description
module False string group_all The module name of the app.
class False string GroupAll The name of the Class.
track_new_entities True bool true Dynamically adds new entity_id's to the entity list of a domain group.
domains True 'all' | 'legacy' | list 'legacy' A list of domain names. 'all' will create all available domains at startup. 'legacy' will create all avialable legacy domains. Adding your own list will only create those domain groups.
group_config True map A map for domain names.
log_level True 'INFO' | 'DEBUG' 'INFO' Switches log level.

Domain Map Configuration

key optional type default description
name False string Friendly Name of the created group.

About

Adds all legacy group.all_* groups that were removed in Home Asisstant 0.104.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages