From 5391b73f8d5cea609b8c56d90456918c7a3eb3c8 Mon Sep 17 00:00:00 2001 From: Quinn Damerell Date: Tue, 14 Jan 2025 00:09:02 -0800 Subject: [PATCH] Quick bug fix. --- homeway/config.yaml | 2 +- homeway/homeway_linuxhost/sage/sagehandler.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeway/config.yaml b/homeway/config.yaml index 43c69f1..eba73ed 100644 --- a/homeway/config.yaml +++ b/homeway/config.yaml @@ -53,4 +53,4 @@ image: ghcr.io/homewayio/homeway/{arch} # 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. # 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. # UPDATE THE CHANGE LOG! -version: 2.1.2 +version: 2.1.3 diff --git a/homeway/homeway_linuxhost/sage/sagehandler.py b/homeway/homeway_linuxhost/sage/sagehandler.py index a0142e3..abb8b1c 100644 --- a/homeway/homeway_linuxhost/sage/sagehandler.py +++ b/homeway/homeway_linuxhost/sage/sagehandler.py @@ -264,7 +264,7 @@ def getAttribution(d:dict) -> Attribution: def addSagePrefixIfNeeded(s:str) -> str: if self.SagePrefix_CanBeNone is None: - return input + return s return f"{self.SagePrefix_CanBeNone} - {s}" # Parse the response.