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

Fix tray filtering and reporting #42

Merged
merged 2 commits into from Sep 24, 2020
Merged

Fix tray filtering and reporting #42

merged 2 commits into from Sep 24, 2020

Conversation

nielstron
Copy link
Owner

Fixes issues mentioned in #41 and adds more tray types.

@nielstron nielstron changed the base branch from master to dev September 24, 2020 12:40
@nielstron
Copy link
Owner Author

@OzGav feel free to have a look at the changes made here. I adjusted the code for the new trays such that optimally little to no change will be visible in the Home Assistant interface.

@nielstron nielstron merged commit f2cc2fe into dev Sep 24, 2020
@nielstron nielstron mentioned this pull request Sep 24, 2020
nielstron added a commit that referenced this pull request Sep 24, 2020
nielstron added a commit that referenced this pull request Sep 24, 2020
nielstron added a commit that referenced this pull request Sep 24, 2020
nielstron added a commit that referenced this pull request Sep 24, 2020
@OzGav
Copy link

OzGav commented Sep 25, 2020

Thanks Niels,

I am trying to compare the HA code to this code as well. I note the HA code has up to 6 trays. This code only goes up to 5. I don't know which is correct, that is, what is the maximum number of trays that a Samsung printer can support?

Besides that it appears ok to me. My Python isn't that great though... The original issue that triggered this is that the HA integration currently reports UNKNOWN for all trays. In the HA code what is this doing self._state = self._attributes.get("newError")

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

Successfully merging this pull request may close these issues.

None yet

2 participants