-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[lutron] Added device discovery for DivaSmartDimmer and PaddleSwitchPico #17723
Conversation
@@ -118,7 +120,7 @@ public void processDeviceDefinitions(List<Device> deviceList) { | |||
// Don't discover sensors. Using occupancy groups instead. | |||
break; | |||
default: | |||
logger.info("Unrecognized device type: {}", device.deviceType); | |||
logger.info("Unrecognized device type: {} ({})", device.deviceType, deviceId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logger.info("Unrecognized device type: {} ({})", device.deviceType, deviceId); | |
logger.info("Unrecognized device type: {} id: ({})", device.deviceType, deviceId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM
…l not print out ID of any unrecongnized device in the logs. Signed-off-by: Jeff James <[email protected]>
Signed-off-by: Jeff James <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks LGTM
[lutron] Added device discovery for DivaSmartDimmer and PaddleSwitchPico
Description
Added discovery of DivaSmartDimmer and PaddleSwitchPico device types and mapped to creation of appropriate device.
Also, added the deviceId to the "Unrecognized" device log so that users can manually add new devices in the future.