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

Templating #12

Merged
merged 13 commits into from
Dec 3, 2024
Merged

Templating #12

merged 13 commits into from
Dec 3, 2024

Conversation

JFK20
Copy link
Owner

@JFK20 JFK20 commented Dec 3, 2024

This pull request introduces significant changes to the codebase, focusing on refactoring, new feature additions, and updates to existing functionality. The most important changes include the creation of a new TemplateService class, updates to the DrawBox function, and modifications to the Entity and hass types.

New Features:

Refactoring and Updates:

  • src/utilities/drawBox.ts: Refactored the DrawBox function to use the new GroupConfig type and handle different box types (text and geo). [1] [2]
  • src/types/Entity.ts: Introduced new interfaces GroupConfig, TlDrawParams, and TLDrawProps to better structure entity configurations.
  • src/types/hass.ts: Updated the CardConfig interface to include groups and added the HomeAssistantState and CardState interfaces.

Miscellaneous:

@JFK20 JFK20 merged commit b938c03 into main Dec 3, 2024
1 of 2 checks passed
@JFK20 JFK20 deleted the templating branch December 13, 2024 22:27
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.

1 participant