This commit is contained in:
ari committed 2022-09-05 15:09:41 -04:00
1 parent a9b2bdb775
commit a4a607768a
53 files changed
+44 -44

No files matched your search

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -2,7 +2,7 @@ import { useState } from "react";
import { ApiState } from "./types";
import { AutomationAPI } from "./automations";
import { UserProfileAPI } from "./profile";
import { UserProfile } from "services/apiService/types";
import { UserProfile } from "services/api/types";
export const useDefaultApiState = () =>
useState<ApiState>({
@@ -1,6 +1,6 @@
import React, { FC, useEffect, useState } from "react";
import { makeStory } from "devUtils";
import { useHA } from "services/haService";
import { useHA } from "services/ha";
import InputYaml from "components/Inputs/Base/InputYaml";
import { InputList } from "components/Inputs/InputList";
import { Button } from "components/Inputs/Buttons/Button";
@@ -9,7 +9,7 @@ import {
ERR_INVALID_HTTPS_TO_HTTP,
createConnection as _createConnection,
} from "home-assistant-js-websocket";
import { wsURL } from "services/apiService";
import { wsURL } from "services/api";
export type HAConnection =
| {
@@ -1,5 +1,5 @@
import React, { FC } from "react";
import { useHADeviceRegistry } from "services/haService";
import { useHADeviceRegistry } from "services/ha";
import InputYaml from "components/Inputs/Base/InputYaml";
import { makeStory } from "devUtils";
@@ -1,7 +1,7 @@
import React, { FC, useState } from "react";
import { ComponentMeta, ComponentStory } from "@storybook/react";
import { MockPage } from "components/Page";
import { useHAEntities } from "services/haService/HAEntities";
import { useHAEntities } from "services/ha/HAEntities";
const Test: FC<{ onRender: () => void }> = ({ onRender }) => {
const [searchTerm, setSearch] = useState("");
@@ -1,7 +1,7 @@
import React, { FC } from "react";
import { ComponentMeta, ComponentStory } from "@storybook/react";
import { MockPage } from "components/Page";
import { useHAEntityRegistry } from "services/haService";
import { useHAEntityRegistry } from "services/ha";
const Test: FC<{ onRender: () => void }> = ({ onRender }) => {
const conn = useHAEntityRegistry();
File renamed without changes.
File renamed without changes.
@@ -1,7 +1,7 @@
import React, { FC, useEffect, useState } from "react";
import { ComponentMeta, ComponentStory } from "@storybook/react";
import { MockPage } from "components/Page";
import { useHA } from "services/haService";
import { useHA } from "services/ha";
import InputYaml from "components/Inputs/Base/InputYaml";
import { InputList } from "components/Inputs/InputList";
import { Button } from "components/Inputs/Buttons/Button";
File renamed without changes.
+1 -1
View File
@@ -1,4 +1,4 @@
import { useApiState } from "services/apiService";
import { useApiState } from "services/api";
import { useEffect, useState } from "react";
const MISSING_TEXT = "<<MISSING TEXT -- {{langId}}>>";