Skip to content

Commit

Permalink
Add actual name of source id
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenpapierski committed Oct 19, 2024
1 parent 8027298 commit 63dde6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bed-presence-mk1/sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ sensor:
# filters:
# - lambda: return float(id(val_unoccupied_${sensor_id})).state+((x/100)*(id(val_occupied_${sensor_id}).state - float(id(val_unoccupied_${sensor_id}).state)));
- platform: copy
source_id: bed_sensor_${sensor_id}
source_id: bed_sensor_${sensor_id}_raw
name: ${sensor_name} Pressure
id: bed_sensor_${sensor_id}
# filters:
Expand All @@ -96,7 +96,7 @@ sensor:
# - delta: ${reporting_delta} # only send if sensor changes by `reporting_delta` (eliminate sensor noise)
# - throttle: ${reporting_duration_max} # but still update every `reporting_duration_max`
- platform: copy
source_id: bed_sensor_${sensor_id}
source_id: bed_sensor_${sensor_id}_raw
name: ${sensor_name} Pressure Averaged
id: bed_sensor_${sensor_id}_averaged
# filters:
Expand Down

0 comments on commit 63dde6f

Please sign in to comment.