Explorar el Código

fix(services): use consistent naming of parameter

Jason Rumney hace 2 semanas
padre
commit
0636206f59
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,
 }