Skip to content

Commit

Permalink
v3.5.0 (#975)
Browse files Browse the repository at this point in the history
## [3.5.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v3.5.0) (2024-05-26)

### What's Changed
- Add Support for `Water Detector`
- Add Support for `Battery Circulator Fan`
- Add BLE support for `Smart Lock`
- Add `K10+` deviceType Support
- Add Support for `maxRetries` and `delayBetweenRetries` on OpenAPI status refreshes based on [#959](#959 (comment)), Thanks [@sametguzeldev](https://github.com/sametguzeldev)
- Major Refactoring of `device` and `irdevice` files.
- Housekeeping and updated dependencies.

**Full Changelog**: v3.4.0...v3.5.0
  • Loading branch information
donavanbecker authored May 26, 2024
1 parent d0acb3b commit 6beef47
Show file tree
Hide file tree
Showing 42 changed files with 12,567 additions and 17,526 deletions.
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,9 @@
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"codeQL.githubDatabase.update": "never"
"codeQL.githubDatabase.update": "never",
"codeQL.githubDatabase.download": "never",
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
}
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/)

## [3.5.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v3.5.0) (2024-05-26)

### What's Changed
- Add Support for `Water Detector`
- Add Support for `Battery Circulator Fan`
- Add BLE support for `Smart Lock`
- Add `K10+` deviceType Support
- Add Support for `maxRetries` and `delayBetweenRetries` on OpenAPI status refreshes based on [#959](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/959#issuecomment-2094879876), Thanks [@sametguzeldev](https://github.com/sametguzeldev)
- Major Refactoring of `device` and `irdevice` files.
- Housekeeping and updated dependencies.

**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v3.4.0...v3.5.0

## [3.4.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v3.4.0) (2024-02-11)

### What's Changed
Expand Down
227 changes: 195 additions & 32 deletions config.schema.json

Large diffs are not rendered by default.

96 changes: 96 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
import pluginJs from '@eslint/js';
import tseslint from 'typescript-eslint';
import stylistic from '@stylistic/eslint-plugin'


export default tseslint.config({
plugins: {
'@stylistic': stylistic,
'@typescript-eslint': tseslint.plugin,
},
languageOptions: {
parser: tseslint.parser,
parserOptions: {
project: true,
},
},
files: ['**/*.ts'],
ignores: ['.dist/*'],
extends: [
pluginJs.configs.recommended,
...tseslint.configs.recommended,
],
rules: {
'@typescript-eslint/array-type': 'error',
'@typescript-eslint/consistent-type-imports': 'error',
'@stylistic/type-annotation-spacing': 'error',
'@stylistic/quotes': [
'warn',
'single',
],
'@stylistic/indent': [
'warn',
2,
{
'SwitchCase': 1,
},
],
'@stylistic/linebreak-style': [
'warn',
'unix',
],
'@stylistic/semi': [
'warn',
'always',
],
'@stylistic/comma-dangle': [
'warn',
'always-multiline',
],
'@stylistic/dot-notation': 'off',
'eqeqeq': 'warn',
'curly': [
'warn',
'all',
],
'@stylistic/brace-style': [
'warn',
],
'prefer-arrow-callback': [
'warn',
],
'@stylistic/max-len': [
'warn',
150,
],
'no-console': [
'warn',
], // use the provided Homebridge log method instead
'no-non-null-assertion': [
'off',
],
'@stylistic/comma-spacing': [
'error',
],
'@stylistic/no-multi-spaces': [
'warn',
{
'ignoreEOLComments': true,
},
],
'@stylistic/no-trailing-spaces': [
'warn',
],
'@stylistic/lines-between-class-members': [
'warn',
'always',
{
'exceptAfterSingleLine': true,
},
],
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
});
Loading

0 comments on commit 6beef47

Please sign in to comment.