grimmpp / home-assistant-eltako

Integration for Eltako 14 series in Home Assistant
MIT License
28 stars 5 forks source link

Fixed target temperature not being set and cover position throwing an exception #86

Closed christophheich closed 3 months ago

christophheich commented 3 months ago

The target temperature value of a sensor with eep A5-10-06 has not been updated in home assistant, the target temperature was undefined or kept an old value, this small change fixes the issue.

IMAGE 2024-03-22 10:32:44

--

If the current cover position was unknown, due to not being set, stopping the cover caused an exception, as the initial position must be set, the current position will be guessed to be either fully open or fully closed, based on the cover direction.

After the user has fully opened or closed the cover, the correct position will be set without further guessing.

photo_2024-03-22 10 57 56

grimmpp commented 3 months ago

I will add some test and then merge it to main.