Why does condition 'OFF' work and 'ON' does not?

I have 2 programs, one with entity in condition with State OFF and another with State ON.
The with OFF gives a green test check but the one with ON does not. Why ???

alias: S1b. Music Shabbat-Jagim - Sunset OFF
description: ''
trigger:
  - platform: sun
    event: sunset
    offset: 0
condition:
  - condition: state
    entity_id: binary_sensor.jewish_calendar_issur_melacha_in_effect
    state: 'off'
action:
  - service: media_player.play_media
    data:
      media_content_id: http://stream.jewishmusicstream.com:8000/ stream/;.m3u
      media_content_type: audio/m3u
mode: single
````Preformatted text`
alias: S1b. Music Shabbat-Jagim - Sunset ON
description: ''
trigger:
  - platform: sun
    event: sunset
    offset: 0
condition:
  - condition: state
    entity_id: binary_sensor.jewish_calendar_issur_melacha_in_effect
    state: 'on'
action:
  - service: media_player.play_media
    data:
      media_content_id: http://stream.jewishmusicstream.com:8000/ stream/;.m3u
      media_content_type: audio/m3u
mode: single




WITH ON

alias: S1b. Music Shabbat-Jagim - Sunset ON
description: ''
trigger:
  - platform: sun
    event: sunset
    offset: 0
condition:
  - condition: state
    entity_id: binary_sensor.jewish_calendar_issur_melacha_in_effect
    state: 'on'
action:
  - service: media_player.play_media
    data:
      media_content_id: http://stream.jewishmusicstream.com:8000/ stream/;.m3u
      media_content_type: audio/m3u
mode: single

Because the state of the binary sensor is currently off. The colour denotes if the the condition is currently true (green) or false (red), not if the condition is correct or not.

Thanks !!!
So would you say that my automation appears ok ? What I am trying to achieve is that specific radio stations are actioned, at specific times, depending on entity being off or on.