astrandb / miele

A modern integration for Miele devices in Home Assistant
MIT License
167 stars 24 forks source link

[Hob] Incorrect zone value #489

Open marcpaulchand opened 1 month ago

marcpaulchand commented 1 month ago

The problem

Hello

My hob (KM7464) can set on each zone a temperature between 0 and 9.

Unfortunatly reported values in home-assistant ends with ',5' except at 0.

I guess it's about mapping here : https://github.com/astrandb/miele/blob/934d6298122be75c7a5501333137a76dc8100d45/custom_components/miele/number.py#L39

Or is it because of step size mentionned here : https://github.com/astrandb/miele/blob/934d6298122be75c7a5501333137a76dc8100d45/custom_components/miele/number.py#L168

Is it possible to match value between hob ans home-assistant ?

Version of miele integration having the issue?

2024.5

Version of Home Assistant Core having the issue?

core-2024.5.4

Anything in the logs that might be useful for us?

No response

Additional information

No response