Volume_Mute - Trying to set state, and not toggle

Hi there,

I have an automation that mutes the TV on the hour, then unmutes it again 5 minutes later.

This mostly works.

I have two automations, one for each. However I have found that if you run the same automation twice, it behaves as a toggle rather than a set state.

I have a condition in each that says if the TV is muted/unmuted do the other.

Any insights would be much appreciated:

- id: '1605904722935'
  alias: Mute The News
  description: Mutes the news on the hour
  trigger:
  - platform: time_pattern
    minutes: '0'
  condition:
  - condition: state
    entity_id: media_player.samsung_ue40es5500
    state: 'false'
    attribute: is_volume_muted
  action:
  - service: media_player.volume_mute
    data:
      is_volume_muted: true
    entity_id: media_player.samsung_ue40es5500
  mode: single
- id: '1605904722936'
  alias: UnMute The News
  description: UnMutes the news if playing for 5 mins
  trigger:
  - platform: time_pattern
    minutes: '5'
  condition:
  - condition: state
    entity_id: media_player.samsung_ue40es5500
    state: 'true'
    attribute: is_volume_muted
  action:
  - service: media_player.volume_mute
    data:
      is_volume_muted: false
    entity_id: media_player.samsung_ue40es5500
  mode: single

conoral11