Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Overload __str__ in the device class #468

Merged
merged 1 commit into from
Nov 5, 2020
Merged

Conversation

felipediel
Copy link
Collaborator

Proposed change

Add a str representation to the device class to assist with error messages. The device will appear in the logs as follows:

Living Room (RM mini 3 at 192.168.0.21)

@Danielhiversen Danielhiversen merged commit 73dab5c into mjg59:master Nov 5, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants