Temperature trigger: sensor has decimal point values

Good morning, all.

I have an outside sensor that is used to control sun shades. I noticed that the device reports to a tenth of a degree (right now it’s 87.4F for example).

My triggers are whole numbers. I am curious if triggers can use decimal points and thus should use them. For example, this is what I’m using for two different triggers (open vs. close).

  - platform: numeric_state
    entity_id: sensor.temperature_14
    above: 88
    below: 200
    for:
      hours: 0
      minutes: 5
      seconds: 0
      milliseconds: 0
  - platform: numeric_state
    entity_id: sensor.temperature_14
    above: 25
    below: 89
    for:
      hours: 0
      minutes: 10
      seconds: 0
      milliseconds: 0

Should I use above 88.5 below 88.5 as an example to ensure that there isn’t dead space in the trigger schemas?

Yes, you can use decimals

Thank you for the quick intel.