Skip to content

Extract lovelace to it's own component#16816

Merged
balloob merged 5 commits intodevfrom
lovelace-component
Sep 25, 2018
Merged

Extract lovelace to it's own component#16816
balloob merged 5 commits intodevfrom
lovelace-component

Conversation

@balloob
Copy link
Copy Markdown
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.

)
except FileNotFoundError:
error = ('file_not_found',
'Could not find ui-lovelace.yaml in your config dir.')
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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.

4 participants