Skip to content

Commit

Permalink
Merge pull request #60 from thor0215/development/0.1.2
Browse files Browse the repository at this point in the history
v0.1.2
  • Loading branch information
thor0215 authored Dec 13, 2024
2 parents 01b5d7c + 1cefff6 commit dd31b09
Show file tree
Hide file tree
Showing 4 changed files with 216 additions and 123 deletions.
8 changes: 8 additions & 0 deletions xfinity-usage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.2

- Uses playwright-stealth to mask headless browser signature. [(csobrinoho:fix-56)](https://github.com/csobrinho/hassio-xfinity-usage/tree/fix-56)

- Dependency Update
- playwright v1.49.1
- playwright-stealth v1.0.6

## 0.1.1

- Updated AUTH_URL to reflect changes on Xfinity's website
Expand Down
4 changes: 2 additions & 2 deletions xfinity-usage/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Xfinity Internet Usage"
description: "Get Xfinity Internet Usage Data"
url: "https://github.com/thor0215/hassio-xfinity-usage"
version: "0.1.1"
version: "0.1.2"
image: "ghcr.io/thor0215/hassio-xfinity-usage-{arch}"
slug: "xfinity-usage"
init: false
Expand Down Expand Up @@ -45,5 +45,5 @@ schema:
mqtt_username: str?
mqtt_password: password?
mqtt_raw_usage: bool?
profile_cleanup: bool?
#profile_cleanup: bool?
debug_support: bool?
3 changes: 2 additions & 1 deletion xfinity-usage/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# shellcheck disable=SC1091

export HEADLESS=True
export ABORT_ROUTE=True

# Remove debug log file on every start
if [ -f /config/xfinity.log ]; then
Expand Down Expand Up @@ -41,7 +42,7 @@ if [ $BYPASS = "0" ]; then
[[ $(bashio::config "mqtt_host") != null ]] && export MQTT_HOST=$(bashio::config "mqtt_host")
[[ $(bashio::config "mqtt_port") != null ]] && export MQTT_PORT=$(bashio::config "mqtt_port")
[[ $(bashio::config "mqtt_raw_usage") != null ]] && export MQTT_RAW_USAGE=$(bashio::config "mqtt_raw_usage")
[[ $(bashio::config "profile_cleanup") != null ]] && export PROFILE_CLEANUP=$(bashio::config "profile_cleanup")
#[[ $(bashio::config "profile_cleanup") != null ]] && export PROFILE_CLEANUP=$(bashio::config "profile_cleanup")
[[ $(bashio::config "debug_support") != null ]] && export DEBUG_SUPPORT=$(bashio::config "debug_support")


Expand Down
Loading

0 comments on commit dd31b09

Please sign in to comment.