-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0ecb865
commit 6a9217f
Showing
7 changed files
with
39 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
MIT License | ||
|
||
Copyright (c) 2018-2024 Denis Haev <[email protected]> | ||
Copyright (c) 2018-2025 Denis Haev <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,6 +96,10 @@ if (controls) { | |
--> | ||
|
||
## Changelog | ||
### **WORK IN PROGRESS** | ||
|
||
- (@GermanBluefox) Added detection of `level.direction` | ||
|
||
### 4.1.1 (2024-12-15) | ||
- (@Apollon77) Fixed default unit for Illuminance to "lux" | ||
- (@Apollon77) Added Low-Battery state for switch to be consistent with other devices | ||
|
@@ -106,7 +110,7 @@ if (controls) { | |
- (@Garfonso) Added battery state | ||
- (@Garfonso) Added the transition time state | ||
- (@Garfonso) Allowed the mixed `device->state` and `device->channel->state` structures | ||
- (@GermanBluefox) Used new eslint config library | ||
- (@GermanBluefox) Used a new eslint config library | ||
- (@GermanBluefox) Types were slightly changed | ||
- (Apollon77) Removed File state type | ||
- (Apollon77) Adjusted Camera states to remove Binary state and replace by link | ||
|
@@ -256,6 +260,6 @@ if (controls) { | |
|
||
## License | ||
|
||
Copyright (c) 2018-2024 Denis Haev <[email protected]> | ||
Copyright (c) 2018-2025 Denis Haev <[email protected]> | ||
|
||
MIT License |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/** | ||
* Copyright 2018-2023 bluefox <[email protected]> | ||
* Copyright 2018-2025 bluefox <[email protected]> | ||
* | ||
* The MIT License (MIT) | ||
* | ||
|
@@ -86,13 +86,13 @@ export interface InternalDetectorState { | |
min?: StateType; // type of attribute: number', 'string' or 'boolean'. This attribute must exist in common | ||
max?: StateType; // type of attribute: number', 'string' or 'boolean'. This attribute must exist in common | ||
required?: boolean; // if required to detect the pattern as valid | ||
noSubscribe?: boolean; // no automatic subscription for this state (e.g., if write only) | ||
searchInParent?: boolean; // if this pattern should be search in a device too and not only in channel | ||
noSubscribe?: boolean; // no automatic subscription for this state (e.g., if write-only) | ||
searchInParent?: boolean; // if this pattern should be searched in a device too and not only in channel | ||
enums?: (obj: ioBroker.Object, enums: string[]) => boolean; // function to execute custom category detection | ||
multiple?: boolean; // if more than one state may have this pattern in channel | ||
noDeviceDetection?: boolean; // do not search indicators in parent device | ||
noDeviceDetection?: boolean; // do not search indicators in a parent device | ||
notSingle?: boolean; // this state may belong to more than one tile simultaneously (e.g., volume tile and media with volume) | ||
inverted?: boolean; // is state of indicator must be inverted | ||
inverted?: boolean; // if the state of indicator must be inverted | ||
stateName?: RegExp; // regex for state names (IDs). Not suggested | ||
defaultStates?: { [key: string]: string }; // is for detection irrelevant, but will be used by iobroker.devices. | ||
defaultRole?: string; // is for detection irrelevant, but will be used by iobroker.devices - only states WITH defaultRole will show up in UI. | ||
|