Round Temperature values

I’m very confused with rounding up values. I have a entitty card that displays temperature sensors… I want the values to be rounded… Example: 70.5 should be 71… and 70.4 should be 69. I don’t want to see decimal values.

Please help!

type: entities
entities:

  • entity: sensor.t9_thermostat_current_temperature
    name: Dining Room
  • entity: sensor.1st_floor_hallway_air_sensor_01_temperature_sensor
    name: Foyer
  • entity: sensor.master_bedroom_air_sensor_03_temperature_sensor
    name: Master Bedroom
  • entity: sensor.basement_air_sensor_04_temperature_sensor
    name: Basement
  • entity: sensor.middle_bedroom_air_sensor_02_temperature_sensor
    name: Office-1
  • entity: sensor.motion2_troysoffice_temperature
    name: Office-2
    title: House Temps

if u don’t want to see decimal values at all, feel free to open device / entity
and fix it.
it’s very easy

Well… that was easy!! Thank you.

I’ll have to dig into why the mini-graph-card isn’t rounding, but perhaps it’s also just a simple setting change.

Found it!

decimals: 0

1 Like