thenewwazoo / homebridge-lutron-caseta-leap

Homebridge support for Lutron Caseta Smart Bridge 2
Apache License 2.0
77 stars 27 forks source link

2.4.2 flooding logs with error (red) messages #69

Closed JoelGit closed 2 years ago

JoelGit commented 2 years ago

Describe The Bug: Since updating to 2.4.2, logs are flooded with error (red) messages. Examples (device names XXXXX out for privacy):

[8/19/2022, 10:18:40 PM] [Lutron] Failed to process device: Error: Failed to wire new device Smart Bridge 2: Skipping: Device type SmartBridge supported natively, skipping setup

[8/19/2022, 10:18:40 PM] [Lutron] Failed to process device: Error: Failed to wire new device XXXXXXX: Skipping: Device type WallSwitch supported natively, skipping setup

[8/19/2022, 10:18:40 PM] [Lutron] Failed to process device: Error: Failed to wire new device XXXXXXX: Skipping: Device type PlugInDimmer not recognized. Please file a ticket and tell me about it

To Reproduce: Update to 2.4.2. 2.4.0 does not have this issue, confirmed by downgrading back to 2.4.0.

Expected behavior:

Logs:

Sampling of errors. I've got tons of these:

[8/19/2022, 10:18:40 PM] [Lutron] Failed to process device: Error: Failed to wire new device Smart Bridge 2: Skipping: Device type SmartBridge supported natively, skipping setup

[8/19/2022, 10:18:40 PM] [Lutron] Failed to process device: Error: Failed to wire new device XXXXXXX: Skipping: Device type WallSwitch supported natively, skipping setup

[8/19/2022, 10:18:40 PM] [Lutron] Failed to process device: Error: Failed to wire new device XXXXXXX: Skipping: Device type PlugInDimmer not recognized. Please file a ticket and tell me about it

Plugin Config:

{
            "name": "Lutron",
            "platform": "LutronCasetaLeap",
            "secrets": [
                {
                    "bridgeid": XXXXXX,
                    "ca": XXXXXX,
                    "cert": XXXXX,
                    "key": XXXXXX
                }
            ],
            "options": {
                "filterPico": false,
                "filterBlinds": true,
                "clickSpeedDouble": "default",
                "clickSpeedLong": "disabled"
            }
        }

Screenshots:

Environment:

thenewwazoo commented 2 years ago

Yeah, I figured this would get a ticket :) you can ignore them, they’re not actually errors. I’ll probably push an update to change how those messages are passed so they aren’t so scary. Thank you for the report!