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

Convert hui-text-entity-row to TypeScript/LitElement #2017

Merged
merged 3 commits into from
Nov 8, 2018

Conversation

iantrich
Copy link
Member

@iantrich iantrich commented Nov 7, 2018

No description provided.

@ghost ghost assigned iantrich Nov 7, 2018
@ghost ghost added the in progress label Nov 7, 2018
import { TemplateResult } from "lit-html";

import "../components/hui-generic-entity-row";
import "./hui-error-entity-row";
Copy link
Member

Choose a reason for hiding this comment

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

👍

<div>${computeStateDisplay(
this.localize,
stateObj,
this.hass!.language
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't need a ! here because you already check for this.hass existing on line 32 ?

Copy link
Member

@balloob balloob left a comment

Choose a reason for hiding this comment

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

Ok to merge when CI passes.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@balloob balloob merged commit 9596f73 into home-assistant:dev Nov 8, 2018
@ghost ghost removed the in progress label Nov 8, 2018
return html`
${this.renderStyle()}
<hui-generic-entity-row .hass="${this.hass}" .config="${this._config}">
>
Copy link
Member

Choose a reason for hiding this comment

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

There was a bonus > here which I removed in f4b64ee

@iantrich iantrich deleted the ts-text-entity branch November 16, 2018 19:17
@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 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.

None yet

3 participants