mirror of
https://github.com/adrianjagielak/home-assistant-futurehome.git
synced 2026-02-11 07:15:38 +00:00
Finish most of the basic features, add few services
This commit is contained in:
7
futurehome/src/ha/globals.ts
Normal file
7
futurehome/src/ha/globals.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { MqttClient } from "mqtt/*";
|
||||
|
||||
export let ha: MqttClient | undefined = undefined;
|
||||
|
||||
export function setHa(client: MqttClient) {
|
||||
ha = client;
|
||||
}
|
||||
Reference in New Issue
Block a user