Przeglądaj źródła

fix(services): use consistent naming of parameter

Jason Rumney 2 tygodni temu
rodzic
commit
0636206f59
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      custom_components/tuya_local/services.py

+ 1 - 1
custom_components/tuya_local/services.py

@@ -20,7 +20,7 @@ from .remote import TuyaLocalRemote
 
 REMOTE_SEND_IR_COMMAND_SCHEMA = {
     vol.Required("emitter_entity_id"): cv.entity_id,
-    vol.Required("code"): str,
+    vol.Required("command"): str,
     vol.Optional("device"): str,
 }