Skip to content

Commit

Permalink
Move BE to refresh token flow and support basetv (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sholofly authored Nov 3, 2024
1 parent 7114aea commit 0929f99
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/lghorizon/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ async def async_step_credentials(

country_code = COUNTRY_CODES[self.CONFIG_DATA[CONF_COUNTRY_CODE]][0:2]

if country_code not in ("gb", "ch"):
if country_code not in ("gb", "ch", "be"):
cred_schema = cred_schema.extend({vol.Required(CONF_PASSWORD): cv.string})
else:
cred_schema = cred_schema.extend(
Expand Down
1 change: 1 addition & 0 deletions custom_components/lghorizon/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"Ziggo": "nl",
"Telenet (BE)": "be-nl",
"Telenet (BE, PREPROD)": "be-nl-preprod",
"BASE TV (BE)": "be-basetv",
# "Telenet (FR)": "be-fr",
"Magenta": "at",
"UPC Switzerland": "ch",
Expand Down
4 changes: 2 additions & 2 deletions custom_components/lghorizon/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"iot_class": "cloud_push",
"issue_tracker": "https://github.com/Sholofly/lghorizon/issues",
"requirements": [
"lghorizon>=0.8.2"
"lghorizon>=0.8.3"
],
"version": "0.7.3"
"version": "0.7.4"
}

0 comments on commit 0929f99

Please sign in to comment.