Skip to content

Commit 536335b

Browse files
committed
Quick fix for the remote access disable switch in the web ui.
1 parent dc5c8ce commit 536335b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

homeway/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- This is used in the homeway UI to show updates, so keep it up to date. -->
33

44

5-
## 2.5.0 - 2.4.0
5+
## 2.5.1 - 2.4.0
66

77
- 🤖 Google Home & Alexa device filtering is here!
88
- You can now use the same Home Assistant UI as you do with Nabu Casa to expose or un-expose devices to Alexa, Google Home, and Sage.

homeway/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ image: ghcr.io/homewayio/homeway/{arch}
5353
# Note when this version number changes, we must make a release to start a docker container build immediately, since HA will start looking for the new version.
5454
# Basically: Make the final commit -> test and check lint actions (if a docker change, push to docker-test to ensure it builds) -> bump the version number -> create GitHub release.
5555
# UPDATE THE CHANGE LOG!
56-
version: 2.5.0
56+
version: 2.5.1

homeway/homeway_linuxhost/webserver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,8 @@ def do_GET(self):
472472
const remoteSwitch = document.getElementById('enable-remote-access-switch');
473473
remoteSwitch.onchange = (event) => {
474474
const enabled = remoteSwitch.checked;
475-
fetch("/api/remote_access_enabled", {
475+
// This must be relative to this page, since the hosted web page in HA is a long path.
476+
fetch("api/remote_access_enabled", {
476477
method: "POST",
477478
headers: {
478479
"Content-Type": "application/json"

0 commit comments

Comments
 (0)