Skip to content

Add CSV import for life events - #4

Open
26tajeen wants to merge 1 commit into
calebgab:mainfrom
26tajeen:feature/csv-import
Open

Add CSV import for life events#4
26tajeen wants to merge 1 commit into
calebgab:mainfrom
26tajeen:feature/csv-import

Conversation

@26tajeen

@26tajeen 26tajeen commented Aug 1, 2026

Copy link
Copy Markdown

Summary

  • add a CSV import step to the integration options flow
  • validate and normalize imported events, with merge/replace modes
  • restrict imports to the Home Assistant config directory and 1 MB
  • document the CSV format and add unit coverage

CSV format

Required columns: name, date, and type. Optional columns: year_unknown, custom_label, and icon. Duplicate detection uses normalized name, date, and event type.

Validation

  • flake8 custom_components/life_events/ tests/ --max-line-length=120 --ignore=E501,W503
  • JSON syntax checks for strings and translations
  • git diff --check

This is intentionally separate from the bulk-management/card changes so it can be reviewed independently.

@26tajeen
26tajeen marked this pull request as ready for review August 1, 2026 13:56
@26tajeen
26tajeen force-pushed the feature/csv-import branch from b5402ef to cfe95ce Compare August 1, 2026 13:57
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