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

Allow panels with external URL #9214

Merged
merged 2 commits into from
Aug 31, 2017
Merged

Conversation

andrey-git
Copy link
Contributor

Description:

Allow panels with external URL

If the code does not interact with devices:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

@dale3h dale3h added this to the 0.53 milestone Aug 29, 2017
if md5 is None:
with open(path) as fil:
md5 = hashlib.md5(fil.read().encode('utf-8')).hexdigest()
if url is None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the docstring for this method. Also can remove the warning, it's not changing anytime soon.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. PTAL

@balloob
Copy link
Member

balloob commented Aug 30, 2017

Ok to merge after doc change

@dale3h dale3h merged commit bb37294 into home-assistant:dev Aug 31, 2017
@dale3h
Copy link
Member

dale3h commented Aug 31, 2017

I will submit a PR for website/docs update in the morning.

@dale3h
Copy link
Member

dale3h commented Sep 1, 2017

@andrey-git I originally thought that this PR was to allow external URLs in the panel_custom component, but there does not seem to be any changes to that file to reflect this change.

Can you please re-confirm the intent behind this change?

@andrey-git
Copy link
Contributor Author

@dale3h panel_custom should be changed explicitly to benefit from this change, but custom components can use register_panel directly.

@balloob balloob mentioned this pull request Sep 7, 2017
@balloob balloob removed this from the 0.53 milestone Sep 7, 2017
@andrey-git andrey-git deleted the frontend branch October 25, 2017 20:16
@home-assistant home-assistant locked and limited conversation to collaborators Mar 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants