Skip to content

Commit

Permalink
Fix switch name
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenpapierski committed Oct 26, 2024
1 parent 3896966 commit 8cc828a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bed-presence-mk1/sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ button:
then:
- number.set:
id: val_unoccupied_${sensor_id}
# round to 2 decimal places
# round to 2 decimal places
value: !lambda return round(id(bed_sensor_${sensor_id}).state * 100)/100.0;
- platform: template
name: Calibrate ${sensor_name} Occupied
Expand All @@ -164,12 +164,12 @@ button:
then:
- number.set:
id: val_occupied_${sensor_id}
# round to 2 decimal places
# round to 2 decimal places
value: !lambda return round(id(bed_sensor_${sensor_id}).state * 100)/100.0;

switch:
- platform: template
name: "Clamp Negative Range"
name: "Expand Negative Range"
id: expand_negative_range
optimistic: true
restore_mode: RESTORE_DEFAULT_OFF
Expand Down

0 comments on commit 8cc828a

Please sign in to comment.