grover / homebridge-automation-switches

A flexible automation switch for Homebridge: https://github.com/nfarina/homebridge
MIT License
114 stars 12 forks source link

Serial Number always returns '42' for Automation Switches #36

Closed peterneutron closed 2 years ago

peterneutron commented 2 years ago

The Serial Number field for all Automation Switches always returns 42 but normal Switches do get their unique number after the SW prefix. Looking at the code I really can't figure out what's causing this.

peterneutron commented 2 years ago

Found the culprit. Commit 7001109a55eec3ab9807b52cb27d98f9a82045f8 fixes this issue but the released version 3.2.1 doesn't include it.