Skip to content

chbndrhnns/appdaemon-all-on-groups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

appdaemon-all-on-groups

hacs_badge

Deconz groups are exposed to Home Assistant with an all_on attribute which indicates if all lights in a group are currently switched on.

This app exposes this attribute as an additional binary_sensor. For this purpose,

  • it looks for all light entities that have an all_on attribute,
  • it creates a sensor with an _all_on suffix,
  • it adds a listener to update the state of the groups,
  • it removes the sensors on (AppDaemon) shutdown.

Configuration

Add this snippet to your AppDaemon configuration file:

all_on_groups:
  module: all_on_groups
  class: AllOnGroups