Koen Kanters
53cb42103c
chore: Update dependencies ( #18459 )
...
* fix(ignore): update dependencies
* Make compatible with MQTT 5
* updates
---------
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
2023-08-08 20:04:22 +02:00
koenkk
ed22ecedbf
fix: Fix Home Assistant TypeError: object of type 'NoneType' has no len() error. https://github.com/Koenkk/zigbee2mqtt/issues/17861
2023-08-02 19:34:39 +02:00
Koen Kanters
f6196107a7
fix: Fix Home Assistant `MQTT device name is equal to entity name in your config ( #18491 )
...
* fix: Fix Home Assistant `MQTT device name is equal to entity name in your config` error. https://github.com/Koenkk/zigbee2mqtt/issues/18445
* remove onlythis
2023-08-01 20:39:02 +02:00
Koen Kanters
df93e4c8f9
feat: Let Home Assistant generate entity name when device_class is present ( #18208 )
2023-08-01 19:46:24 +02:00
Ilya Kirov
4bd281ce6c
fix(ignore): Add ep l till 24 ( #18422 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2023-07-25 17:53:31 +00:00
Jorge Schrauwen
91f22f1230
fix(ignore): Add th1-th10 endpoints for Ubisys H10 ( #18405 )
...
See koenkk/zigbee2mqtt#18121
2023-07-23 18:37:56 +02:00
Koen Kanters
f64cd7e8f3
fix: Fix socket error crashing Zigbee2MQTT ( #18388 )
2023-07-21 14:51:39 +00:00
Bruno Bierbaumer
df8e1687b2
fix: Fix insecure Zigbee network encryption key generation ( #18372 )
2023-07-20 19:26:29 +02:00
koenkk
dec91919bc
fix: Fix 'dict object' has no attribute 'ir_code_to_send' error. https://github.com/Koenkk/zigbee2mqtt/issues/18180
2023-07-18 19:53:48 +02:00
Brandon Rothweiler
1252f10d39
fix: Use HA sensor device class atmospheric_pressure instead of pressure ( #18306 )
...
* Update homeassistant.ts
* Update tests
2023-07-13 19:55:19 +02:00
koenkk
0bdf663ca1
fix: Fix not all cluster unbound/bound when specified. https://github.com/Koenkk/zigbee2mqtt/issues/10740
2023-07-10 20:00:57 +02:00
Koen Kanters
94744525ba
feat: Support settable Home Assistant text ( #18114 )
2023-06-25 09:23:13 +02:00
koenkk
88339473ce
fix(ignore): Fix DeviceMessage.meta type
2023-06-25 09:16:36 +02:00
Grégoire Seux
e083a6bff7
feat: Support Home Assistant water device_class ( #18066 )
...
This should be sufficient for https://www.zigbee2mqtt.io/devices/ZVG1.html to be water_consumed sensor to be usable in Energy dashboard (water section).
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2023-06-19 19:21:43 +02:00
koenkk
11f0be55d8
fix: Fix Home Assistant truncate error when program is null. https://github.com/Koenkk/zigbee2mqtt/issues/16460
2023-06-12 18:10:45 +02:00
Koen Kanters
0dd899679d
Update zigbee-herdsman-converters to 15.21.2 ( #17967 )
...
* fix(ignore): update zigbee-herdsman-converters to 15.21.2
* fix
---------
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
2023-06-08 21:42:29 +00:00
Koen Kanters
a7e02a7be8
fix(ignore): Better fix for #17891 ( #17951 )
...
* fix(ignore): Better fix for #17891
* remove onlythis
2023-06-08 09:04:14 +02:00
Koen Kanters
c23d244405
Update zigbee-herdsman-converters to 15.19.1 ( #17941 )
...
* fix(ignore): update zigbee-herdsman-converters to 15.19.1
* fix
---------
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
2023-06-07 14:30:11 +00:00
Sean Kelly
c12bedb3e5
fix: Fix HA entities unavailable after broker restart when broker does not persist retained messages ( #17891 )
...
* Fix race condition with bridge status message cancelling reinitialize after a reconnect to mqtt
* Fix tests
2023-06-07 09:16:11 +02:00
koenkk
e6f9aeda06
fix: Fix Home Assistant Payload is not supported (e.g. open, closed, opening, closing, stopped): STOP error. https://github.com/Koenkk/zigbee2mqtt/issues/17552
2023-05-26 09:32:29 +02:00
Koen Kanters
df80a11663
Fix incorrect message being published when entity contains light or cover. https://github.com/Koenkk/zigbee2mqtt/issues/17594
2023-05-09 19:26:46 +02:00
Koen Kanters
64009d0dbb
Fix Home Assistant State max length is 255 characters error for program sensor. https://github.com/Koenkk/zigbee2mqtt/issues/16460
2023-05-07 09:18:58 +02:00
Aarni Koskela
8fe36d74ec
Typo fixes ( #17440 )
...
* Fix "Succesfully"
* Fix herdsman typo
* Fix various other small typos
2023-04-27 09:14:04 +02:00
github-actions[bot]
b3c886638a
Update dependencies ( #17354 )
...
* Update dependencies
* Fix tests
---------
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2023-04-16 08:56:31 +02:00
Viktor Ryzhaiev
15f741b446
Add carbon_monoxide device_class to Home Assistant discovery ( #17331 )
2023-04-14 20:23:29 +02:00
Thomas Kintscher
653334b208
Expose voc_index sensor measurements as such in Home Assistant ( #17144 )
...
Co-authored-by: Thomas Kintscher <mail@thomaskintscher.de >
2023-03-26 09:50:22 +02:00
oddlama
07d238d5b9
Support hosting the frontend on a Unix socket ( #17123 )
2023-03-23 17:08:23 +01:00
Koen Kanters
bbb19371f3
Fix Home Assistant unit of measurement error for voc ppb sensors. https://github.com/Koenkk/zigbee2mqtt/issues/16057
2023-03-05 09:50:23 +01:00
baze-
0e67f8fa0a
Fix old state send when long debounce time is used ( #16828 )
...
* Fixed caching problem where old messages were sent out if long debounce values is used for sensor.
* Fixed caching problem where old messages were sent out if long debounce values is used for sensor
* State cache updated during debounce IF cache is enabled in configuration.
* Fixed code styles
* Implemented test case for testing State cache is updated correctly during debouncing
* If-statement was obsolete as cache can be update right away.
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2023-03-04 16:43:01 +01:00
Koen Kanters
942faf412f
Revert "Capitalize entity name in Home Assistant ( #16702 )"
...
This reverts commit f5cceb1719 .
2023-02-22 20:34:39 +01:00
Artem Draft
f5cceb1719
Capitalize entity name in Home Assistant ( #16702 )
2023-02-21 17:18:15 +01:00
Andreas Fritiofson
85f32c039f
Add entity_category to indicator_mode and led_enable for Home Assistant discovery ( #16744 )
...
These names are used by some TuYa and IKEA devices.
2023-02-20 19:53:22 +01:00
Koen Kanters
e934b0d94e
Support Hue effects for groups. https://github.com/Koenkk/zigbee2mqtt/issues/15997
2023-02-16 18:20:08 +01:00
Tami
2eadf30199
Fix error when device is added when device: [] in configuration.yaml ( #16629 )
...
* fix for TypeError: The "path" argument must be of type string in writeDevicesOrGroups
* added test case that produces the error when running on old implementation
Summary of all failing tests
FAIL test/settings.test.js
● Settings › Should add devices even when devices exist empty
TypeError: The "path" argument must be of type string. Received undefined
275 |
276 | jest.mock('../../lib/util/data', () => ({
> 277 | joinPath: (file) => require('path').join(mockDir, file),
| ^
278 | getPath: () => mockDir,
279 | }));
280 |
at Object.join [as joinPath] (test/stub/data.js:277:41)
at joinPath (lib/util/settings.ts:245:38)
at writeDevicesOrGroups (lib/util/settings.ts:250:5)
at Object.write [as addDevice] (lib/util/settings.ts:555:5)
at Object.addDevice (test/settings.test.js:128:18)
2023-02-13 19:41:49 +01:00
Artem Draft
0217593c77
Improve checks in HA covers ( #16614 )
2023-02-12 09:28:57 +01:00
Koen Kanters
f943619387
Always respond to OTA request. https://github.com/Koenkk/zigbee2mqtt/issues/16371
2023-01-29 19:16:03 +01:00
Koen Kanters
a3f1399489
Log device OTA request response. https://github.com/Koenkk/zigbee2mqtt/issues/16371
2023-01-29 11:23:21 +01:00
Koen Kanters
0bc685a8e3
Sanatize manufacturerName. https://github.com/home-assistant/core/issues/85691
2023-01-24 17:19:56 +01:00
Artem Draft
02a99703a8
Fix motor_state and moving in HA covers ( #16324 )
2023-01-24 17:00:24 +01:00
Koen Kanters
b89a99fe0c
Fix another Failed to call 'Frontend' 'stop' . https://github.com/Koenkk/zigbee2mqtt/issues/16317
2023-01-23 20:21:03 +01:00
mtdcr
06820d2220
Sane defaults for remote syslog ( #16300 )
...
The most commonly used transport for remote syslog is port 514/udp.
It also is the only defined method for BSD syslog (RFC 3164). RFCs
5424+5425 specify an additional TLS transport via 6514/tcp, which
does not seem to be supported by zigbee2mqtt, as evidenced by the
lack of TLS-related configuration options in this area. RFC 6587
describes legacy uses of syslog over TCP, recommending against them.
Port 123, the previous default, was probably used by accident and
is reserved for NTP.
| $ grep -w -e 123 -e 514 -e 601 -e 6514 /etc/services
| ntp 123/udp # Network Time Protocol
| shell 514/tcp cmd syslog # no passwords used
| syslog 514/udp
| syslog-tls 6514/tcp # Syslog over TLS [RFC5425]
2023-01-23 19:31:10 +01:00
Koen Kanters
d8501f04eb
Fix Failed to call 'Frontend' 'stop' (TypeError: Cannot read properties of null (reading 'clients') error. https://github.com/Koenkk/zigbee2mqtt/issues/16207
2023-01-16 19:19:51 +01:00
Koen Kanters
cddbb9a5e5
Fix f600066134
2023-01-13 16:59:20 +01:00
Koen Kanters
f600066134
Fix 328b9fbd60. https://github.com/Koenkk/zigbee2mqtt/issues/15958
2023-01-12 17:20:07 +01:00
Koen Kanters
328b9fbd60
Remove state_class measurement when unit_of_measurement is not set. https://github.com/Koenkk/zigbee2mqtt/issues/15958
2023-01-11 18:23:13 +01:00
Dan Klaffenbach
2288c0f1c2
Poll Busch-Jaeger devices for updates after binding-initiated changes ( #16036 )
...
The Busch-Jaeger devices don't support reporting and therefore their
state should be polled after being changed through a binding partner.
2023-01-09 19:18:13 +01:00
Miguel Cabral
9c4abb64c3
Expose cover moving state to Home Assistant ( #16017 )
2023-01-08 10:05:29 +01:00
Koen Kanters
e7735112e8
Fix Home Assistant Entity sensor.xxx (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement '' which is not a valid unit for the device class ('illuminance') warning. https://github.com/Koenkk/zigbee2mqtt/issues/15958
2023-01-08 08:50:10 +01:00
Koen Kanters
50bca161ce
Fix Home Assistant Template variable warning: 'dict object' has no attribute 'latest_version' when rendering '{{ value_json['update']['latest_version'] }}' error attempt 2. https://github.com/Koenkk/zigbee2mqtt/issues/15747
2023-01-04 19:49:27 +01:00
Koen Kanters
d49f06f34d
Revert "Expose cover moving state to Home Assistant ( #15555 )"
...
This reverts commit 56f7f3e1bd .
2023-01-03 10:59:20 +01:00