Skip to content

Conversation

@Floyer007
Copy link
Contributor

Hi,
in preparation on adding a function to Home Assistant to show the recordings of my TV, I added the needed functions to this library.
I hope I understood the typing.py well enough.

At least this works for my Philips 55OLED706/12.

Copy link
Collaborator

@elupus elupus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The types don't seem to line up with your use. In one case the recordings is a dict, in others a list and you are not converting.

If you run mypy on the file it aught to be complaining.

@Floyer007
Copy link
Contributor Author

Thanks for pointing this out. Mypy shows no errors (for my changes) anymore.

@elupus elupus merged commit f40827d into danielperna84:master Jan 23, 2023
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.

2 participants