Skip to content

Commit

Permalink
missing semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenpapierski committed Oct 26, 2024
1 parent 4556eed commit a1c4cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bed-presence-mk1/sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ sensor:
// 276000ppm = 4600Hz (breakforce/10kohms)
// 0ppm = 0Hz (use full range)
float calibrate_100 = 408000;
float calibrate_0 = id(full_range).state ? 0 : 276000
float calibrate_0 = id(full_range).state ? 0 : 276000;
float val_cal_top = (x - calibrate_0) * 100;
float val_cal_bot = calibrate_100 - calibrate_0;
Expand Down

0 comments on commit a1c4cba

Please sign in to comment.