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

EventBus error 'Publish/mqttMessage': Cannot read properties of undefined (reading 'some') #23821

Closed
Zayeen opened this issue Sep 2, 2024 · 5 comments
Labels
problem Something isn't working

Comments

@Zayeen
Copy link

Zayeen commented Sep 2, 2024

What happened?

In my setup the Tuya TV02-Zigbee is the cause somehow. If i try to change a setting or it updates the error comes up.

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

Change a setting in Z2M Tuya TV02-Zigbee panel

Zigbee2MQTT version

1.40.0-1

Adapter firmware version

20210120

Adapter

zzh!

Setup

Hass os vm in Proxmox

Debug log

[2024-09-02 22:01:32] error: z2m: EventBus error 'Publish/mqttMessage': Cannot read properties of undefined (reading 'some')
[2024-09-02 22:01:32] debug: z2m: TypeError: Cannot read properties of undefined (reading 'some')
at /app/lib/extension/publish.ts:326:95
at Array.some ()
at /app/lib/extension/publish.ts:326:77
at Array.some ()
at Publish.onMQTTMessage (/app/lib/extension/publish.ts:326:61)
at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)

@Zayeen Zayeen added the problem Something isn't working label Sep 2, 2024
@Koenkk
Copy link
Owner

Koenkk commented Sep 2, 2024

Can you check if this is fixed?

Changes will be available in the dev branch in a few hours from now.

@jesse-kaufman
Copy link

Can you check if this is fixed?

Changes will be available in the dev branch in a few hours from now.

Looks like it's fixed to me

@Koenkk Koenkk closed this as completed Sep 2, 2024
@Zayeen
Copy link
Author

Zayeen commented Sep 2, 2024

Can you check if this is fixed?

Changes will be available in the dev branch in a few hours from now.

Looks like it's fixed with dev branch , thanks.

@rickoltan
Copy link

Installing the dev environment does not work, I get the error "fatal: --unshallow on a complete repository does not make sense" when trying to do a fetch with --unshallow.
Will there be a master release with this correction soon?

@silkyclouds
Copy link

oh nice when will it come to the official home assistant add-on repo ?

truecharts-admin referenced this issue in truecharts/public Sep 7, 2024
…7ec2 by renovate (#26080)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [koenkk/zigbee2mqtt](https://redirect.github.com/Koenkk/zigbee2mqtt) |
patch | `1.40.0` -> `1.40.1` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>Koenkk/zigbee2mqtt (koenkk/zigbee2mqtt)</summary>

###
[`v1.40.1`](https://redirect.github.com/Koenkk/zigbee2mqtt/blob/HEAD/CHANGELOG.md#1401-2024-09-07)

[Compare
Source](https://redirect.github.com/Koenkk/zigbee2mqtt/compare/1.40.0...1.40.1)

##### Bug Fixes

- Fix `Cannot read properties of undefined (reading 'some')`
[https://github.com/Koenkk/zigbee2mqtt/issues/23821](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23821)
([557b17a](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/557b17ad5b6dc375e361fb3ec5a84134be761a00))
- **ignore:** update dependencies
([#&#8203;23790](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23790))
([b7fa722](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/b7fa7221093656cee3c908aa1c0e45e350aa43c9))
- **ignore:** update zigbee-herdsman to 0.57.2
([#&#8203;23872](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23872))
([5524e88](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/5524e881e6458afac2c5ae712bc6d0a1090e7115))
- **ignore:** update zigbee-herdsman to 0.57.3
([#&#8203;23877](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23877))
([0d46354](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/0d46354c485ba5c644af8d933b1689468b3a058c))
- **ignore:** update zigbee-herdsman-converters to 20.11.0
([#&#8203;23837](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23837))
([a33c29f](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/a33c29f10af5fc423ff9668af59826a37d9784bf))
- **ignore:** update zigbee-herdsman-converters to 20.12.1
([#&#8203;23884](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23884))
([9283c4b](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/9283c4b4973e9e7309081a9444427c87f9309f91))
- **ignore:** update zigbee-herdsman-converters to 20.9.0
([#&#8203;23822](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23822))
([6dade8b](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/6dade8b11faa13096191f9774a7a1dd320af6bde))
- Log stack trace when update check fails
[Koenkk/zigbee2mqtt#23798
([13a108d](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/13a108ddbc8f33d1cb23b92e2c67854fbd2dc338))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43MS4wIiwidXBkYXRlZEluVmVyIjoiMzguNzEuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJ1cGRhdGUvZG9ja2VyL2dlbmVyYWwvbm9uLW1ham9yIl19-->
rouke-broersma referenced this issue in broersma-forslund/homelab Sep 7, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [koenkk/zigbee2mqtt](https://redirect.github.com/Koenkk/zigbee2mqtt) |
patch | `1.40.0` -> `1.40.1` |

---

### Release Notes

<details>
<summary>Koenkk/zigbee2mqtt (koenkk/zigbee2mqtt)</summary>

###
[`v1.40.1`](https://redirect.github.com/Koenkk/zigbee2mqtt/blob/HEAD/CHANGELOG.md#1401-2024-09-07)

[Compare
Source](https://redirect.github.com/Koenkk/zigbee2mqtt/compare/1.40.0...1.40.1)

##### Bug Fixes

- Fix `Cannot read properties of undefined (reading 'some')`
[https://github.com/Koenkk/zigbee2mqtt/issues/23821](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23821)
([557b17a](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/557b17ad5b6dc375e361fb3ec5a84134be761a00))
- **ignore:** update dependencies
([#&#8203;23790](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23790))
([b7fa722](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/b7fa7221093656cee3c908aa1c0e45e350aa43c9))
- **ignore:** update zigbee-herdsman to 0.57.2
([#&#8203;23872](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23872))
([5524e88](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/5524e881e6458afac2c5ae712bc6d0a1090e7115))
- **ignore:** update zigbee-herdsman to 0.57.3
([#&#8203;23877](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23877))
([0d46354](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/0d46354c485ba5c644af8d933b1689468b3a058c))
- **ignore:** update zigbee-herdsman-converters to 20.11.0
([#&#8203;23837](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23837))
([a33c29f](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/a33c29f10af5fc423ff9668af59826a37d9784bf))
- **ignore:** update zigbee-herdsman-converters to 20.12.1
([#&#8203;23884](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23884))
([9283c4b](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/9283c4b4973e9e7309081a9444427c87f9309f91))
- **ignore:** update zigbee-herdsman-converters to 20.9.0
([#&#8203;23822](https://redirect.github.com/Koenkk/zigbee2mqtt/issues/23822))
([6dade8b](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/6dade8b11faa13096191f9774a7a1dd320af6bde))
- Log stack trace when update check fails
[https://github.com/Koenkk/zigbee2mqtt/discussions/23798](https://redirect.github.com/Koenkk/zigbee2mqtt/discussions/23798)
([13a108d](https://redirect.github.com/Koenkk/zigbee2mqtt/commit/13a108ddbc8f33d1cb23b92e2c67854fbd2dc338))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/broersma-forslund/homelab).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants