-
-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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
Clean up device update, add via-hub #16659
Conversation
devices[device['id']] = DeviceEntry( | ||
config_entries=set(device['config_entries']), | ||
connections={tuple(conn) for conn in device['connections']}, | ||
identifiers={tuple(iden) for iden in device['identifiers']}, |
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.
line too long (80 > 79 characters)
for device in data['devices']: | ||
devices[device['id']] = DeviceEntry( | ||
config_entries=set(device['config_entries']), | ||
connections={tuple(conn) for conn in device['connections']}, |
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.
line too long (80 > 79 characters)
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.
Looks good!
Description:
via_hub
option todevice_info
so that devices can indicate via what hub they are communicating.Docs PR: home-assistant/developers.home-assistant#88
CC @Kane610
Checklist:
tox
. Your PR cannot be merged unless tests passIf the code does not interact with devices: