Skip to content

Creates sensors that count the number of entities in a specific domain.

License

Notifications You must be signed in to change notification settings

Petro31/ad_count_entities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Assistant Domain Entity Counter

hacs_badge
Buy Me A Coffee

Domain Entity Counter app for AppDaemon.

Adds sensors that count the number of entities inside a domain.

Installation

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

Example App configuration

Basic

# Creates a sensor for all domains.
count_entities:
  module: count_entities
  class: CountEntities

Advanced

# Creates a sensor for all domains except the excluded list
count_entities:
  module: count_entities
  class: CountEntities
  exclude:
  - sun
  - input_select
  - input_text
  - input_number
  - image_processing
  - persistent_notification
  - weather
  - remote
  log_level: INFO

App Configuration

key optional type default description
module False string count_entities The module name of the app.
class False string CountEntities The name of the Class.
exclude True list A list of domain names to exclude. You cannot combine this with include.
include True list A list of domain names to include. You cannot combine this with exclude.
log_level True 'INFO' | 'DEBUG' 'INFO' Switches log level.

About

Creates sensors that count the number of entities in a specific domain.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages