mirror of
https://github.com/adrianjagielak/home-assistant-futurehome.git
synced 2025-09-13 07:37:09 +00:00
Fix creating uuid ids
This commit is contained in:
parent
290388499d
commit
5ad9e7cc94
@ -1,6 +1,6 @@
|
||||
# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config
|
||||
name: Futurehome
|
||||
version: "0.0.8"
|
||||
version: "0.0.9"
|
||||
slug: futurehome
|
||||
description: Local Futurehome Smarthub integration
|
||||
url: "https://github.com/adrianjagielak/home-assistant-futurehome"
|
||||
|
@ -1,3 +1,4 @@
|
||||
import { v4 as uuid } from "uuid";
|
||||
import { connectHub, connectHA } from "./client";
|
||||
import { publishDiscovery } from "./discovery";
|
||||
|
||||
@ -37,7 +38,7 @@ import { publishDiscovery } from "./discovery";
|
||||
fimp.publish("pt:j1/mt:cmd/rt:app/rn:vinculum/ad:1", JSON.stringify({
|
||||
type: "cmd.pd7.request",
|
||||
service: "vinculum",
|
||||
uid: crypto.randomUUID(),
|
||||
uid: uuid(),
|
||||
val_t: "object",
|
||||
val: { cmd: "get", component: "state" },
|
||||
resp_to: "pt:j1/mt:rsp/rt:app/rn:ha-futurehome/ad:addon"
|
||||
|
Loading…
x
Reference in New Issue
Block a user