WaresWichall / hass-anycubic_cloud

Anycubic Cloud component for Home Assistant
GNU General Public License v3.0
13 stars 2 forks source link

Forced token length issue #22

Closed Vaskivskyi closed 2 months ago

Vaskivskyi commented 2 months ago

Hey there,

Anycubic also has 236 symbol-long tokens, not only 238 as is forced now. As a result, it's not possible to set up the integration because it fails in the clean_user_token function (helpers.py module). If the limit is adjusted or the check removed, everything will be working fine and printers can be set up

WaresWichall commented 2 months ago

Thanks @Vaskivskyi can you try v0.1.2rc1 ?

Vaskivskyi commented 2 months ago

@WaresWichall,

Yes. Works well now 👍🏻

WaresWichall commented 2 months ago

Great 👍