Dumb ads skipper for Youtube on Apple TV

This simple automation changed my life drastically, I can feel a smell of flowers again! :ok_hand:t4:

- id: '1550473957550'
  alias: Ads skipper
  trigger:
  - entity_id: media_player.apple_tv
    for: '5'
    platform: state
    to: playing
  condition:
  - condition: template
    value_template: '{{ state_attr(''media_player.apple_tv'', ''media_duration'') < 60
      }}'
  action:
  - data:
      entity_id: media_player.apple_tv
    service: media_player.media_next_track

Note, it skips ANY video which is 1min or less long.

And yeah, I mainly did it because «A new way to experience YouTube» YouTube Premium is not available in Israel :man_facepalming:t4:

3 Likes