diff --git a/aioairctrl-shell.sh b/aioairctrl-shell.sh index 35346efd..1e44fdd8 100644 --- a/aioairctrl-shell.sh +++ b/aioairctrl-shell.sh @@ -1,7 +1,7 @@ python="python3" pip="pip3" manifest=./custom_components/philips_airpurifier/manifest.json -aioairctrl=$(grep -Po 'git.*aioairctrl[^"]*' $manifest) +aioairctrl=$(sed -rn 's/^\s*"aioairctrl @ ([^"]*)"/\1/p' $manifest) if ! command -v $python &> /dev/null then diff --git a/custom_components/philips_airpurifier/manifest.json b/custom_components/philips_airpurifier/manifest.json index c7c2c213..b45ce0c7 100644 --- a/custom_components/philips_airpurifier/manifest.json +++ b/custom_components/philips_airpurifier/manifest.json @@ -1,11 +1,11 @@ { "domain": "philips_airpurifier", "name": "Philips AirPurifier (with CoAP)", - "version": "0.4.0-pre.3", + "version": "0.4.0-pre.4", "documentation": "https://github.com/betaboon/philips-airpurifier", "dependencies": [], "codeowners": ["@betaboon"], "requirements": [ - "aioairctrl @ git+https://github.com/betaboon/aioairctrl@v0.2.1" + "aioairctrl @ git+https://github.com/betaboon/aioairctrl@v0.2.2" ] }