Plant component not shown

I’m trying to use the plant component (https://home-assistant.io/components/plant/) to display the state of my plant. I have some values, which I read using a rest interface:

sensor:
- platform: rest
  resource: http://192.168.3.1/
  value_template: '{{ value_json.temperature }}'
  name: "plant_temperature"
  unit_of_measurement: "°C"
- platform: rest
  resource: http://192.168.3.1/
  value_template: '{{ value_json.humidity }}'
  name: "plant_humidity"
  unit_of_measurement: "%"
- platform: rest
  resource: http://192.168.3.1/
  value_template: '{{ value_json.brightness }}'
  name: "plant_brightness"
  unit_of_measurement: "%"
- platform: rest
  resource: http://192.168.3.1/
  value_template: '{{ value_json.moisture }}'
  name: "plant_moisture"

The values are retreived correctly, and are shown in the interface (in the top). I also have this in my configuration:

plant:
  banana:
    sensors:
      moisture: sensor.plant_moisture
      temperature: sensor.plant_temperature
      brightness: sensor.plant_brightness
    min_moisture: 30

However, there is no plant ui component in the interface. Also, I dont see any logging about this component (neither in home-assistant.log nor hassio ha logs). The entire component seems to be neglected or skipped.

I’m running hassio 1.0.1 with home assistant 0.60.1

Any clues on why this would not work and how it can be fixed?

NVM, my bad. I forgot to update the config on the RPi

Could you please share a screenshot of what the UI element looks like? I’m very curious!

Right now (0.63.3) it looks like:
image

Did you ever figure this out, i’m having the same issues.?

My config is this:

- platform: rest
  resource: http://ip_of_another_hassio:8123/api/states/sensor.flora_1_battery?api_password=password
  name: Flora 1 Battery
  value_template: '{{ value_json.state }}'
  unit_of_measurement: "%"

flora_1:
  sensors:
    moisture: sensor.flora_1_moisture
    battery: sensor.flora_1_battery
    temperature: sensor.flora_1_temperature
    conductivity: sensor.flora_1_conductivity
    brightness: sensor.flora_1_brightness
  min_moisture: 20
  max_moisture: 60
  min_battery: 30
  min_conductivity: 500

My UI is looking like this:
PNG
states

EDIT: I was missing force_update: true in my rest sensors.

well, I have the same problem, I don’t get anything in the UI. The sensor is a miflora (working, I see the sensors values in the ui) and the configuration.yaml seems correct:

plant:
  dracaena:
    sensors:
      moisture: sensor.dracaena_moisture
      battery: sensor.dracaena_battery
      temperature: sensor.dracaena_temperature
      conductivity: sensor.dracaena_conductivity
    min_moisture: 20
    max_moisture: 60
    min_battery: 15
    min_conductivity: 500
    min_temperature: 15

EDIT: I get this error “https://myip:8123/frontend_latest/bf7146608f595468a214.chunk.js:2982:289 TypeError: this.config is undefined”

EDIT 2: I have a new entity plant.dracaena showing all the parameters and returning back a problem (too high moisture because it is over 60%), but it doesn’t show up in the UI. I get a “service system_log/write called” in the main page UI.

Any idea?

Exact same problem as @smanny here as well. Updated to latest version, removed the legacy attributes for the mi flora components and getting the error mentioned above. :frowning:

I’ve submitted the issue since experiencing the same:

It is working now: 0.84.3