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

get_sensors now return serial number #37

Merged

Conversation

hanne-opseth-rygg-4ss
Copy link
Contributor

@hanne-opseth-rygg-4ss hanne-opseth-rygg-4ss commented Oct 27, 2023

This PR is related to user story ESS-1982

Get sensors now return serial number.

@heidi-holm-4ss heidi-holm-4ss added the bug Bug fixes label Oct 30, 2023
@heidi-holm-4ss heidi-holm-4ss changed the title Ess 1982 get sensors should return serial number get_sensors now return serial number Oct 30, 2023
@bjorn-einar-bjartnes-4ss
Copy link
Contributor

bjorn-einar-bjartnes-4ss commented Oct 30, 2023

Looks good, took a while to review because I wasn't sure how to run it locally with tests and all (got it running with tox -e py). I just wanted to see that the tests broke as expected when not including your changes as well.

Makes more sense imo to do it this way, with requiring a certain set of data to be there, but not fail if more is added to the API.

@hanne-opseth-rygg-4ss hanne-opseth-rygg-4ss merged commit 3accfc8 into main Oct 30, 2023
9 checks passed
@hanne-opseth-rygg-4ss hanne-opseth-rygg-4ss deleted the ESS-1982-get-sensors-should-return-serial-number branch October 30, 2023 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug fixes
Development

Successfully merging this pull request may close these issues.

4 participants