Add support Xiaomi Label printer (xiaomi.printer.label)#1654
Add support Xiaomi Label printer (xiaomi.printer.label)#1654qjrxsoft02 wants to merge 2 commits into
Conversation
This code defines a device driver configuration that: Standardizes state data for Xiaomi Label Printers (errors, battery, paper status). Converts low-level hardware register values into user-friendly semantic states (e.g., working, overheat). Provides device integration specifications for Home Assistant , enabling status monitoring and automation control.
|
I don't understand why you converting binary_sensor to string. |
Apologies, I overlooked that the Xiaomi label printer doesn't work within the Xiaomi Gateway 3 integration—it connects to the phone app via BLE. The code I submitted was because an unknown device with ID 13566 kept appearing in the Xiaomi Gateway 3 integration, making troubleshooting inconvenient. Therefore, I didn't strictly review the code beforehand. Sincerely apologize for this. I will promptly modify the code to ensure it fully complies with the Xiaomi Gateway 3 requirements. |
…ing in the Xiaomi Gateway 3 integration. Fix the following issues recorded in AlexxIT#1654 for proper functioning in the Xiaomi Gateway 3 integration.
|
I didn't understand. Does the device work with the gateway? Or does it only work with the phone? |
Yes, the Xiaomi Label Printer can only be used via BLE connectivity with the Mi Home app and cannot be used independently without a phone. Due to the integration mechanism of the Xiaomi Gateway 3, most devices connected to the Mi Home app via BLE will be synced with the Xiaomi Gateway 3 integration. |
This code defines a device driver configuration that: Standardizes state data for Xiaomi Label Printers (errors, battery, paper status). Converts low-level hardware register values into user-friendly semantic states (e.g., working, overheat). Provides device integration specifications for Home Assistant , enabling status monitoring and automation control.