+
+ ${
+ stateObj.attributes.device_class === "timestamp"
+ ? html`
+
+ `
+ : stateObj.state
+ }
+
+
+ `;
+ }
+
+ private renderStyle(): TemplateResult {
+ return html`
+
+ `;
+ }
+}
+
+declare global {
+ interface HTMLElementTagNameMap {
+ "hui-sensor-entity-row": HuiSensorEntityRow;
+ }
+}
+
+customElements.define("hui-sensor-entity-row", HuiSensorEntityRow);