Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported value of consumable_type_enum, expecting: ['ink', 'inkcartridge', 'printhead', 'toner', 'tonercartridge'], received: inkTank #162

Open
StefanoGiu opened this issue Jun 20, 2024 · 4 comments

Comments

@StefanoGiu
Copy link

2024-06-20 12:22:12.406 WARNING (MainThread) [custom_components.hpprinter.managers.rest_api] Unsupported value of consumable_type_enum, expecting: ['ink', 'inkcartridge', 'printhead', 'toner', 'tonercartridge'], received: inkTank

Version 2.0.2

@elad-bar
Copy link
Owner

please check v2.0.3 and update

thanks

@StefanoGiu
Copy link
Author

inkTank is with uppercase T... I checked the code and you wrote is as "inktank"

@elad-bar
Copy link
Owner

is it working?

thanks

@elad-bar
Copy link
Owner

in addition

I checked the code and you wrote is as "inktank"

please read the code and not just look for a term, the code is lowering the case as HA don't support non lower case characters for keys of translation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants