Skip to content

Fix state-info icon color and convert to TypeScript/LitElement#7664

Merged
bramkragten merged 2 commits intohome-assistant:devfrom
iantrich:state-info-ts-icon-color
Nov 12, 2020
Merged

Fix state-info icon color and convert to TypeScript/LitElement#7664
bramkragten merged 2 commits intohome-assistant:devfrom
iantrich:state-info-ts-icon-color

Conversation

@iantrich
Copy link
Member

@iantrich iantrich commented Nov 11, 2020

Breaking change

Proposed change

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:


return html` <state-badge
.stateObj=${this.stateObj}
.stateColor=${true}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we were not passing true for stateColor which is why the icon was not being colored

@bramkragten bramkragten merged commit f68eff6 into home-assistant:dev Nov 12, 2020
@iantrich iantrich deleted the state-info-ts-icon-color branch November 12, 2020 14:58
@github-actions github-actions bot locked and limited conversation to collaborators Nov 13, 2020
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