Commit 7e0e3f1
committed
fix(sunricher): address Copilot review on SR-ZG9032A-PIR
- Rename pwm_output_percentage → pwm_output_level and drop "%" unit.
Per device documentation, value is raw 0-254 (where 254 = 100%); the
manufacturer's BLE app exposes this attribute as a raw level too.
- Rename linearity_error_ratio_lux → linearity_error_ratio.
Value is a dimensionless coefficient (per-mille, default 1000 = 100%)
applied to lux measurement; the _lux suffix misled toward a unit.1 parent f2fc747 commit 7e0e3f1
1 file changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | 73 | | |
75 | | - | |
76 | | - | |
| 74 | + | |
| 75 | + | |
77 | 76 | | |
78 | 77 | | |
79 | | - | |
| 78 | + | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
84 | | - | |
| 83 | + | |
85 | 84 | | |
86 | 85 | | |
87 | 86 | | |
| |||
0 commit comments