fix ha update
This commit is contained in:
@@ -35,6 +35,12 @@ export type API_HA_DeskPosition = {
|
|||||||
export type HA_Update = {
|
export type HA_Update = {
|
||||||
entity_id: string;
|
entity_id: string;
|
||||||
state: string;
|
state: string;
|
||||||
attributes: unknown;
|
attributes: {
|
||||||
|
state_class?: string;
|
||||||
|
unit_of_measurement?: string;
|
||||||
|
icon?: string;
|
||||||
|
friendly_name?: string;
|
||||||
|
[key: string]: unknown;
|
||||||
|
};
|
||||||
timestamp: string; // datetime string
|
timestamp: string; // datetime string
|
||||||
}
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user