Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ async def print_device_info(device: Device, info: Info) -> None:
)

attributes = {
"Device Name": device.name if device.name else "N/A",
"Version": device.version if device.version else "N/A",
"Device Name": device.name or "N/A",
"Version": device.version or "N/A",
"Device Identification": device_identification,
}
print_attributes("Device Information", attributes)
Expand Down
Loading