Skip to content

Commit

Permalink
Fix cover showing error
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed Nov 6, 2018
1 parent e2b9893 commit 14b959b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/entity/valid_entity_id.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const validEntityId = /^(\w+)\.(\w+)$/;
export default validEntityId.test;
export default (entityId: string) => validEntityId.test(entityId);
1 change: 1 addition & 0 deletions src/panels/lovelace/entity-rows/hui-cover-entity-row.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { TemplateResult } from "lit-html";
import "../components/hui-generic-entity-row";
import "../../../components/ha-cover-controls";
import "../../../components/ha-cover-tilt-controls";
import "./hui-error-entity-row";

import { isTiltOnly } from "../../../util/cover-model";
import { HomeAssistant } from "../../../types";
Expand Down

0 comments on commit 14b959b

Please sign in to comment.