oznu / homebridge-gsh

Allow Google Assistant to control your Homebridge accessories.
https://assistant.google.com/services/a/uid/000000b558f0d5d1?hl=en
GNU General Public License v3.0
399 stars 55 forks source link

Minor typographical error appearing in HB logs "Pin cide has not been set and is required for secure ... accessory types" #183

Open doasfan opened 1 year ago

doasfan commented 1 year ago

Describe The Bug: In Homebridge logs, notifications say "Pin cide" instead of PIN code".

To Reproduce: Install gsh, link it, have either SecuritySystem, LockMechanism, or GarageDoorOpener accessory types, and don't set a PIN, and don't disable the PIN code requirement.

Expected behavior: The logs should say "PIN code" instead of "Pin cide". PIN should be capitalized, and code, of course.

Logs: [12/7/2022, 12:56:13 PM] [Google Smart Home] Not registering Panel - Pin cide has not been set and is required for secure SecuritySystem accessory types. See https://git.io/JUQWX [12/7/2022, 12:56:13 PM] [Google Smart Home] Not registering Front Door Lock - Pin cide has not been set and is required for secure LockMechanism accessory types. See https://git.io/JUQWX [12/7/2022, 12:56:13 PM] [Google Smart Home] Not registering Garage Door - Pin cide has not been set and is required for secure GarageDoorOpener accessory types. See https://git.io/JUQWX

Homebridge Config: { "name": "Google Smart Home", "token": , "notice": "Keep your token a secret!" ], "platform": "google-smarthome" },

Screenshots: Capture

Environment: