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

Problem with a Climate Entity - Wrong Value / Attribute used for Target Temperature #317

Open
Tra1n84 opened this issue Jan 30, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Tra1n84
Copy link

Tra1n84 commented Jan 30, 2024

Hej,

I have noticed that an incorrect attribute is being used for the Target temperature at the module for Climate entities:
image

The climate module is using the Max. Temperature (see red marking, attribute max_temp) instead of Temperature (see green marking, attribute temperature). See Attributes for this Climate entity from the Developer Tools:
image

Could you please check this behavior? Or is something wrong on my side?

Thanks & Best regards
Thomas

@patricknitsch
Copy link

I have the same problem at one from thirteen modules. The other modules work correctly.

@Tra1n84
Copy link
Author

Tra1n84 commented Jan 30, 2024

You're right. I dont have this with other Climate entities either. That's really strange as the other Climate entities tested are of the same Homematic type as the one with the described problem...

With another climate entity of the same model / interface it is correct:
image

image

Now the question is why?

@anarion80
Copy link
Contributor

anarion80 commented Jan 30, 2024

I have the same issue for only some climate entities. The issue happens here:

value = temperatures.indexOf(temperature);

value is -1 because my temp is with .1 precision: 12.3, and that doesn't match any calculated temperatures between min and max, so the first value is selected,

We should then somehow factor in the step, perhaps from target_temp_step you have in the screenshot above. But then my entities don't have that...:
obraz

@matt8707 matt8707 added the bug Something isn't working label Feb 1, 2024
matt8707 added a commit that referenced this issue Feb 22, 2024
Round climate temperature, closes #317
@mucki12
Copy link

mucki12 commented Apr 24, 2024

Sorry, but shouldn't this commit fix this:
image
image
?

@matt8707 matt8707 reopened this Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants