Skip to content

Show disabled entities for a config_entry by default + number of hidden entities#7300

Merged
bramkragten merged 6 commits intohome-assistant:devfrom
spacegaier:config-entry-entities
Oct 12, 2020
Merged

Show disabled entities for a config_entry by default + number of hidden entities#7300
bramkragten merged 6 commits intohome-assistant:devfrom
spacegaier:config-entry-entities

Conversation

@spacegaier
Copy link
Member

@spacegaier spacegaier commented Oct 10, 2020

Breaking change

Proposed change

Covers both points of the requested feature, to always select the disabled entities automatically be default if the entities for a given config_entry are to be shown. Plus show the number of hidden entities (disabled, unavailable, read-only) including a button to show them all, which stets all three checkboxes in the filter menu.

image

image

  • This new information is not shown in a new box, if an active filter for an integration / config_entry is in effect.
  • If a filter is in effect, the number of hidden entities is included in it (and only counts the entities that match the filter)
  • The visual appearance matches the filter box (in fact currently uses the same CSS classes).

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@spacegaier spacegaier changed the title Show disabled entities for a config_entry by default Show disabled entities for a config_entry by default + number of hidden entities Oct 10, 2020
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
@bramkragten bramkragten merged commit 7f6880f into home-assistant:dev Oct 12, 2020
@spacegaier spacegaier deleted the config-entry-entities branch October 12, 2020 21:25
@bramkragten bramkragten mentioned this pull request Oct 21, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jul 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make disabled entities more obvious and easier to enable

3 participants