Skip to content

Commit

Permalink
Add type back into overlay request
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdavis90 committed Aug 19, 2023
1 parent 7acc6a0 commit ef17fe1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,9 @@ class Tado {
const zone_capabilities = await this.getZoneCapabilities(home_id, overlay.zone_id);
const overlay_config = {
overlay: {
setting: {},
setting: {
type: zone_capabilities.type,
},
termination: termination_config,
},
room: overlay.zone_id,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-tado-client",
"version": "0.13.0",
"version": "0.13.1",
"description": "A Tado client for nodejs",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,9 @@ export class Tado {

const overlay_config: any = {
overlay: {
setting: {},
setting: {
type: zone_capabilities.type,
},
termination: termination_config,
},
room: overlay.zone_id,
Expand Down

0 comments on commit ef17fe1

Please sign in to comment.