Olen / homeassistant-plant

Alternative Plant component of home assistant
218 stars 23 forks source link

Change humidity sensor source after creation. #143

Closed SirSheik closed 4 months ago

SirSheik commented 4 months ago

Hello. First of all congratulations for this excellent complement. It is very useful and I thank you for the time you dedicate to its development. I would like to know if it is possible to change the origin of the humidity sensor once it has been declared, this is because I have plants that initially had an indoor humidity sensor, but now that the weather is starting to be good, I have taken them outside. I have tried unsuccessfully to edit the device definition directly in the file : /root/config/.storage/core.config_entries Image 406

But despite reboot it does not take correctly the change. Image 407

Even deleting the entity and re-creating it does not respect the new sensor that I indicate and continues to take the old sensor. Can you think of a way to change it without having to create a new device? Thank you very much

Olen commented 4 months ago

Please see the readme. Especially the section about replacing sensors.

SirSheik commented 4 months ago

Thank you very much. It worked perfectly. My apologies I did not know about the existence of this service to change the reference sensors. 🤦🏻‍♂️ I close this. Have a nice day

SirSheik commented 4 months ago

Resolved with https://github.com/Olen/homeassistant-plant#easier-to-replace-sensors