mirror of
https://github.com/adrianjagielak/home-assistant-futurehome.git
synced 2026-02-11 07:15:38 +00:00
Add demo mode
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { MqttClient } from "mqtt/*";
|
||||
import { IMqttClient } from "../mqtt/interface";
|
||||
import { CommandHandlers } from "./publish_device";
|
||||
|
||||
export let ha: MqttClient | undefined = undefined;
|
||||
export let ha: IMqttClient | undefined = undefined;
|
||||
|
||||
export function setHa(client: MqttClient) {
|
||||
export function setHa(client: IMqttClient) {
|
||||
ha = client;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user