Trouble Getting NOT Condition to Work

Having trouble getting this condition to work properly.

condition:
  - condition: state
    entity_id: sun.sun
    state: below_horizon
  - condition: not
    conditions:
      - condition: state
        entity_id: input_select.garage_door_scene
        state: '--none--'

I basically want the action: to be run when the sun is below the horizon AND when the current selection of the input_select.garage_door_scene helper is NOT = ‘–none–’. It is in fact running even when the helper IS ‘–none–’.

Try this version. If it doesn’t work as expected then there might be something unusual about the input_select’s value.

condition:
  - "{{ is_state('sun.sun', 'below_horizon') }}"
  - "{{ states('input_select.garage_door_scene') != '--none--' }}"