zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[TS130F] Regression since last update

Open DarkrysVakarian opened this issue 2 years ago • 10 comments

What happened?

Hello,

I use Z2M on Home Assistant, and it seems that there is a regression since the last update concerning the TS130F shutter controls.

Z2M no longer indicates the correct state for the controls. For example, today, out of my 7 shutters, 2 returned the correct state and all the others indicated the opposite state (closed when they were open).

Using the specific Invert Covert parameter also gives false results.

Thnaks for your help.

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.39.0

Adapter firmware version

7.3.1.0 build 176

Adapter

Home Assistant Yellow built-in adapter

Setup

Add-on on Homa Assistant

Debug log

No response

DarkrysVakarian avatar Jul 07 '24 00:07 DarkrysVakarian

@Koenkk same error here. But I notice this problem since HomeAssistant 2024.6.0.

adrienvsj avatar Jul 13 '24 06:07 adrienvsj

Could you provide the debug log when closing them and the incorrect state is reported?

See this on how to enable debug logging.

Koenkk avatar Jul 15 '24 19:07 Koenkk

Hello,

There is a debug file when I close my shutter maned "Volet roulant - Véranda porte". log.txt

But after all I don't know if it's Z2M fault or HA, because on Z2M the state seams to be right : Capture d’écran 2024-07-16 à 01 49 59

But HA say it's open : Capture d’écran 2024-07-16 à 01 50 15

@adrienvsj hum you maybe right, I've the problem since a HA update

Thanks :)

DarkrysVakarian avatar Jul 15 '24 23:07 DarkrysVakarian

Is this without invert_cover being set? When:

  • cover is closed, position should be 0
  • cover is open, position should be 100

HA docs; https://www.home-assistant.io/integrations/cover.mqtt/#position_closed

Koenkk avatar Jul 16 '24 19:07 Koenkk

Indeed, my screen was taken witout invert_covert set.

DarkrysVakarian avatar Jul 16 '24 23:07 DarkrysVakarian

Then it looks to be an HA issue

Koenkk avatar Jul 17 '24 19:07 Koenkk

Hello @Koenkk @DarkrysVakarian I just found the commit (https://github.com/home-assistant/core/pull/118088) on homeassistant core that produces the bug. It has been present since HomeAssistant version 2024.6.0b0, as I suspected. I'm going to open an issue about this bug and I'm currently working on a fix. In the meantime, I advise you to go back to version 2024.5.X (I think the latest version is 2024.5.5).

adrienvsj avatar Jul 17 '24 20:07 adrienvsj

Hello @Koenkk @adrienvsj Thanks for your reply.

@adrienvsj I just donwdrading to version 2024.5.5 thank you.

DarkrysVakarian avatar Jul 17 '24 23:07 DarkrysVakarian

Great that you've found the root cause, then I will close this as it's not something that can be fixed by z2m.

Koenkk avatar Jul 18 '24 18:07 Koenkk

@DarkrysVakarian for your information I have opened a PR to fix the problem: https://github.com/home-assistant/core/pull/122192

adrienvsj avatar Jul 19 '24 16:07 adrienvsj