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

Changes the layout of the current weather module, targetting indoor values #3397

Merged
merged 4 commits into from
Mar 23, 2024

Conversation

Paranoid93
Copy link
Contributor

Hi,

this PR should change the layout of the indoor values in the current_weather module.

Since the Indoor values are being passed into the module via a notification, I sadly do not know exactly how to write a test for this. Can you link me an example or tell me, how I can mock indoor values into this test?

Before:
grafik

After:
grafik

@rejas
Copy link
Collaborator

rejas commented Mar 23, 2024

Since the Indoor values are being passed into the module via a notification, I sadly do not know exactly how to write a test for this. Can you link me an example or tell me, how I can mock indoor values into this test?

Thanks for the PR, looks nice. I dont have a good idea how to mock this myself.

@rejas rejas merged commit 52cfbac into MagicMirrorOrg:develop Mar 23, 2024
5 checks passed
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.

None yet

3 participants