We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bda8e46 commit 2bce3f8Copy full SHA for 2bce3f8
1 file changed
tests/scenarios/hts221.yaml
@@ -109,11 +109,15 @@ tests:
109
expect_not_none: true
110
mode: [mock]
111
112
- - name: "Reboot reloads calibration"
+ - name: "Reboot re-reads calibration registers"
113
action: script
114
script: |
115
+ i2c.clear_write_log()
116
dev.reboot()
- result = isinstance(dev.temperature(), float)
117
+ # After reboot, calibration registers (0x3C-0x3F) should be re-read
118
+ # Verify T0_OUT and T1_OUT are still valid by checking temperature works
119
+ t = dev.temperature()
120
+ result = isinstance(t, float) and t != 0.0
121
expect_true: true
122
123
0 commit comments