Skip to content

Commit

Permalink
chore: add upcoming media card for test (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylandoamaral authored Aug 22, 2024
1 parent c20a822 commit e7fd0bb
Show file tree
Hide file tree
Showing 4 changed files with 1,298 additions and 0 deletions.
1 change: 1 addition & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ RUN apt-get install -y python3 \
&& mkdir -p /config \
&& ln -sf "/workspaces/trakt-integration/.devcontainer/configuration.yaml" /config/configuration.yaml \
&& ln -sf "/workspaces/trakt-integration/.devcontainer/ui-lovelace.yaml" /config/ui-lovelace.yaml \
&& ln -sf "/workspaces/trakt-integration/.devcontainer/www" /config/www \
&& ln -sf "/workspaces/trakt-integration/custom_components" /config/custom_components
8 changes: 8 additions & 0 deletions .devcontainer/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ logger:
logs:
custom_components.trakt_tv: debug

frontend:

lovelace:
mode: yaml
resources:
- url: /local/custom-lovelace/upcoming-media-card/upcoming-media-card.js?v=0.1.1
type: js

trakt_tv:
language: fr
timezone: Europe/Paris
Expand Down
5 changes: 5 additions & 0 deletions .devcontainer/ui-lovelace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
views:
- title: Test environment
cards:
- type: custom:upcoming-media-card
entity: sensor.trakt_next_to_watch_all
Loading

0 comments on commit e7fd0bb

Please sign in to comment.