Skip to content
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

Merged
merged 3 commits into from
Nov 18, 2021
Merged

Provide device URL #604

merged 3 commits into from
Nov 18, 2021

Conversation

chpego
Copy link
Contributor

@chpego chpego commented Nov 15, 2021

For the issue #603

@chpego chpego changed the title Provide device URL draft: Provide device URL Nov 15, 2021
@chpego chpego changed the title draft: Provide device URL Provide device URL Nov 15, 2021
@hakana hakana changed the base branch from master to dev November 18, 2021 23:34
@hakana hakana merged commit 4b9b1f3 into StyraHem:dev Nov 18, 2021
@@ -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}'
Copy link
Contributor Author

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}" ?

Copy link
Contributor

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?

Copy link
Contributor Author

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}'
Copy link
Contributor Author

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}" ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants