Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: Changed sql query for state sensors on device overview page to ignore null sensor_id #5180
Dec 16, 2016
The bug is from devices which had existing state sensors before the refactor from rosiak. They don't register the state translations so when the query runs with the left join we end up with two sensor_id values, first is legit, second is NULL because it's from the translation table.
Yes this is a work around