Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ruizmarc committed Dec 25, 2023
1 parent 5f981c3 commit 2c6fa66
Show file tree
Hide file tree
Showing 13 changed files with 911 additions and 130 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
28 changes: 24 additions & 4 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,31 @@
"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
},
"humitidySensor": {
"title": "Create extra humidity sensor",
"type": "boolean",
"default": false,
"description": "This enable extra humidity sensor to use with automations in HomeKit app.",
"required": false
}
}
}
Expand Down
109 changes: 105 additions & 4 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
"intelliclima",
"fantini cosmi"
],
"dependencies": {},
"dependencies": {
"axios": "^1.6.2",
"rxjs": "^7.8.1"
},
"devDependencies": {
"@types/node": "^18.16.20",
"@typescript-eslint/eslint-plugin": "^5.62.0",
Expand Down
Loading

0 comments on commit 2c6fa66

Please sign in to comment.