Skip to content

Commit

Permalink
Merge pull request #538 from gkminix/master
Browse files Browse the repository at this point in the history
Code cleanup for HmIP-BSL: fixed various bugs, added support for firmware version 2.0.2
  • Loading branch information
marcsowen authored May 24, 2024
2 parents 702fde7 + 07dab35 commit f127e82
Show file tree
Hide file tree
Showing 2 changed files with 290 additions and 111 deletions.
5 changes: 5 additions & 0 deletions src/CustomCharacteristic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ export class CustomCharacteristic {
constructor(api: API) {
this.api = api;

this.createCharacteristics('OpticalSignal', 'a11c14a7-bb9b-4085-8597-68cf63964bf8', {
format: Formats.STRING,
perms: [Perms.NOTIFY, Perms.PAIRED_WRITE, Perms.PAIRED_READ],
});

this.createCharacteristics('ElectricPower', 'E863F10D-079E-48FF-8F27-9C2605A29F52', {
format: Formats.FLOAT,
perms: [Perms.NOTIFY, Perms.PAIRED_READ],
Expand Down
Loading

0 comments on commit f127e82

Please sign in to comment.