mirror of
https://github.com/home-assistant/frontend.git
synced 2026-09-29 16:33:43 +01:00
* Reorg cloud components * Allow managing Alexa entities in the UI * Use observer * Update mwc version * Tweak some UI
11 lines
282 B
TypeScript
11 lines
282 B
TypeScript
import { HomeAssistant } from "../types";
|
|
|
|
export interface GoogleEntity {
|
|
entity_id: string;
|
|
traits: string[];
|
|
might_2fa: boolean;
|
|
}
|
|
|
|
export const fetchCloudGoogleEntities = (hass: HomeAssistant) =>
|
|
hass.callWS<GoogleEntity[]>({ type: "cloud/google_assistant/entities" });
|