Skip to content

OZW Panel: Don't show an empty wakeup card#8064

Merged
bramkragten merged 1 commit intohome-assistant:devfrom
cgarwood:ozw-wakeup-cleanup
Jan 4, 2021
Merged

OZW Panel: Don't show an empty wakeup card#8064
bramkragten merged 1 commit intohome-assistant:devfrom
cgarwood:ozw-wakeup-cleanup

Conversation

@cgarwood
Copy link
Copy Markdown
Member

@cgarwood cgarwood commented Jan 2, 2021

Proposed change

Powered nodes don't have wakeup instructions. This PR only shows the WakeUp instruction card if there are wakeup instructions, otherwise the card is hidden. Also adds 24px of margin to the bottom of the last card so its not directly touching the bottom of the window.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@bramkragten bramkragten merged commit fab6805 into home-assistant:dev Jan 4, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jan 5, 2021
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.

3 participants