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

Extract lovelace to it's own component #16816

Merged
merged 5 commits into from
Sep 25, 2018
Merged

Extract lovelace to it's own component #16816

merged 5 commits into from
Sep 25, 2018

Conversation

balloob
Copy link
Member

@balloob balloob commented Sep 24, 2018

Description:

This moves Lovelace from frontend component to it's own. Changes websocket command but made backwards compatible to avoid frontend update issues.

Example entry for configuration.yaml (if applicable):

frontend:

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

If the code does not interact with devices:

  • Tests have been added to verify that the new code works.

tests/components/lovelace/__init__.py Show resolved Hide resolved
)
except FileNotFoundError:
error = ('file_not_found',
'Could not find ui-lovelace.yaml in your config dir.')

Choose a reason for hiding this comment

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

continuation line over-indented for visual indent

@balloob balloob merged commit e78f4d1 into dev Sep 25, 2018
@balloob balloob deleted the lovelace-component branch September 25, 2018 06:39
@ghost ghost removed the in progress label Sep 25, 2018
"""Send lovelace UI config over websocket config."""
error = None
try:
config = await hass.async_add_job(
Copy link
Member

Choose a reason for hiding this comment

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

Use async_add_executor_job.

Copy link
Member Author

Choose a reason for hiding this comment

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

🤦‍♂️

@balloob balloob mentioned this pull request Sep 25, 2018
@balloob balloob mentioned this pull request Oct 12, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
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.

None yet

4 participants