Skip to content

Commit

Permalink
typo message,
Browse files Browse the repository at this point in the history
  • Loading branch information
xZetsubou committed Mar 8, 2024
1 parent 1c5c37a commit e3b18d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/localtuya/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def _get_code(self, device, command):
ir_controller = self._device_id

if ir_controller not in codes_data:
raise ServiceValidationError(f"{self.entity_id} No devices/commands found.")
raise ServiceValidationError(f"IR remote hasn't learned any buttons yet.")

if device not in codes_data[ir_controller]:
raise ServiceValidationError(f"Couldn't find the device: {device}.")
Expand Down

0 comments on commit e3b18d9

Please sign in to comment.