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 for Volumio str/int issue #19086 #20225

Merged
merged 1 commit into from
Jan 19, 2019

Conversation

JoakimLindbom
Copy link
Contributor

Description:

Casting added to volume calculation to avoid type mismatch error.

Related issue (if applicable): fixes #19086

Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>

Checklist:

  • [Y] The code change is tested and works locally.
  • [Y] Local tests pass with tox. Your PR cannot be merged unless tests pass
  • [Y] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • [N] New dependencies have been added to the REQUIREMENTS variable ([example][ex-requir]).
  • [N] New dependencies are only imported inside functions that use them ([example][ex-import]).
  • [N] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • [N] New files were added to .coveragerc.

If the code does not interact with devices:

  • [N] Tests have been added to verify that the new code works.

@homeassistant
Copy link
Contributor

Hi @JoakimLindbom,

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

Copy link
Member

@rohankapoorcom rohankapoorcom left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

@rohankapoorcom rohankapoorcom merged commit 440d479 into home-assistant:dev Jan 19, 2019
@ghost ghost removed the in progress label Jan 19, 2019
@balloob balloob mentioned this pull request Feb 6, 2019
alandtse pushed a commit to alandtse/home-assistant that referenced this pull request Feb 12, 2019
kellerza pushed a commit to kellerza/home-assistant that referenced this pull request Feb 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"unsupported operand type(s) for /: 'str' and 'int'" media_player.volumio
3 participants