[BUG:WebUI:Sensors] When changing sensor type (driver), set sensor status to failed #49
Labels
No labels
bug
documentation
duplicate
enhancement
help wanted
invalid
question
v0.1.x
v0.2.x
v0.3.x
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DeltaLima/CanGrow#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Actually, when an already configured sensor gets changed it's driver, for example an AHT10 changed to BME280, then the sensor is not marked as failed. This causes, that without checking for the new sensors presence at the bus and initialising it, that the readings get read, which can the ESP to crash.
Noticed with ENS160 and SCD40 sensors, when changed them in the config around.
[BUG:WebUI:Sensors] When changing sensor type (driver), set sensor to failedto [BUG:WebUI:Sensors] When changing sensor type (driver), set sensor status to failed