Browse Source

fix(services): use consistent naming of parameter

Jason Rumney 1 week ago
parent
commit
25cace68f4
1 changed files with 1 additions and 1 deletions
  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 = {
 REMOTE_SEND_IR_COMMAND_SCHEMA = {
     vol.Required("emitter_entity_id"): cv.entity_id,
     vol.Required("emitter_entity_id"): cv.entity_id,
-    vol.Required("code"): str,
+    vol.Required("command"): str,
     vol.Optional("device"): str,
     vol.Optional("device"): str,
 }
 }