Skip to content

Commit

Permalink
Fix unit for calibrated sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenpapierski committed Oct 25, 2024
1 parent 8aeb28c commit 0ab5047
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions bed-presence-mk1/sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ sensor:
name: ${sensor_name} Pressure Raw
id: bed_sensor_${sensor_id}
update_interval: 0.5s
unit_of_measurement: '% raw'
unit_of_measurement: '% Raw'
entity_category: diagnostic
icon: mdi:gauge
filters:
Expand All @@ -94,6 +94,7 @@ sensor:
source_id: bed_sensor_${sensor_id}
name: ${sensor_name} Pressure Calibrated
id: bed_sensor_${sensor_id}_calibrated
unit_of_measurement: '%'
entity_category: ''
filters:
- lambda: |-
Expand All @@ -114,7 +115,7 @@ number:
name: ${sensor_name} Unoccupied Pressure
id: val_unoccupied_${sensor_id}
icon: mdi:gauge-empty
unit_of_measurement: '% raw'
unit_of_measurement: '% Raw'
entity_category: diagnostic
optimistic: true
restore_value: true
Expand All @@ -131,7 +132,7 @@ number:
name: ${sensor_name} Occupied Pressure
id: val_occupied_${sensor_id}
icon: mdi:gauge-full
unit_of_measurement: '% raw'
unit_of_measurement: '% Raw'
entity_category: diagnostic
optimistic: true
restore_value: true
Expand All @@ -154,7 +155,7 @@ number:
max_value: 110
step: 0.1
icon: mdi:gauge
unit_of_measurement: '% raw'
unit_of_measurement: '% Raw'
entity_category: config

button:
Expand Down

0 comments on commit 0ab5047

Please sign in to comment.