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

sensor.wash_cycle_remaining_time bad reporting #51

Closed
Archangel67 opened this issue Nov 29, 2021 · 5 comments
Closed

sensor.wash_cycle_remaining_time bad reporting #51

Archangel67 opened this issue Nov 29, 2021 · 5 comments

Comments

@Archangel67
Copy link

hi, my washing machine model CBWMS914WH-S works fine, but there is only one problem the sensor.wash_cycle_remaining_time which marks in minutes while there are hours left.

@ofalvai
Copy link
Owner

ofalvai commented Dec 4, 2021

Just to make sure I understand it correctly, does your sensor display 1 minute while the remaining time is 1 hour?

@Archangel67
Copy link
Author

yes, sorry for my bad english.
yes it start at 2 min while the remaining time is 2 hour after 1h it change in 1min

@Archangel67
Copy link
Author

@ofalvai any news? Thanks

@ofalvai
Copy link
Owner

ofalvai commented Jan 29, 2022

I can't find a way unfortunately to automatically detect the unit of measurement. I am hoping that the majority of devices use minutes and only a few devices report the number in hours. I think the best workaround is to create a template sensor that uses the same numeric value but defines a different unit of measurement.

@glebsterx
Copy link
Contributor

@ofalvai It seems to me that the author of the issue had the same problem as I have - the washing machine gives the time in minutes, and the integration divides the minutes by 60 and gives the number of hours, setting the units to "minutes" in the attribute "remaining minutes"
I did PR #278 removing this division by 60
Have a look, please

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

No branches or pull requests

3 participants