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

feat: add entity_category for indicator-light #697

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

caibinqing
Copy link

Why

When user turn off lights in an area, the indicator-light will also be turned off.

#696

https://developers.home-assistant.io/docs/core/entity/#registry-properties

Classification of a non-primary entity. Set to EntityCategory.CONFIG for an entity that allows changing the configuration of a device, for example, a switch entity, making it possible to turn the background illumination of a switch on and off. Set to EntityCategory.DIAGNOSTIC for an entity exposing some configuration parameter or diagnostics of a device but does not allow changing it, for example, a sensor showing RSSI or MAC address.

Added

Added a new configuration item to SPEC_SERVICE_TRANS_MAP

Set the EntityCategory for indicator-light to CONFIG

Further

Assign the appropriate EntityCategory to other entities so they can be easily identified and correctly classified.

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