less trash log
This commit is contained in:
parent
8e2a5ab303
commit
3e6065cab8
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: Screenshotter
|
name: Screenshotter
|
||||||
version: 1.0.1.10
|
version: 1.0.1.11
|
||||||
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
|
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
|
||||||
slug: screenshotter
|
slug: screenshotter
|
||||||
description: Screenshot images for E-Paper pricetags
|
description: Screenshot images for E-Paper pricetags
|
||||||
|
|
|
@ -50,7 +50,7 @@ while True:
|
||||||
|
|
||||||
if task.get("ha_auth"):
|
if task.get("ha_auth"):
|
||||||
print("Doing HA Auth")
|
print("Doing HA Auth")
|
||||||
print(driver.execute_script(f"window.localStorage.setItem('hassTokens', JSON.stringify({{hassUrl: '{ha_url}', access_token: '{ha_token}', token_type: 'Bearer'}}));"))
|
driver.execute_script(f"window.localStorage.setItem('hassTokens', JSON.stringify({{hassUrl: '{ha_url}', access_token: '{ha_token}', token_type: 'Bearer'}}));")
|
||||||
driver.get(task["url"])
|
driver.get(task["url"])
|
||||||
time.sleep(int(wait))
|
time.sleep(int(wait))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue