-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Provide device URL #604
Provide device URL #604
Conversation
@@ -103,7 +103,8 @@ def device_info(self): | |||
'name': self._block.friendly_name(), | |||
'manufacturer': 'Allterco', | |||
'model': self._block.type_name(), | |||
'sw_version': self._block.fw_version() | |||
'sw_version': self._block.fw_version(), | |||
'configuration_url': f'http://{self._block.ip_addr}' |
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.
Maybe it's : 'configuration_url': f"http://{self._block.ip_addr}" ?
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.
Did it not work for you? It was included in the release 0.3.1 beta 2. Or do you mean only for readability?
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.
Yes readibility
@@ -164,7 +164,8 @@ def device_info(self): | |||
'name': self._dev.block.friendly_name(), | |||
'manufacturer': 'Allterco', | |||
'model': self._dev.type_name(), | |||
'sw_version': self._dev.fw_version() | |||
'sw_version': self._dev.fw_version(), | |||
'configuration_url': f'http://{self._dev.ip_addr}' |
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.
Maybe it's : 'configuration_url': f"http://{self._block.ip_addr}" ?
For the issue #603