danielperna84 / hahomematic

Python 3 Interface for Home Assistant to interact with HomeMatic devices
MIT License
130 stars 22 forks source link

HmIP-MOD-TM: cover open not possible if position not completely closed #1523

Closed N3rdix closed 4 months ago

N3rdix commented 4 months ago

I agree to the following

The problem

I just switched from the legacy integration to the custom component and face a regression with the cover for my garage door.

The device (HmIP-MOD-TM) used to toggle correctly from any position between open/closed, which was reflected by an unknown state in the legacy integration. With this custom component the cover now remains in position open when I open it partially (which is correct).

The problem: I can't open the cover from the UI or via the toggle action anymore, the buttons are disabled as long as the state is not closed: image

When I explicitly call the service cover.open_cover it works as expected.

Could this be a bug for this specific homematic device?

What version of HomematicIP (local) has the issue?

1.59

What was the last working version of HomematicIP (local)?

No response

What type of installation are you running?

Home Assistant OS

What type of installation are you running for your homematic backend?

RaspberryMatic Standalone

Which version of your homematic backend are you running?

3.75.6.20240316

What hardware are you running for your system?

Pi4

Which config details do you use

Which interfaces do you use?

Diagnostics information (no logs here)

No response

Log file extract. Anything in the logs that might be useful for us? The log (Setting/System/Logs -> load full log) is the best source to support trouble shooting!

No response

Additional information

No response

SukramJ commented 4 months ago

The definition of open is HA is that it is not closed! So this sounds correct. I can't tell you how the UI elements work, and why buttons are greyed out.

N3rdix commented 4 months ago

The definition of open is HA is that it is not closed! So this sounds correct. I can't tell you how the UI elements work, and why buttons are greyed out.

Agree that it sounds correct, I'm just wondering if this can be somehow fixed in the integration as it was working in the legacy component. But I assume it was working due to the unknown state, if I manually change the state to that the open buttons are also there. If you think this isn't related to the device/integration I'll figure out how to adjust my automations 😄

SukramJ commented 4 months ago

I think there is no need to fix it in the integration, because it is implemented according to the HA specs. The legacy component is basically unmaintained, so a comparison makes no sense for me.

If you want to change the behavour of your cover component you could implement a cover template, that better fits your needs.