Skip to content

Commit

Permalink
androidtv media player updates
Browse files Browse the repository at this point in the history
- Replace uses of ADB with AndroidTV Remote
  - ADB devcies are still needed for Pipup
- Update universal media player
- Update Shield Source sensors
- Rename androidtv macro to androidtv_app_id
- Add androidtv_deeplink macro
- Update icons
- Replace Amzon icon with custom prime vdieo icon
- Rename Prime to Prime Video
- Allow history recording for media_player domain
  • Loading branch information
zanix committed Feb 2, 2024
1 parent 3b2dc11 commit 3c3523b
Show file tree
Hide file tree
Showing 22 changed files with 117 additions and 96 deletions.
21 changes: 12 additions & 9 deletions automations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,8 @@
description: Automatically turn off the Media Center in the Family Room
trigger:
- platform: state
entity_id: media_player.shield_family_room
entity_id:
- remote.androidtv_family_room
to: 'off'
condition:
- condition: template
Expand All @@ -708,7 +709,8 @@
description: Automatically turn off the Media Center in the Living Room
trigger:
- platform: state
entity_id: media_player.shield_living_room
entity_id:
- remote.androidtv_living_room
to: 'off'
condition:
- condition: template
Expand All @@ -730,7 +732,8 @@
description: Automatically turn off the Media Center in the Master Bedroom
trigger:
- platform: state
entity_id: media_player.shield_master_bedroom
entity_id:
- remote.androidtv_master_bedroom
to: 'off'
condition:
- condition: template
Expand Down Expand Up @@ -2895,7 +2898,7 @@
trigger:
- platform: state
entity_id:
- media_player.shield_living_room
- media_player.androidtv_living_room
condition:
- condition: state
entity_id: sun.sun
Expand All @@ -2907,7 +2910,7 @@
- choose:
- conditions:
- condition: state
entity_id: media_player.shield_living_room
entity_id: media_player.androidtv_living_room
state: paused
sequence:
- service: light.turn_on
Expand All @@ -2918,7 +2921,7 @@
entity_id: light.living_room
- conditions:
- condition: state
entity_id: media_player.shield_living_room
entity_id: media_player.androidtv_living_room
state: playing
sequence:
- service: light.turn_on
Expand All @@ -2931,7 +2934,7 @@
trigger:
- platform: state
entity_id:
- media_player.shield_family_room
- media_player.androidtv_family_room
condition:
- condition: state
entity_id: sun.sun
Expand All @@ -2943,7 +2946,7 @@
- choose:
- conditions:
- condition: state
entity_id: media_player.shield_family_room
entity_id: media_player.androidtv_family_room
state: paused
sequence:
- service: light.turn_on
Expand All @@ -2954,7 +2957,7 @@
entity_id: light.family_room
- conditions:
- condition: state
entity_id: media_player.shield_family_room
entity_id: media_player.androidtv_family_room
state: playing
sequence:
- service: light.turn_on
Expand Down
2 changes: 1 addition & 1 deletion custom_icons/bigbox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion custom_icons/crunchyroll.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3c3523b

Please sign in to comment.