${computeStateDisplay(
this.hass!.localize,
stateObj,
this.hass.language
)}
`;
}
private _handleAction(ev: ActionHandlerEvent) {
handleAction(this, this.hass!, this._config!, ev.detail.action);
}
static get styles(): CSSResult {
return css`
div {
text-align: right;
}
.pointer {
cursor: pointer;
}
`;
}
}
declare global {
interface HTMLElementTagNameMap {
"hui-text-entity-row": HuiTextEntityRow;
}
}