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

Add Magic areas #44

Closed
wants to merge 4 commits into from
Closed

Add Magic areas #44

wants to merge 4 commits into from

Conversation

AalianKhan
Copy link
Owner

#16 and #32

@AalianKhan
Copy link
Owner Author

@DigiLive should I move this code to the area card instead?

Copy link
Collaborator

@DigiLive DigiLive left a comment

Choose a reason for hiding this comment

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

The responsibility of class AreaCard is is to create a card.
The responsibility of class HomeView is to get a card, created by class AreaCard.

So, I think, the current location of your changes, are in the wrong place.

Also, don't do things like this:

if (!(temperature || humidity || lux)) {
  ...
}
if (temperature || humidity || lux) {
  ...
}

@DigiLive DigiLive added the enhancement New feature or request label Oct 20, 2023
@adrienbrault adrienbrault mentioned this pull request Oct 22, 2023
@DigiLive DigiLive mentioned this pull request Oct 23, 2023
@DigiLive DigiLive closed this Oct 24, 2023
@DigiLive
Copy link
Collaborator

DigiLive commented Oct 24, 2023

Replaced by #75

@DigiLive DigiLive added obsolete No longer used or needed and removed enhancement New feature or request labels Nov 22, 2023
@DigiLive
Copy link
Collaborator

@AalianKhan Can you decide on deleting the magic-areas branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
obsolete No longer used or needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants