Skip to content

Add supported_features to cover component#215

Merged
balloob merged 2 commits into
home-assistant:masterfrom
emlove:cover-supported-features
Feb 19, 2017
Merged

Add supported_features to cover component#215
balloob merged 2 commits into
home-assistant:masterfrom
emlove:cover-supported-features

Conversation

@emlove
Copy link
Copy Markdown
Contributor

@emlove emlove commented Feb 18, 2017

Polymer PR for home-assistant/core#6082

I used the same structure as src/util/media-player-model.html. If this PR oversteps its bounds I can roll some of these changes back, but having an object responsible for representing the entity and its functions seems like the right way to go.

Also, I used the invisible attribute instead of polymer's hidden, so that the open/close arrows line up with each other, instead of collapsing to use the whitespace.

Screenshot of demo covers

@mention-bot
Copy link
Copy Markdown

@armills, thanks for your PR! By analyzing the history of the files in this pull request, we identified @turbokongen, @balloob and @borigas to be potential reviewers.

@balloob
Copy link
Copy Markdown
Member

balloob commented Feb 19, 2017

This is awesome 🐬 .

I think that sometime in the future we should consider creating a new repository home-assistant-js-models for these models. Being able to transpile them will also help with less confusing code like addGetter

@balloob balloob merged commit a9265b3 into home-assistant:master Feb 19, 2017
@emlove emlove deleted the cover-supported-features branch February 19, 2017 02:24
@bramkragten bramkragten mentioned this pull request Jan 29, 2020
@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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants