Plant Diary is a custom integration for Home Assistant that helps you manage and monitor your houseplants. Track when each plant was last watered or fertilized, define care intervals, and visualize everything with a custom card Plant Diary Card.
This work has been inspired by Plant tracker for Home Assistant.
- Track multiple plants with individual settings
- Custom watering intervals and postponements
- Indoor/outdoor plant designation
- Automatic daily updates for watering days
- Logbook integration for activity tracking
You can install this component in two ways: via HACS or manually.
- Go to the HACS Integration Tab
- Search the
Plant Diarycomponent and click on it. - Click Download button at the bottom of the page. A pop up will be shown informing you that the component will be installed in the folder
/config/custom_components/plant_diary. Click Download.
- Go to the HACS Integration Tab
- Search the
Plant Diary Cardcomponent and click on it. - Click Download button at the bottom of the page. A pop up will be shown informing you that the component will be installed in the folder
/config/www/community/ha-plant-diary-card. Click Download. The JavaScript module will be automatically added to the Dashboard Resources (/hacsfiles/ha-plant-diary-card/ha-plant-diary-card.js).
- Clone or download the GitHub repository: ha-plant-diary
- Copy the
custom_components/plant_diaryfolder to your Home Assistantconfig/custom_components/directory: config/custom_components/plant_diary - Restart Home Assistant.
- Clone or download the GitHub repository: ha-plant-diary-card
- Create the
config/www/plant_diarydirectory if it does not already exist. - Place the file
ha-plant-diary-card.jsin yourconfig/www/plant_diarydirectory:config/www/plant_diary/ha-plant-diary-card.js - Add the resource to your dashboard via Settings > Dashboards > Resources:
URL: /local/plant_diary/ha-plant-diary-card.js- Go to Settings > Devices & Services > Devices > Add Device.
- Search for Plant Diary and add it.
Plant Diary creates one sensor for each plant in the form of sensor.plant_diary_<name>. The sensor state indicates the current watering status, and the plant details are available as sensor attributes.
- Create a Dashboard using the Sidebar layout
- Click Add Card and search for
Plant Diary Card
You can use a picture from the internet or upload your own plant photo. By default, place plant images in the config/www/plant_diary folder and use the same name as the plant. For example, for a plant named Monstera, place the image at config/www/plant_diary/Monstera.jpg.
Home Assistant serves files from config/www under /local, so this example image is available as /local/plant_diary/Monstera.jpg.
Plant Diary stores these fields as attributes on each plant sensor.
| Field | Description |
|---|---|
plant_name |
Name of the plant |
last_watered |
Last watered date (e.g., 2025-07-30) |
last_fertilized |
Last fertilized date (optional) |
watering_interval |
Days between waterings (default: 14) |
watering_postponed |
Extra days to postpone watering (default: 0) |
inside |
Whether the plant is indoors (true or false) |
image |
Custom image path or entity picture, such as Monstera.jpg |
Plant Diary logs important events to the Home Assistant logbook. These entries help you keep track of changes made either manually or via automation.
Monstera was created.Monstera was updated.Monstera was deleted.
These messages appear in Home Assistant’s Logbook panel.
If you encounter any issues or would like to suggest improvements:
- 📌 Open an issue on GitHub: https://github.com/xplanes/ha-plant-diary/issues
- 🙌 Pull requests are welcome!
Please include logs or reproduction steps when reporting bugs.
Planned features and improvements for future versions:
- ✅ Create, update, and delete plant entries
- ✅ Daily tracking of days since watering
- ✅ Lovelace card for visualizing plant data
- ✅ Logbook integration
- 🔜 Reminder notifications for watering and fertilizing
- 🔜 Integration with moisture/humidity sensors
- 🔜 Multi-language support
Feel free to contribute to the roadmap or suggest new ideas!
This project is licensed under the MIT License. See the LICENSE file for full license text.
© 2025 @xplanes