Git Product home page Git Product logo

ad_group_all's Introduction

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

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.

ad_group_all's People

Contributors

petro31 avatar apop880 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.