Olen / homeassistant-plant

Alternative Plant component of home assistant
365 stars 25 forks source link

Missing moisture entity. Why the entity is there. !! #196

Closed cracyfloyd closed 2 months ago

cracyfloyd commented 2 months ago

Any idea why cant see the moisture entity. because the entity is there.

Bildschirmfoto 2024-09-17 um 14 01 18 Bildschirmfoto 2024-09-17 um 08 56 16

under conductivity i see the entity of moisture:

Bildschirmfoto 2024-09-17 um 09 41 02
Olen commented 2 months ago

You are showing the soil-conductivity sensor, not the moisutre sensor.

cracyfloyd commented 2 months ago

You are showing the soil-conductivity sensor, not the moisutre sensor.

Sorry wrong picture. i have the picture updated. Now you can see the entity is there but not possible to select in the moisture field.

Olen commented 2 months ago

I guess the sensor does not have the correct device class.

Plase create a PR for the integration you are using for the source sensor to add the correct device class to the sensor https://www.home-assistant.io/integrations/sensor/#device-class

For now, you can just add some other sensor there and use the "replace sensor" action to change it after the plant was added https://github.com/Olen/homeassistant-plant?tab=readme-ov-file#easier-to-replace-sensors