Skip to content

Commit

Permalink
Process devices not yet supported by Zigbee2MQTT if exposes informati…
Browse files Browse the repository at this point in the history
…on is available (#864)
  • Loading branch information
itavero authored May 21, 2024
1 parent 713bb3c commit 03c29fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Since version 1.0.0, we try to follow the [Semantic Versioning](https://semver.o

## [Unreleased]

### Changed

- Process devices not yet supported by Zigbee2MQTT if they provide exposes information. This should allow automatically detected features to already be exposed.

### Fixed

- Non-zero brightness levels below 1% are now rounded up to 1%. (see [#673](https://github.com/itavero/homebridge-z2m/issues/673))
Expand Down
2 changes: 1 addition & 1 deletion src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ export class Zigbee2mqttPlatform implements DynamicPlatformPlugin {
}

private createOrUpdateAccessory(device: DeviceListEntry) {
if (!device.supported || !isDeviceDefinition(device.definition) || this.isDeviceExcluded(device)) {
if (!isDeviceDefinition(device.definition) || this.isDeviceExcluded(device)) {
return;
}
const uuid_input = isDeviceListEntryForGroup(device) ? `group-${device.group_id}` : device.ieee_address;
Expand Down

0 comments on commit 03c29fd

Please sign in to comment.