Skip to content

Commit

Permalink
Fix time
Browse files Browse the repository at this point in the history
  • Loading branch information
Hudson Brendon committed Jun 12, 2021
1 parent 0769fec commit ca78757
Show file tree
Hide file tree
Showing 6 changed files with 483 additions and 3 deletions.
1 change: 1 addition & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN apt-get update \
RUN python -m pip install --upgrade colorlog black pylint
RUN python -m pip install --upgrade git+git://github.com/home-assistant/home-assistant.git@dev
RUN cd && mkdir -p /config/custom_components
RUN cd && mkdir -p /www/custom-lovelace


WORKDIR /workspace
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ sensor:
platform: clarotv
channel_id: 1606
channel_name: Warner
channel_logo: https://upload.wikimedia.org/wikipedia/commons/thumb/6/64/Warner_Bros_logo.svg/1200px-Warner_Bros_logo.svg.png
channel_logo: https://upload.wikimedia.org/wikipedia/commons/thumb/6/64/Warner_Bros_logo.svg/1200px-Warner_Bros_logo.svg.png
3 changes: 3 additions & 0 deletions .devcontainer/custom_component_helper
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ function StartHomeAssistant {
echo "Copy configuration.yaml"
cp -f .devcontainer/configuration.yaml /config || echo ".devcontainer/configuration.yaml are missing!" exit 1

echo "Copy upcoming-media-card.js"
cp -f .devcontainer/upcoming-media-card.js /www/custom-lovelace/ || echo ".devcontainer/upcoming-media-card.js are missing!" exit 1

echo "Copy the custom component"
rm -R /config/custom_components/ || echo ""
cp -r custom_components /config/custom_components/ || echo "Could not copy the custom_component" exit 1
Expand Down
Loading

0 comments on commit ca78757

Please sign in to comment.