-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
34 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
/bin/echo ------------ postCreateCommand downgrade pip packages with breaking changes ------------ | ||
## downgrade jinja2 as they dropped contextfilter and current home assistant needs this: https://jinja.palletsprojects.com/en/3.0.x/changes/ | ||
## also downgrade markupsafe for dropped soft_unicode: https://markupsafe.palletsprojects.com/en/2.1.x/changes/#version-2-1-0 | ||
pip install --upgrade jinja2==2.11.3 markupsafe==2.0.1 | ||
|
||
/bin/echo ------------ postCreateCommand symlink our component ------------ | ||
/bin/mkdir -p /config/custom_components | ||
/bin/ln -s /workspaces/hacs-govee/custom_components/govee /config/custom_components/govee | ||
|
||
/bin/echo ------------ postCreateCommand container install ------------ | ||
pip install -e /workspaces/hacs-govee/.git-subtree/python-govee-api/ | ||
|
||
/bin/echo ------------ postCreateCommand python/pip ------------ | ||
/usr/local/bin/python3 -m pip install --upgrade pip | ||
/usr/local/bin/pip3 install black colorlog debugpy pexpect pygatt pylint PyNaCl==1.3.0 | ||
/usr/local/bin/pip3 install -r /workspaces/hacs-govee/requirements_test.txt | ||
|
||
/bin/echo ------------ postCreateCommand install hacs ------------ | ||
mkdir -p /src/hacs | ||
cd /src/hacs | ||
/bin/mkdir -p /config/custom_components/hacs | ||
/usr/bin/wget -c https://github.com/hacs/integration/releases/latest/download/hacs.zip | ||
/usr/bin/unzip -o hacs.zip -d /config/custom_components/hacs | ||
/bin/rm hacs.zip | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"name": "govee", | ||
"hacs": "0.2.1", | ||
"hacs": "0.2.2", | ||
"domains": [ | ||
"light" | ||
], | ||
"iot_class": "Cloud Polling", | ||
"homeassistant": "2021.4.5" | ||
"homeassistant": "2022.5.0" | ||
} |