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

Currenttime fix #124

Merged
merged 3 commits into from
Aug 22, 2022
Merged

Currenttime fix #124

merged 3 commits into from
Aug 22, 2022

Conversation

luc-ass
Copy link
Owner

@luc-ass luc-ass commented Aug 22, 2022

This fix removes locale and timezone from the plugin. It will default to the timezone and locale set on the system. Only hours12: false is kept to allow comparison with data from the evohome api.

Test 1:

[8/22/2022, 6:28:01 PM] [Evohome] The current time is 18:28:01
[8/22/2022, 6:28:01 PM] [Evohome] Schedule points for today (Monday)
[8/22/2022, 6:28:01 PM] [Evohome] - 06:20:00
[8/22/2022, 6:28:01 PM] [Evohome] - 16:00:00
[8/22/2022, 6:28:01 PM] [Evohome] - 23:30:00 -> next change
[8/22/2022, 6:28:01 PM] [Evohome] Setting target temperature for Wohnküche Thermostat to 20° until 23:30:00
[8/22/2022, 6:28:01 PM] [Evohome] Successfully changed temperature!
[8/22/2022, 6:28:01 PM] [Evohome] { id: '67412699' }

Test 2:
date returns the same time and format on host and inside homebridge docker-container

@luc-ass luc-ass merged commit 372522b into master Aug 22, 2022
@luc-ass luc-ass deleted the currenttime-fix branch August 22, 2022 16:36
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.

1 participant