mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 13:27:22 +00:00
Fix cover showing error
This commit is contained in:
parent
e2b9893b17
commit
14b959b91b
@ -1,2 +1,2 @@
|
||||
const validEntityId = /^(\w+)\.(\w+)$/;
|
||||
export default validEntityId.test;
|
||||
export default (entityId: string) => validEntityId.test(entityId);
|
||||
|
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user