Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ruizmarc committed Dec 26, 2023
1 parent 5f981c3 commit 5a26a82
Show file tree
Hide file tree
Showing 12 changed files with 957 additions and 269 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
spaces_around_brackets = inside
quote_type = single
30 changes: 25 additions & 5 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,32 @@
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"username": {
"title": "IntelliClima username",
"type": "string",
"required": true,
"default": "Example Dynamic Platform"
"description": "The plugin needs to access IntelliClima API to interact with the device so it will be using your credentials to authenticate",
"required": true
},
"password": {
"title": "IntelliClima password",
"type": "string",
"description": "Your password will not be shared, it will be only used it to authenticate with IntelliClima API",
"required": true
},
"temperatureSensor": {
"title": "Create extra temperature sensor",
"type": "boolean",
"default": false,
"description": "This enable extra temperature sensor to use with automations in HomeKit app.",
"required": false
},
"humiditySensor": {
"title": "Create extra humidity sensor",
"type": "boolean",
"default": false,
"description": "This enable extra humidity sensor to use with automations in HomeKit app.",
"required": false
}
}
}
}
}
97 changes: 95 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
"homebridge-plugin",
"homebridge-intelliclima",
"intelliclima",
"fantini cosmi"
"fantini cosmi",
"C800"
],
"dependencies": {},
"dependencies": {
"axios": "^1.6.2"
},
"devDependencies": {
"@types/node": "^18.16.20",
"@typescript-eslint/eslint-plugin": "^5.62.0",
Expand Down
Loading

0 comments on commit 5a26a82

Please sign in to comment.