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

Filter external attributes #102

Merged
merged 4 commits into from
Sep 3, 2016
Merged

Filter external attributes #102

merged 4 commits into from
Sep 3, 2016

Conversation

robbiet480
Copy link
Member

@robbiet480 robbiet480 commented Sep 2, 2016

This pull adds the following keys to the default more info FILTER_KEYS:

I did this because @arsaboo pointed out that the card looks a bit squished with these attributes, and they don't provide any value to the frontend.

Here's the screenshot that convinced me
blob

I made this a PR instead of pushing direct to master because I am unsure if we want to make this a precedent, especially for a totally external tool (Haaska). @balloob, can I get your thoughts?

@balloob
Copy link
Member

balloob commented Sep 3, 2016

This will not scale. I wonder if we should move to a generic format. Like custom_name_homebridge and custom_hidden_homebridge, then just filter out anything that starts with custom_

This should obviously be part of a greater workflow discussion on how we want to handle all these integrations.

For know this pr is fine as this are the attributes that people expect.

@balloob balloob merged commit 86d61ac into master Sep 3, 2016
robbiet480 added a commit that referenced this pull request Sep 3, 2016
* Filter out emulated_hue keys

* Filter out Haaska keys

* Filter out homebridge-homeassistant keys

* Fix linting issues
@balloob balloob deleted the filter-external-attributes branch December 9, 2016 06:32
tkdrob pushed a commit to tkdrob/frontend that referenced this pull request Apr 20, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants