fixed hopefully
This commit is contained in:
parent
849c628df7
commit
067ba688db
3
run.sh
3
run.sh
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
mydir1="${0%/*}"
|
mydir1="${0%/*}"
|
||||||
|
python="/opt/hass_3.7/bin/python"
|
||||||
|
|
||||||
python "${mydir1}/getPage.py" | grep 'id="statusBar_battery" style="">' | grep -o -P '.{0,3}%.{0,0}' | sed 's/>//g' | sed 's/%//g'
|
"${python}" "${mydir1}/getPage.py" | grep 'id="statusBar_battery" style="">' | grep -o -P '.{0,3}%.{0,0}' | sed 's/>//g' | sed 's/%//g'
|
||||||
|
|
Loading…
Reference in New Issue