diff --git a/dist/homepage.d.ts b/dist/homepage.d.ts index 52f8455..5109dd7 100644 --- a/dist/homepage.d.ts +++ b/dist/homepage.d.ts @@ -1,8 +1,9 @@ import { API_HA_DeskPosition } from "./homeassistant"; import { TidalGetCurrent } from "./tidal"; export type FullInformation = { - ha_desk_position: API_HA_DeskPosition; - ha_temp: string; - tidal_current: TidalGetCurrent; + ha_desk_position: API_HA_DeskPosition | null; + ha_temp: string | null; + tidal_current: TidalGetCurrent | null; + tidal_volume: number | null; }; //# sourceMappingURL=homepage.d.ts.map \ No newline at end of file diff --git a/dist/homepage.d.ts.map b/dist/homepage.d.ts.map index 505a17b..2a1386b 100644 --- a/dist/homepage.d.ts.map +++ b/dist/homepage.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"homepage.d.ts","sourceRoot":"","sources":["../src/homepage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,MAAM,eAAe,GAAG;IAC7B,gBAAgB,EAAE,mBAAmB,CAAC;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,eAAe,CAAC;CAC/B,CAAA"} \ No newline at end of file +{"version":3,"file":"homepage.d.ts","sourceRoot":"","sources":["../src/homepage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,MAAM,eAAe,GAAG;IAC7B,gBAAgB,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAC7C,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,aAAa,EAAE,eAAe,GAAG,IAAI,CAAC;IACtC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAA"} \ No newline at end of file diff --git a/src/homepage.ts b/src/homepage.ts index 9d73647..5defc49 100644 --- a/src/homepage.ts +++ b/src/homepage.ts @@ -2,7 +2,8 @@ import { API_HA_DeskPosition } from "./homeassistant"; import { TidalGetCurrent } from "./tidal"; export type FullInformation = { - ha_desk_position: API_HA_DeskPosition; - ha_temp: string; - tidal_current: TidalGetCurrent; + ha_desk_position: API_HA_DeskPosition | null; + ha_temp: string | null; + tidal_current: TidalGetCurrent | null; + tidal_volume: number | null; }