Skip to content
Projects

Olen/homeassistant-plant

View on GitHub

About

Alternative Plant component of home assistant

Other Projects

How these counts are measured

Measured star growth

in 24h
+2
in 7 days
+3
in 15 days
+4
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

๐ŸŒฑ Plant Monitor for Home Assistant

HACS Custom GitHub Release

A comprehensive plant monitoring integration for Home Assistant that treats each plant as a device with its own sensors, thresholds, and health tracking. Automatically fetches species data from OpenPlantbook to configure optimal growing conditions.

[!WARNING] This integration is not compatible with the original built-in plant integration in Home Assistant.

[!NOTE] Plant Monitor requires Home Assistant 2026.8 or newer. On older Home Assistant versions, use Plant Monitor 2026.11.2, the last release that supports them.


๐Ÿ“‘ Table of Contents


๐ŸŒฟ Overview

Each plant is a device in Home Assistant, grouping all its related entities together:

Plant device overview

Key features:

  • ๐Ÿ–ฅ๏ธ UI-based setup โ€” guided multi-step config flow with optional OpenPlantbook search
  • ๐Ÿ“Š Per-plant thresholds โ€” each threshold is its own entity, adjustable from the UI or via automations
  • ๐ŸŒค๏ธ Daily Light Integral โ€” automatic DLI calculation from illuminance sensors
  • ๐Ÿ’ง Vapour Pressure Deficit โ€” automatic VPD calculation from temperature + humidity
  • ๐Ÿ”„ Live updates โ€” change sensors, thresholds, species, or images without restarting HA
  • ๐Ÿšจ Problem detection โ€” configurable per-sensor problem triggers
  • โœ… Care tasks โ€” watering, fertilizing, repotting and pruning in a to-do list, opened by the sensors or on a schedule, and ticked off when the plant sees the job done
  • ๐Ÿ”ฎ Next watering โ€” a forecast of when the soil will be dry
  • ๐Ÿ“‹ Plant summary โ€” how many plants and tasks need attention, for the whole home
  • ๐Ÿ”Œ Auto-disable โ€” sensors without a source entity are automatically disabled

๐Ÿ“ฆ Installation

1. Install OpenPlantbook (optional but recommended)

The OpenPlantbook integration automatically fetches species data, thresholds, and images. Without it, you must set all thresholds manually.

  • Install from HACS or manually
  • Register at open.plantbook.io (free)
  • Add your client_id and secret in the integration config
  • Test with the openplantbook.search action

2. Install Plant Monitor

Via the Marketplace (HACS before Home Assistant 2026.11)

Open your Home Assistant instance and open this repository in the Marketplace.

  1. Select the button above, or add this repo as a custom repository with type Integration
  2. Click Install in the "Home Assistant Plant" repository. From Home Assistant 2026.11, the Marketplace asks you to confirm that it replaces the built-in plant integration
  3. Restart Home Assistant

Manual Installation

  1. Copy custom_components/plant/ to your <config>/custom_components/ directory
  2. Restart Home Assistant

After installing, restart Home Assistant and add plants via Settings โ†’ Devices & Services โ†’ Add Integration โ†’ Plant Monitor.

The Flower Card comes with Plant Monitor. If you installed it separately before, Home Assistant shows a repair asking you to remove that copy.


๐Ÿ”ง Setup & Configuration

The config flow guides you through plant setup in four steps:

Step 1: Name & Species

Enter a name for your plant. Optionally enter a species to search OpenPlantbook.

  • If OpenPlantbook is installed and a species is entered, the flow proceeds to species selection
  • If no species is entered (or OpenPlantbook is not installed), the flow skips to sensor selection

Step 2: Select Species (OpenPlantbook only)

If OpenPlantbook found matches, select the correct species from a dropdown list. You can also re-search with a different term if the initial results aren't right.

If the wrong species was selected, you can go back and search again.

Step 3: Select Sensors

Choose which physical sensors to associate with your plant. All sensors are optional and can be added or changed later. Available sensor types:

Sensor Device Class Description
๐ŸŒก๏ธ Temperature temperature Air temperature
๐Ÿ’ง Soil moisture moisture Soil water content
โšก Conductivity conductivity Soil nutrient level
โ˜€๏ธ Illuminance illuminance Light level
๐Ÿ’จ Air humidity humidity Air moisture
๐Ÿซง CO2 carbon_dioxide CO2 concentration
๐ŸŒก๏ธ Soil temperature temperature Soil temperature

The conductivity sensor must report in ยตS/cm, mS/cm or S/cm (no unit is read as ยตS/cm). mS/cm and S/cm are converted to ยตS/cm, the unit of the plant's limits. A sensor in any other unit is logged as an error and its conductivity is not checked.

Fill sensors from device โ€” if one device reports several of these measurements (a soil probe, a multi-sensor), pick it in the top field. The form reloads with every matching empty field filled in, and you can still change any of them by hand. Fields you already filled in yourself are left alone.

Matching is by device class, so the device must report the correct one. A device class with more than one candidate entity is left blank rather than guessed. Temperature is the exception: a temperature entity whose name or id mentions "soil" goes to soil temperature, and a single remaining one goes to (air) temperature.

[!TIP] Sensors without a source entity are automatically disabled. You can add or replace sensors at any time after setup.

Step 4: Set Limits

Configure min/max thresholds for each sensor type. If OpenPlantbook data is available, thresholds are pre-filled automatically. Only thresholds for sensor types selected in the previous step are shown (if no sensors were selected, all thresholds are displayed).

You can also set a custom image URL and display species name on this page.


๐ŸŒก๏ธ Sensors & Thresholds

All thresholds are their own entities and can be changed from the UI or by automations and scripts. Changes take effect immediately โ€” no restart needed.

Threshold entities Threshold config

  • ๐ŸŒก๏ธ Max/min temperature adapts to your HA unit of measurement (ยฐC or ยฐF)
  • Threshold values update automatically if you change your HA temperature units

โ˜€๏ธ Daily Light Integral (DLI)

A Daily Light Integral sensor is automatically created for each plant, measuring the total photosynthetically active light received per day.

DLI sensor

See Wikipedia: Daily Light Integral for background.

Configurable Lux-to-PPFD Conversion

The DLI calculation converts illuminance (lux) to PPFD. The default factor (0.0185) is optimized for sunlight, but different light sources need different factors. Adjust it per plant using the Lux to PPFD factor entity.

Some light sensors (FYTA, for example) report PPFD instead of lux, in ฮผmol/sโ‹…mยฒ or mol/sโ‹…mยฒ. Such a sensor can be used as the illuminance sensor: its reading goes straight to the PPFD and DLI sensors, converted by its unit, and the lux limits are not checked for it.

For technical details on the DLI calculation pipeline, conversion factors, troubleshooting low readings, and the optional rolling 24-hour sensor, see DLI.md.


๐Ÿ’ง Vapour Pressure Deficit (VPD)

A VPD sensor is automatically created when a plant has both a temperature and humidity sensor configured. VPD measures the "drying power" of the air โ€” how aggressively it pulls moisture from leaf surfaces. It is calculated using the Tetens formula:

SVP = 0.6108 ร— e^((17.27 ร— T) / (T + 237.3))
VPD = SVP ร— (1 - RH / 100)

Default Thresholds

Threshold Default Meaning
Minimum 0.4 kPa Below this the air is too humid โ€” risk of fungal disease
Maximum 1.6 kPa Above this plants may close stomata and stop growing

Practical Considerations

[!NOTE] VPD is primarily useful for greenhouses and controlled growing environments. The default thresholds come from agricultural science where humidity is actively managed (typically 50โ€“80% RH).

A typical heated indoor environment โ€” especially in winter โ€” often has humidity around 20โ€“35%, which produces VPD values of 1.5โ€“2.5 kPa. This is genuinely stressful for most plants (it's why greenhouses exist), but it is also completely normal for a living room. Most houseplants tolerate it, even if it's not optimal.

For this reason, the VPD problem trigger is disabled by default. You can enable it in the plant's options if you want VPD to affect the plant's ok/problem state โ€” this is most useful if you are actively managing humidity (e.g. in a greenhouse, grow tent, or terrarium).

Enabling VPD Problem Trigger

  1. Go to Settings โ†’ Devices & Services โ†’ Plant Monitor
  2. Select your plant
  3. Click Configure โ†’ Plant properties
  4. Enable "Use VPD as problem trigger"

๐Ÿ–ผ๏ธ Plant Images

The plant image can be set in several ways:

From OpenPlantbook (automatic)

If the species is found in OpenPlantbook, the image URL is fetched automatically. The integration validates that the URL is accessible before using it. If the OpenPlantbook integration is configured to download images, the downloaded files are stored in config/www/images/plants/ by default and referenced as /local/images/plants/.

Custom Images

You can override the image with your own. Supported formats:

Format Example
HTTP/HTTPS URL https://example.com/my-plant.jpg
Local /www/ folder /local/images/plants/my-plant.jpg (file at config/www/images/plants/my-plant.jpg)
Media Source media-source://media_source/local/plants/my-plant.jpg

[!NOTE]

  • Paths are case-sensitive โ€” the filename must match exactly
  • Only media_source/local/ is supported for media source URLs
  • Media source URLs require a compatible Lovelace card (like the Flower Card)

โš ๏ธ Problem Reports

By default, any sensor reading outside its configured threshold triggers a "problem" state on the plant. You can enable or disable problem triggers per sensor type.

Configure via Settings โ†’ Devices & Services โ†’ Plant Monitor โ†’ Your Plant โ†’ Configure โ†’ Plant properties.

Four of the checkboxes also steer care tasks and the plant-care card:

Checkbox Checked Unchecked
Use soil moisture as problem trigger Moisture problems are raised. The plant adds "Water โ€ฆ" to the to-do list when the soil is too dry, and ticks it off when the moisture sensor shows a watering (and watered fires). On the plant-care card, ยซDoneยป asks first, for the times the sensor missed a watering. No moisture problems are raised. Watering follows the watering interval (if set). A watering is either detected by the moisture sensor (if there is one) or recorded when you press ยซDoneยป on the plant-care card.
Use conductivity as problem trigger Conductivity problems are raised. The plant adds "Fertilize โ€ฆ" to the to-do list when the conductivity is too low, and ticks it off when the conductivity sensor shows a fertilizing (and fertilized fires). On the plant-care card, ยซDoneยป asks first, for the times the sensor missed a fertilizing. No conductivity problems are raised. Fertilizing follows the fertilize interval (if set). A fertilizing is either detected by the conductivity sensor (if there is one) or recorded when you press ยซDoneยป on the plant-care card.
Use illuminance as problem trigger Light problems, which turn the card's Light & soil row red. No care tasks. No light problem from illuminance, so the card shows no warning.
Use daily light integral (DLI) as problem trigger Light problems, which turn the card's Light & soil row red. No care tasks. No light problem from DLI, so the card shows no warning.
  • A checked trigger wins over an interval for the same care type.
  • Changing a checkbox removes the waiting task of that kind from the to-do list; the plant then adds one the new way.
  • Uncheck a trigger when you don't trust that sensor.

[!NOTE] Disabling a trigger only removes that sensor from the plant's ok/problem calculation โ€” it does not stop the sensor being evaluated. Each *_status attribute (e.g. illuminance_status: Low) always reflects the latest reading against the plant's thresholds regardless of its trigger, and is null only when no value is available (sensor missing or unavailable). Use the problems attribute โ€” which lists only sensors that are out of range and have their trigger enabled โ€” as the source of truth for active problems.

Conductivity in dry soil

Conductivity falls as the soil dries, so a drying pot would read "conductivity low" without needing fertilizer. For a plant with a moisture sensor, conductivity is therefore only checked against its limits while the soil moisture is at least 10 points above the plant's minimum. In drier soil the conductivity status stays where it was until the soil is moist again.

Hysteresis

All threshold checks include a hysteresis band equal to 5% of the threshold being crossed (capped so it never exceeds 5% of the minโ€“max range). This prevents rapid flapping between OK and PROBLEM when a sensor value hovers near a threshold.

A plant enters PROBLEM when a value crosses a threshold, but does not return to OK until the value clears that threshold by the band amount. For example, with moisture min=20 (band = 20 ร— 5% = 1.0):

  • Moisture drops below 20% โ€” enters PROBLEM
  • Moisture rises to 20.5% โ€” stays in PROBLEM (not yet past min + band = 21%)
  • Moisture rises to 22% โ€” clears to OK

The band is relative to each threshold, so the margin stays proportional whether a value is near the min or the max. No configuration is needed โ€” hysteresis is always active.

Soil moisture is the exception: its band is at least 2 points (but never more than half the minโ€“max range). Moisture sensors report whole percent and often flicker by a point or two, so with a low minimum a 5% band would be too narrow to stop the flapping.

[!NOTE] When a sensor becomes unavailable, the hysteresis state resets. The next valid reading is evaluated fresh against the thresholds.


๐Ÿ”” Automations: Triggers & Conditions

Home Assistant 2026.7 introduced purpose-specific triggers and conditions โ€” reusable automation building blocks that an integration registers under its own domain. Plant Monitor teaches Home Assistant a set of plant.* triggers and conditions built directly on the status and problem detection described above. They show up in the automation editor like any other trigger or condition.

Core Home Assistant ships generic purpose triggers too, like temperature.crossed_threshold โ€” but you have to type in the number yourself. The plant.* per-measurement triggers instead fire off the plant's own status, which this integration already computes from the species-configured min/max with hysteresis (see above). There's no threshold to enter, and nothing to keep in sync with the plant's dashboard.

The trigger & condition families

  • Whole-plant: plant.problem_detected / plant.problem_cleared โ€” the plant entered / left a problem state. Condition: plant.has_problem.

  • Per-measurement status: plant.<measurement>_became_low / _became_high / _became_ok, for moisture, conductivity, temperature, soil_temperature, humidity, illuminance, co2, dli, vpd. Conditions: plant.<measurement>_is_low / _is_high / _is_ok.

  • Stale source sensor: plant.<measurement>_sensor_became_stale / _became_fresh, for the externally-sourced measurements only โ€” moisture, conductivity, temperature, soil_temperature, humidity, illuminance, co2 (not dli/vpd, which are derived rather than sensor-backed). Condition: plant.<measurement>_sensor_is_stale. The trigger tells your actions which sensor it is (trigger.entity_id), the measurement (trigger.measurement), the plants it feeds (trigger.plant_entity_ids) and why (trigger.reason: unavailable or no_update).

    "Stale" means the source sensor is unavailable/unknown, or simply hasn't reported within a window (for, default 24 hours). A sensor that keeps reporting the same value counts as reporting. A grace period means it does not false-alarm at restart, when a sensor briefly reads unknown before its own integration populates it โ€” staleness only fires once the source is genuinely still dead after the full window elapses.

  • Care: plant.watered / plant.fertilized / plant.repotted / plant.pruned. watered fires when soil moisture rises at least 10 points within 6 hours, or when soil that was too dry is moist enough again, with or without a to-do list. fertilized works much the same way for conductivity: it fires when conductivity rises at least 200 ยตS/cm from one reading to the next, or when it is no longer low. Conductivity often rises together with moisture when you water, so a watering can also fire fertilized. All four also fire when the matching care task is ticked off, and when care is recorded with plant.mark_cared. trigger.entity_id is the plant. See How the plant notices care.

Targeting

Every trigger and condition targets the plant entity โ€” you pick which plant, nothing else. For the stale family, the integration resolves that measurement's configured external source sensor itself; you never reference the sensor directly.

Examples

# Notify when a plant's moisture drops below its configured minimum
triggers:
  - trigger: plant.moisture_became_low
    target:
      entity_id: plant.my_fern
actions:
  - action: notify.mobile_app_phone
    data:
      message: "My Fern needs water"
# Do something whenever a plant enters a problem state
triggers:
  - trigger: plant.problem_detected
    target:
      entity_id: plant.my_fern
actions:
  - action: light.turn_on
    target:
      entity_id: light.plant_shelf
    data:
      color_name: red
# Alert if the source sensor feeding a plant's temperature has gone stale for 6 hours
triggers:
  - trigger: plant.temperature_sensor_became_stale
    target:
      entity_id: plant.my_fern
    options:
      for:
        hours: 6
actions:
  - action: notify.mobile_app_phone
    data:
      message: "{{ trigger.entity_id }} hasn't reported in 6 hours"

Blueprints

Ready-made automations. Import one, pick your plants, and choose what should happen - a notification, a light, anything.

Blueprint Runs when Variables for your actions
Plant needs attention a plant gets a problem, and optionally when it is fine again plant_name, problems (e.g. "moisture low, illuminance high") Import blueprint
Plant sensor stopped reporting a sensor feeding a plant goes unavailable or silent for a while (default 24 h), and optionally when it reports again sensor_name, measurement, plant_names, reason Import blueprint
Plant needs water soil moisture drops below the plant's own minimum plant_name, moisture Import blueprint
Plant care digest at the times of day you choose, when care tasks are due sends the notification itself Import blueprint

For example, the action for Plant sensor stopped reporting:

action: notify.mobile_app_phone
data:
  message: "{{ sensor_name }} ({{ measurement }} for {{ plant_names }}) has stopped reporting"

Plant care digest works differently: it reads your care to-do list and sends one message listing what is due, such as "Water Aloe, Fertilize Monstera, Fill reservoir". Nothing is sent when nothing is due. Phones with the Home Assistant app get Done and Snooze 1 day buttons; other notification targets (Telegram, persistent notifications, โ€ฆ) get the same message without buttons. You can also list tasks a few days ahead, and leave out plants with a label. All inputs are in docs/care-tasks.md.

[!NOTE] For measurements whose source sensor carries a standard Home Assistant device class (temperature, humidity, illuminance, soil temperature), Home Assistant's own generic temperature.* / humidity.* / illuminance.* purpose triggers also apply to that sensor โ€” and their crossed_threshold form can optionally read the limit from the plant's published number.<plant>_min_* / _max_* entities. The plant.* triggers above need no such wiring.


๐Ÿ”„ Replacing Sensors

You can replace the physical sensor backing a plant measurement at any time โ€” no restart needed.

From the Configuration menu (recommended)

  1. Go to Settings โ†’ Devices & Services โ†’ Plant Monitor โ†’ Your Plant โ†’ Configure
  2. Select Replace sensors
  3. Change the sensor entity for any sensor type, or clear a field to remove it

The Fill sensors from device field works here too โ€” handy when you move a probe to a different plant. Sensors already set are kept, so clear the ones you want replaced, then pick the device to fill them all at once.

imageimage

Using the plant.replace_sensor action

You can also use the plant.replace_sensor action directly via Developer Tools โ†’ Actions:

Replace sensor

action: plant.replace_sensor
data:
  meter_entity: sensor.rose_illumination
  new_sensor: sensor.ble_sensor_12_illumination

To remove a sensor, call the action with an empty new_sensor.

[!TIP] Use generic entity IDs for physical sensors (e.g. sensor.ble_sensor_1_moisture) and descriptive IDs for plant sensors (e.g. sensor.rose_moisture). This makes it easy to swap hardware without confusion.

Renamed or removed source sensors

Renaming a source sensor's entity ID in Home Assistant is followed automatically.

Some integrations rename a device by removing its entities and creating them again, for example Zigbee2MQTT with Update Home Assistant entity ID ticked. The plant waits 60 seconds for a removed sensor to come back, and links it again under its new entity ID.

[!NOTE] Because of this, removing a device or a sensor entity is only reflected in the plant after 60 seconds. Until then the plant's sensor has no value; after that the source is cleared and the plant's sensor is disabled.

Adding a sensor to an existing plant

If you set up a plant without a particular sensor (e.g. you didn't have a CO2 or humidity sensor at the time), that plant sensor entity is automatically disabled. To add the sensor later:

  1. Go to your plant's device page
  2. Find the disabled sensor entity (e.g. "CO2") and enable it
  3. Use Configure โ†’ Replace sensors to assign your physical sensor, or use the plant.replace_sensor action

[!IMPORTANT] You must enable the plant sensor entity before replacing it โ€” Home Assistant hides disabled entities from the entity picker in the UI.


โœ… Care Tasks

Plant Monitor can remind you to water, fertilize, repot and prune your plants. Choose a to-do list for a plant, and it adds tasks such as "Water Aloe" to that list when care is due. A task comes either from a sensor (the soil is too dry) or from a schedule (every 7 days). When the moisture or conductivity sensor shows that you watered or fertilized, the plant ticks the task off by itself. Otherwise you tick it off on the flower care card or in the To-do lists panel.

A plant with a moisture sensor also gets a Next watering sensor that tells when the soil will be dry. And every plant has care events (event.<plant>_watered and so on) and triggers (plant.watered and so on) that fire when it gets care, with or without a to-do list.

To turn it on: go to Settings โ†’ Devices & Services โ†’ Plant Monitor โ†’ Your Plant โ†’ Configure โ†’ Care tasks, pick a to-do list (or type a name to create one), and set how often to water, fertilize, repot and prune.

Example: a plant with a moisture sensor. Set "Fertilize every 28 days" and leave Use soil moisture as problem trigger checked. The plant adds "Water Aloe" when the soil gets too dry and ticks it off when you have watered. "Fertilize Aloe" is due 28 days after you last fertilized; press Done when you have done it, and the next one is added.

Everything else โ€” the three ways each task can work, how the plant sees that you watered, the forecast, recording care for an earlier day with plant.mark_cared, and which to-do lists work โ€” is in docs/care-tasks.md.

[!NOTE] Feedback is welcome in #581.


๐Ÿ“‹ Plant Summary

When you set up your first plant, Plant Monitor also adds a Plant summary device. Its four sensors count, for the whole home, the plants needing attention, the tasks needing attention, the overdue tasks, and the plants with a problem. Use them on a dashboard, or in an automation that tells you when something is overdue.

To turn it off, disable the Plant summary entry under Settings โ†’ Devices & Services โ†’ Plant Monitor. Details: docs/care-tasks.md.


๐ŸŒป OpenPlantbook Integration

Requires the OpenPlantbook integration to be installed.

During Setup

When adding a new plant, the config flow searches OpenPlantbook for the species you enter. Matching species are displayed in a dropdown. The selected species' thresholds and image are pre-filled in the limits step.

[!NOTE] The OpenPlantbook API does not include your private user-defined species in search results. See "Force Refresh" below for how to fetch data for private species.

Changing Species / Refreshing Data

Go to Settings โ†’ Devices & Services โ†’ Plant Monitor โ†’ Your Plant โ†’ Configure โ†’ Plant properties.

  • Change species: Enter the new species exactly as the pid in OpenPlantbook (including punctuation). New thresholds and image are fetched automatically.
  • Force refresh: Check this box to re-fetch data from OpenPlantbook without changing the species. Useful for private species not found during initial search. When checked, both the image and display species name are updated.

[!NOTE] If the current image points to a local file or non-OpenPlantbook URL, it is not replaced unless "Force refresh" is checked.

๐Ÿชด Care Guidance (OpenPlantbook)

When OpenPlantbook has care information for a species, the plant device exposes it as free-text attributes you can show on a dashboard or use in automations and templates. Only the fields OpenPlantbook provides for a given species appear:

  • care_watering
  • care_sunlight
  • care_soil
  • care_pruning
  • care_fertilization

[!NOTE] Care guidance is fetched together with the species data, so existing plants only get it after a refresh โ€” use Force refresh (above) or change the species. Newly added plants get it automatically.


๐Ÿƒ Lovelace Card

The Lovelace Flower Card comes with this integration, so there is nothing extra to install. Its options and documentation are in the flower card repository.

Flower card light Flower card dark

The card supports both ยฐC and ยฐF:

Temperature units

The flower card also comes with a flower care card and a flower care agenda for care tasks. See the flower card documentation.

[!TIP] Writing your own card? The cards read a plant through the plant/get_info websocket command, described in docs/get_info.md.


๐Ÿ’ก Tips & Tricks

[!IMPORTANT] A sensor doesn't show up in a dropdown? This is the most common problem, and it's almost always a missing device_class on the source integration (often Zigbee2MQTT or BLE) โ€” not a Plant Monitor bug. Please report it to that integration (the only permanent fix); local workarounds are in MISSING_SENSORS.md.

For other practical tips, template examples, and workarounds โ€” auto-watering, problem notifications, battery/stuck sensor monitoring โ€” see TIPS.md.


โ“ FAQ

I added the wrong sensors โ€” after removing and re-adding the plant, old values still show

Home Assistant remembers old entity configurations. Instead of removing and re-adding a plant, use Configure โ†’ Replace sensors (or the plant.replace_sensor action) to swap sensors. See Replacing Sensors.

A sensor is missing from the dropdown (e.g. conductivity, moisture, humidity)

The dropdowns filter by device_class, and some integrations (often Zigbee2MQTT or BLE sensors) create the entity without one โ€” so it isn't listed.

The permanent fix is upstream: report the missing device_class/state_class to the integration that owns the sensor (e.g. Zigbee2MQTT). Once fixed there, the sensor appears automatically โ€” for you and everyone else with that device. Plant Monitor deliberately does not work around missing device classes.

Local workarounds (Zigbee2MQTT devices.yaml override, customize.yaml, a template sensor, or plant.replace_sensor) are documented in MISSING_SENSORS.md.

My local image path doesn't work

Local images must be in your HA www folder, referenced with the /local/ prefix. The path is case-sensitive.

Path Works?
/local/images/plants/my-plant.jpg โœ… (file at config/www/images/plants/my-plant.jpg)
/local/images/plants/My-Plant.jpg (wrong case) โŒ
/mnt/nas/photos/plant.jpg (filesystem path) โŒ
file:///config/www/images/plants/my-plant.jpg (file URI) โŒ

You can also use media-source:// URLs. See Plant Images.

Can the integration monitor sensor battery levels or detect dead sensors?

The integration monitors plant readings, not sensor hardware. For battery monitoring, see Home Assistant's official tutorial: Get notified when a device needs a new battery. For detecting stuck sensors (no value change in 24+ hours), see the Battery Monitoring & Stuck Sensors section in TIPS.md.

I removed a sensor but it comes back after restart

When you remove a sensor using Configure โ†’ Replace sensors (or plant.replace_sensor with an empty new_sensor), the change is persisted to the configuration. If sensors reappear, update to the latest release.


โ˜• Support

If you find this integration useful, consider buying me a coffee:

Explore related projects

Loadingโ€ฆ