forked from nremey/HA-menstrual-gauge-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
wallenium edited this page Aug 1, 2026
·
2 revisions
HA Menstruation Cycle is a Home Assistant custom integration with local storage, sensors, services, and Lovelace cards for cycle tracking, visualization, and household support workflows.
It is designed for people who want menstrual-cycle data to stay inside Home Assistant while still getting practical dashboards, reminders, exports, symptom logging, and multi-profile support.
- HACS-ready integration with UI setup
- Multiple profiles in one Home Assistant instance
- Interactive and compact dashboard cards
- Cycle history, predictions, statistics, and heatmap views
- Product usage logging and household inventory workflows
- Export and automation support
- Open HACS and add:
git: /wallenium/HA-menstrual-cycle - Search for menstruation cycle and install the integration
- Add a user profile with a friendly name
- Restart Home Assistant
- Add card:
custom:menstruation-cycle-card - Add the daily refresh automation from
/examples/daily_recalculate_days_until_next_start.yaml
- Installation Guide
- Cards & Configuration
- Services & Automations
- FAQ & Troubleshooting
- Developer Guide
HA-menstrual-cycle/
├── .github
│ ├── hacs.yml
│ └── hassfest.yml
├── hacs.json
├── README.md
├── DISCLAIMER.md
├── examples
│ └── daily_recalculate_days_until_next_start.yaml
└── custom_components/
└── menstruation_cycle/
├── __init__.py
├── config_flow.py
├── const.py
├── manifest.json
├── model.py
├── sensor.py
├── services.yaml
├── storage.py
├── strings.json
├── translations/
│ ├── de.json
│ └── en.json
└── www/
├── menstruation-cycle-card.js
├── menstruation-cycle-card-compact.js
├── menstruation-cycle-compact-status-card.js
├── menstruation-cycle-history-card-row.js
├── menstruation-cycle-heatmap-card.js
├── menstruation-calendar-card.js
├── menstruation-countdown-timer.js
├── menstruation-product-inventory-card.js
├── menstruation-statistics-card.js
└── menstruation-icons.js
- Required by Home Assistant so the integration domain can load.
- Without
manifest.json, initialization fails.
- Required for proper HACS detection as a custom integration.
- Without it, HACS cannot reliably classify the repository.
-
__init__.pyregisters services and static card resources. -
sensor.pyexposes states and attributes used by cards and automations. -
config_flow.pyenables UI setup so manual YAML integration setup is not required.
- Persists history and settings in
.storage. - Without persistent storage, entered data is lost on restart.
- Keeps cycle calculation logic separated from Home Assistant framework code.
- Improves maintainability and traceability.
- Lovelace cards are JavaScript resources.
- The integration serves these files under
/menstruation_cycle/....
- Documents services in the Home Assistant UI.
- Without it, services still work but are harder to discover.