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

Consul beer fridges integration #63

Merged

Conversation

leandrocaldas
Copy link
Contributor

hi @abmantis I inserted a new integration equipemt smartbeer, it uses a US whirlpool api, it is a Brazilian brand called consul, it is a fridge dedicated to beer, and there are some functionality, I tryed following the current structure but if has some thing to fix let me know. Now I should develop the Home assistant side, but I never delevoled some thing to HA.

Copy link
Owner

@abmantis abmantis left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution! Left a couple of suggestions.

It seems that the options are not beer specific and could work with any smart fridge and not only for bear fridges.
Should we rename things to refrigerator instead of beer_fridge? It seems that refrigerator is the term used by whirlpool anyway

Also, can you please add tests for the new appliance? Thanks

cli.py Outdated Show resolved Hide resolved
cli.py Outdated Show resolved Hide resolved
whirlpool/beer_fridge.py Outdated Show resolved Hide resolved
@leandrocaldas
Copy link
Contributor Author

Thanks for your review, I updated the PR, let me know if you have any other concern about this implementation.

@leandrocaldas leandrocaldas requested a review from abmantis January 4, 2025 22:54
cli_refrigerator_menu.py Outdated Show resolved Hide resolved
cli.py Show resolved Hide resolved
whirlpool/appliancesmanager.py Outdated Show resolved Hide resolved
whirlpool/appliancesmanager.py Outdated Show resolved Hide resolved
whirlpool/refrigerator.py Outdated Show resolved Hide resolved
@leandrocaldas leandrocaldas requested a review from abmantis January 6, 2025 16:50
Copy link
Owner

@abmantis abmantis left a comment

Choose a reason for hiding this comment

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

Just two small changes, otherwise LGTM!

cli.py Outdated Show resolved Hide resolved
cli_refrigerator_menu.py Show resolved Hide resolved
Co-authored-by: Abílio Costa <[email protected]>
@leandrocaldas leandrocaldas requested a review from abmantis January 6, 2025 20:15
@abmantis abmantis merged commit c04fcd3 into abmantis:master Jan 6, 2025
2 checks passed
@abmantis
Copy link
Owner

abmantis commented Jan 6, 2025

Thanks a lot!

@leandrocaldas
Copy link
Contributor Author

Very nice, now could you include this integration in HA? Any question let me know and I can test it during development.

@abmantis
Copy link
Owner

abmantis commented Jan 8, 2025

Hey @leandrocaldas . I can't promise, but I'll add it to my TODO list.
If you do want to contribute to HA I would also be happy to help!

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