Numeric state trigger negative number

my pre_sensor is -5050

but this automation wont trigger ? why?

alias: 'Kalender: Check ferie'
description: ''
trigger:
  - platform: numeric_state
    entity_id: sensor.pre_ferie
    id: pre_ferie
    below: '-5050'
  - platform: numeric_state
    entity_id: sensor.pre_helligedage
    below: '600'
    id: pre_helligdag
condition: []
action:
  - choose:
      - conditions:
          - condition: trigger
            id: pre_ferie
        sequence:
          - service: input_boolean.turn_on
            target:
              entity_id: input_boolean.pre_ferie
      - conditions:
          - condition: trigger
            id: pre_helligdag
        sequence:
          - service: input_boolean.turn_on
            target:
              entity_id: input_boolean.pre_ferie
    default: []
mode: single

Because -5050 is not below -5050.

-5051 is.

Shouldn’t it say -5050 without the ' '?

Doesn’t matter.

still not trigger :-/ the state is now

image

Remove all conditions in your actions and make a simple notification action or turn on a light.

thanks , simple one made it :slight_smile: