Skip to content

Commit

Permalink
Change unit to "% raw" to differentiate between raw and calibrated
Browse files Browse the repository at this point in the history
sensor values
  • Loading branch information
stephenpapierski committed Oct 25, 2024
1 parent 050e486 commit 8aeb28c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bed-presence-mk1/sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ binary_sensor:
sensor:
- platform: pulse_counter # Raw Sensor
pin: ${sensor_gpio}
name: ${sensor_name} Pressure
name: ${sensor_name} Pressure Raw
id: bed_sensor_${sensor_id}
update_interval: 0.5s
unit_of_measurement: '%'
unit_of_measurement: '% raw'
entity_category: diagnostic
icon: mdi:gauge
filters:
Expand Down Expand Up @@ -114,7 +114,7 @@ number:
name: ${sensor_name} Unoccupied Pressure
id: val_unoccupied_${sensor_id}
icon: mdi:gauge-empty
unit_of_measurement: '%'
unit_of_measurement: '% raw'
entity_category: diagnostic
optimistic: true
restore_value: true
Expand All @@ -131,7 +131,7 @@ number:
name: ${sensor_name} Occupied Pressure
id: val_occupied_${sensor_id}
icon: mdi:gauge-full
unit_of_measurement: '%'
unit_of_measurement: '% raw'
entity_category: diagnostic
optimistic: true
restore_value: true
Expand All @@ -154,7 +154,7 @@ number:
max_value: 110
step: 0.1
icon: mdi:gauge
unit_of_measurement: '%'
unit_of_measurement: '% raw'
entity_category: config

button:
Expand Down

0 comments on commit 8aeb28c

Please sign in to comment.