소스 검색

Formatting change by black.

Black wants to remove some parentheses.
Jason Rumney 5 년 전
부모
커밋
4f65b8403e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      custom_components/tuya_local/kogan_socket/switch.py

+ 1 - 1
custom_components/tuya_local/kogan_socket/switch.py

@@ -72,7 +72,7 @@ class KoganSocketSwitch(SwitchEntity):
         if pwr is None:
             return STATE_UNAVAILABLE
         else:
-            return (pwr / 10.0)
+            return pwr / 10.0
 
     @property
     def device_state_attributes(self):