From 2fbd864d27cb93e3a7d625bd0cb354e55201d9ee Mon Sep 17 00:00:00 2001 From: BlacKTM <58290651+BlacKTM1190@users.noreply.github.com> Date: Thu, 30 Nov 2023 07:27:49 +0100 Subject: [PATCH] Correct syntaxe error in Update Light.py (#157) --- app/sensors/Light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/sensors/Light.py b/app/sensors/Light.py index d6ffa37..bf382b8 100644 --- a/app/sensors/Light.py +++ b/app/sensors/Light.py @@ -55,7 +55,7 @@ async def setup(self): 'payload_on': "ON", 'on_command_type': "brightness", 'retain': 'false', - 'state_value_template: "{{ 'ON' if value | int(0) > 0 else 'OFF' }}" + 'state_value_template': "{{ 'ON' if value | int(0) > 0 else 'OFF' }}" 'device': self.device} if self.mqtt is not None: