Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for alarm_control_panel and add enable_by_default and entity_category support to relevant devices. #276

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

cccmangus
Copy link

This change adds core support for the alarm_control_panel entity, including arm/disarm code validation, and a corresponding example ino.

This change also adds the enable_by_default and entity_category properties to the most common entities (sensor, number, binary_sensory, button, select). This is useful for adding configuration and control entities that are correctly categorized and exposed in the device UI in HA, as well as enabling you to hide them by default (if, for example, most people wouldn't need access to them but can enable access themselves after discovery.)

Adds strings to support alarm_control_panel and additional properties for enable by default and entity category
Adds support for HA alarm_control_panel, with core features supported, including arm/disarm code.
Adds support for enable_by_default and entity_category properties for relevant types.
Removes the command-specific callbacks for arm away, home, disarm, etc. Simplest and most flexible solution is just to have the basic command callback and let the host do the work to process the payload.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant