Skip to content

Commit

Permalink
Update device.py
Browse files Browse the repository at this point in the history
  • Loading branch information
azerty9971 committed Jan 27, 2025
1 parent 07889ea commit 92726eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/xtend_tuya/multi_manager/shared/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ def __repr__(self) -> str:
for dpId in self.local_strategy:
local_strategy_str += f"{dpId}\r\n{self.local_strategy[dpId]}\r\n"

#return f"Device {self.name}:\r\n{function_str}{status_range_str}{status_str}{local_strategy_str}"
return f"Device {self.name}:\r\n{self.source}"
return f"Device {self.name}:\r\n{function_str}{status_range_str}{status_str}{local_strategy_str}"
#return f"Device {self.name}:\r\n{self.source}"

def from_compatible_device(device: Any, source: str = "Compatible device"):
#If the device is already an XT device return it right away
Expand Down

0 comments on commit 92726eb

Please sign in to comment.