Skip to content

Commit

Permalink
fix: Fix power source for Schneider Electric W599001/W599501 #6145
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Sep 19, 2023
1 parent 0202524 commit 21f66c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/devices/schneider_electric.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1116,6 +1116,8 @@ const definitions: Definition[] = [
await endpoint.read('msTemperatureMeasurement', ['measuredValue']);
await endpoint.read('ssIasZone', ['iasCieAddr', 'zoneState', 'zoneStatus', 'zoneId']);
await endpoint.read('genPowerCfg', ['batteryVoltage', 'batteryPercentageRemaining']);
device.powerSource = 'Mains (single phase)';
device.save();
},
whiteLabel: [
{vendor: 'Schneider Electric', model: 'W599501', description: 'Wiser smoke alarm', fingerprint: [{modelID: 'W599501'}]},
Expand Down

0 comments on commit 21f66c3

Please sign in to comment.