Describe the bug
If we filter currently the date with the heatmap and then switch device ID and no data is available for that week for the new device ID, then the line chart won't change.
To Reproduce
Steps to reproduce the behavior:
Select a99
Click on the heatmap to filter for Jan 1
Select gabe1 as the device ID
See error: still showing a99 on the line chart
Expected behavior
If the callback is triggered by selecting a new device then the click data should be ignored and only the most recent measurements for the device should be shown. Tip: use callback context
Describe the bug If we filter currently the date with the heatmap and then switch device ID and no data is available for that week for the new device ID, then the line chart won't change.
To Reproduce Steps to reproduce the behavior:
Expected behavior If the callback is triggered by selecting a new device then the click data should be ignored and only the most recent measurements for the device should be shown. Tip: use callback context