Skip to content

Conversation

@scinos
Copy link
Collaborator

@scinos scinos commented Nov 6, 2024

Pull Request Template for Home Assistant / Lovelace Card Repository

Overview

Implements a method to compute the number of rows and columns used by the card. This should make it compatible with the new grid system.

Depending on the sections enabled in the card (title, sunset, moon phase, etc), it will use a different number of rows. These are some examples (the colored rows in the first column act as a guide):

Screenshot 2024-11-06 at 09 51 55
Screenshot 2024-11-06 at 09 51 29
Screenshot 2024-11-06 at 09 51 04
Screenshot 2024-11-06 at 09 50 48

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Documentation update
  • Refactoring
  • Other (please describe):

Related Issues / Pull Requests

Fixes #145

Additional Details

I documented how to test the card in isolation and inside Home Assistant to README.md.
Thanks to @PhilippeP62 for doing 99% of the work in #145.

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.

Update card to comply with new "design grid system"

1 participant