-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add counter for print & copy #59
base: dev
Are you sure you want to change the base?
Conversation
Would fail on non-color devices.
Hi @sebcaps, thanks for your addition! Could you please rebase your changes on the latest version of the |
Feat/unescaped newline
Various fixes and improvements to the example
|
||
async def _current_data(self) -> Dict[str, Any]: | ||
async def _current_data(self, datatype: Any) -> Dict[str, Any]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might make sense to split this function into _current_data_home and _current_data_counter or sth similar
This addition will also require additional use cases to be added to cover the counter json. Please also provide raw json output for the counter.json API output. |
Add the ability to get number of print & copies for the printer.
No HTML scrapping supported for these data => an exception is raised for these data with HTML scrapping.