Skip to content

Add callback decorator to _handle_time_interval method#11

Open
baudneo wants to merge 1 commit into
buggedcom:mainfrom
baudneo:patch-1
Open

Add callback decorator to _handle_time_interval method#11
baudneo wants to merge 1 commit into
buggedcom:mainfrom
baudneo:patch-1

Conversation

@baudneo

@baudneo baudneo commented Jun 13, 2026

Copy link
Copy Markdown

Summary

  • Wraps a synchronous call in a callback decorator so it isnt backgrounded into un-thread safe territory

Type of change

  • Bug fix
  • New feature
  • Refactor / code quality
  • Tests
  • Documentation
  • CI / tooling
  • Breaking change

Related issues

#10

Testing

  • Python unit tests pass (pytest tests/)
  • Frontend unit tests pass (pnpm test)
  • Manually tested in Home Assistant
  • New tests added to cover the change

Breaking changes

Checklist

  • Commit messages follow Conventional Commits
  • Bundle rebuilt (pnpm build) and hass-datapoints-cards.js is committed
  • No new TypeScript type errors (pnpm lint:types)
  • No new lint warnings (pnpm lint)

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