Browse Source

fix (infrared): typo - too many close paren

Jason Rumney 5 days ago
parent
commit
4f72f76ee5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      custom_components/tuya_local/infrared.py

+ 1 - 1
custom_components/tuya_local/infrared.py

@@ -45,7 +45,7 @@ class TuyaLocalInfrared(TuyaLocalEntity, InfraredEntity):
         raw = [
             interval
             for timing in timings
-            for interval in (min(timing.high_us, 65535), min(timing.low_us, 65535)))
+            for interval in (min(timing.high_us, 65535), min(timing.low_us, 65535))
         ]
         tuya_command = IR.pulses_to_base64(raw)
         _LOGGER.debug("Sending infrared command: %s", tuya_command)