Koen Kanters
fa8593c898
Log and publish friendly_name on deviceLeave. https://github.com/Koenkk/zigbee2mqtt/issues/7725
2021-06-08 15:58:10 +02:00
Franck Nijhof
000884b080
Deprecate Home Assistant entity attributes ( #7683 )
...
* Deprecate Home Assistant entity attributes
* Adjust test to match latest dev
* Set default only for new installations
* Fix tests
2021-06-08 15:33:14 +02:00
Franck Nijhof
5e7387fa9c
Disable less common Home Assistant entities by default ( #7684 )
...
* Disable less common Home Assistant entities by default
* Disable illuminance by default
* Please eslint
2021-06-04 21:33:45 +02:00
Franck Nijhof
51fd598e32
Add Home Assistant sensor state_class support ( #7677 )
2021-06-04 11:41:42 +02:00
Koen Kanters
cae4e1ff7c
Display network address in router as hex. https://github.com/Koenkk/zigbee2mqtt/discussions/7603
2021-05-31 18:57:27 +02:00
Jorge Schrauwen
15a7bab5f3
#7571 Add filtered_optimistic
device option ( #7633 )
...
* Add filtered_optimistic device option
* Add test to cover filtered_optimistic
2021-05-30 13:03:55 +02:00
Koen Kanters
bd64be2b5d
Show network address as hex in graphviz and plantuml network map. #7603
2021-05-29 15:19:26 +02:00
Koen Kanters
fff76e6013
Republish devices when network address changes. https://github.com/Koenkk/zigbee2mqtt/discussions/7603
2021-05-29 15:06:14 +02:00
Koen Kanters
9941be1d1a
Honour optimisitic false for groups ( #7615 )
...
* Honour optimisitic false for groups. https://github.com/Koenkk/zigbee2mqtt/issues/7571
* Remove default optimistic true for groups. https://github.com/Koenkk/zigbee2mqtt/issues/7571
* Updates
2021-05-28 20:23:00 +02:00
Jorge Schrauwen
597a5a4925
Add skip_disable_reporting to unbind group/remove ( #7455 )
...
* Allow skipping disable of reporting during unbind
* Allow skipping disable of reporting during remove from group
* Add tests
* Update bind.js
* Update groups.js
* Update bind.test.js
* Update bind.test.js
* Update bind.test.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-05-23 15:37:34 +02:00
russdan
5aa1d21ed4
Fix controlling heat endpoint with occupied_heating_setpoint_heat not working ( #7481 )
...
* Update publish.js
Fix for issue #7470 . Tests:
error 2021-05-14 11:37:13: key: occupied_heating_setpoint_heat
error 2021-05-14 11:37:13: endpointNameMatch 'heat' (heat)
error 2021-05-14 11:37:13: Before replace 'occupied_heating_setpoint_heat' (occupied_heating_setpoint_heat)
error 2021-05-14 11:37:13: After replace 'occupied_heating_setpoint' (occupied_heating_setpoint)
error 2021-05-14 11:37:26: key: occupied_heating_setpoint_water
error 2021-05-14 11:37:26: endpointNameMatch 'water' (water)
error 2021-05-14 11:37:26: Before replace 'occupied_heating_setpoint_water' (occupied_heating_setpoint_water)
error 2021-05-14 11:37:26: After replace 'occupied_heating_setpoint' (occupied_heating_setpoint)
* Update publish.js
* Update publish.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-05-16 16:08:36 +02:00
Jorge Schrauwen
55ce381d28
homeassistant: copy hue/saturation to h/s ( #7453 )
2021-05-13 14:57:18 +02:00
Koen Kanters
6bbe738f91
Fix controlling of different endpoint names in one message not working when endpoints have same ID. https://github.com/Koenkk/zigbee-herdsman-converters/pull/2545
2021-05-07 19:03:44 +02:00
Koen Kanters
a77e857868
Fix color_mode missing for lights with multiple endpoints. #7220
2021-05-04 22:29:23 +02:00
Koen Kanters
700e9c0c3a
Improve network scan stability. https://github.com/Koenkk/zigbee2mqtt/issues/7163
2021-05-03 20:04:54 +02:00
Koen Kanters
2fe085d409
Home Assistant: don't publish mocked values anymore replaced by unknown state in #7032
2021-05-01 17:01:59 +02:00
github-actions[bot]
a1983e2a32
Update zigbee-herdsman-converters to 14.0.132 ( #7277 )
...
* Update zigbee-herdsman-converters to 14.0.132
* Update configure.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-05-01 16:16:12 +02:00
Koen Kanters
e9a5ec1a58
Revert "Home Assistant: remove attributes from discovered entities. https://github.com/Koenkk/zigbee2mqtt/discussions/7249 "
...
This reverts commit 54ab0a3f98
.
2021-04-30 16:41:18 +02:00
Koen Kanters
ec97931ee4
Home Assistant: don't counter action: null payload.
2021-04-30 16:41:00 +02:00
Koen Kanters
54ab0a3f98
Home Assistant: remove attributes from discovered entities. https://github.com/Koenkk/zigbee2mqtt/discussions/7249
2021-04-29 19:43:54 +02:00
Koen Kanters
d61d6e28f2
Only attempt to configure end device when message is received from it. ( #7242 )
2021-04-29 18:18:51 +02:00
github-actions[bot]
cedbd1fd4c
Update zigbee-herdsman-converters to 14.0.126 ( #7240 )
...
* Update zigbee-herdsman-converters to 14.0.126
* Update bind.js
* Update networkMap.test.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-04-28 19:48:08 +02:00
Koen Kanters
f27e5efe0f
Fix Home Assistant "KeyError: 'color_mode'" for brightness only lights. https://github.com/Koenkk/zigbee2mqtt/issues/7220
2021-04-28 19:10:39 +02:00
Koen Kanters
7631c191c5
Home Assistant discovery: add color_mode for lights ( #7057 )
...
* Home Assistant add color_mode.
* Fix tests
* Fix coverage
2021-04-25 14:56:59 +02:00
Koen Kanters
366c5fcb4d
Fix state of members from group incorrect when toZigbee converter reads a member state. #7038
2021-04-22 20:28:54 +02:00
pklokke
95dd6c485c
Support binding of server clusters towards clients ( #7127 )
...
This allows binding of devices such as sleepy temperature sensors to heating actuators
2021-04-19 20:16:31 +02:00
Koen Kanters
dff4af94f5
Home Assistant: fix device_automation not published when homeassistant is in device options. https://github.com/Koenkk/zigbee2mqtt/issues/7074
2021-04-14 20:22:26 +02:00
Koen Kanters
8df8ef629e
Fix state of group not changing when state of specific endpoint is changed. https://github.com/Koenkk/zigbee2mqtt/issues/6905
2021-04-13 20:20:44 +02:00
Koen Kanters
5963f3b7f4
Home Assistant: set unknown values to null ( #7032 )
2021-04-12 16:59:41 +02:00
ptvo
e81ac11466
Allow to redefine device icon ( #7013 )
...
* Device-specific icon
* Updated tests.
* Updated test
* Updated tests
* Updated tests.
* Updated tests
Co-authored-by: ptvoinfo <xagga@ya.ru>
2021-04-09 19:35:44 +08:00
John Doe
42a4596be6
Add device icon from converter definition ( #7001 )
2021-04-08 22:57:55 +08:00
Koen Kanters
bf47282ea7
Fix optimistic group state property not postfixed with endpoint name when necessary. https://github.com/Koenkk/zigbee2mqtt/issues/6905
2021-04-04 21:00:24 +02:00
TiTo
0493cf60da
Fix no transaction in group and bind responses ( #6810 )
...
* Fix no transaction property in /group/members response
* Update groups.js
* Update group.test.js
* Update bind.js
* Update bind.test.js
Co-authored-by: Guillaume COURTOIS <guillaume.courtois@victeon.fr>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-03-24 19:17:49 +01:00
Koen Kanters
326823ee00
Add permit_join_timeout to bridge/info
2021-03-22 17:03:01 +01:00
Jorge Schrauwen
3541db891d
groups: also publish color_mode ( #6756 )
2021-03-19 17:48:56 +01:00
Koen Kanters
1acccc002a
Only publish changed properties for groups and its members. #6718
2021-03-17 21:44:29 +01:00
Franck Nijhof
a17f3b1c5a
Fix use of deprecated values in HA Cover platform discovery ( #6544 )
2021-03-17 16:48:50 +01:00
Koen Kanters
26d4f3d70b
Changes for https://github.com/Koenkk/zigbee2mqtt/pull/6669 .
2021-03-11 20:11:34 +01:00
Koen Kanters
377356b9c1
Fix no attribute property in configured_reportings when attribute is manufacturer specific. #6580
2021-03-06 14:51:07 +01:00
Jorge Schrauwen
e5a9c947aa
Home Assistant does not support 'sleep' as system_mode ( #6549 )
...
But 'sleep' is a valid ZCL system_mode, so far only the Viessmann TRV supports it.
We simply drop the exposed system_mode value to not confuse homeassistent.
2021-03-03 16:59:03 +01:00
John Doe
fb2ab44e3e
Set default update_check_interval to 1 day ( #6523 )
2021-03-02 19:22:39 +01:00
John Doe
4ca3aabf49
Add remove extension API ( #6489 )
...
* Add remove extension API
* Fix type
2021-02-28 13:44:54 +08:00
Koen Kanters
3768504480
Fix user extensions api topic
2021-02-23 19:27:30 +01:00
John Doe
2d0b18c17b
Simplify user extensions api ( #6420 )
...
* Simplify user extensions api
* Change structure
2021-02-23 21:00:45 +08:00
declanshanaghy
7f9dc04112
Customize icons for accelerometer axes ( #6355 )
...
* Publish Docker images to Github container registry. #6326
* Customize icons for accelerometer axes
* Remove fallback on '-' for unit_of_measurement
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-02-22 19:37:43 +01:00
John Doe
028792e5b4
Implement extension loading api ( #6378 )
...
* Implement extension loading api
* Fix frontend tests
* Implement saving and unloading extensions
* Save after loading
* Add tests
* Fix coverage
* Refactor frontent test calls
* Update controller.js
* Review fixes
* Update utils.js
* Rename list topic
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-02-22 21:29:58 +08:00
Koen Kanters
049deaf590
Change +- to ≈ for OTA update message. https://github.com/Koenkk/zigbee2mqtt/issues/6397
2021-02-21 20:47:00 +01:00
flatsiedatsie
9dd9f33b4a
OTA updates: add update_check_interval and disable_automatic_update_check options ( #6268 )
...
* OTA privacy enhancement
Adds the option to disallow device-initiated OTA update checks.
Currently these OTA update checks can be quite frequent, and essentially mean the device is indirectly able to ping a cloud server. In the EU it's wise to handle an IP address as personal information, and therefore it might be wise to not enable OTA checking by default. Ideally a user would agree to a privacy policy that clarifies things a bit first.
* Added default settings for OTA update management
* Set update interval in minutes
* OTA update settings
* Adds both settings for OTA updates control
* Update settings.schema.json
* Update settings.js
* Update otaUpdate.js
* Update otaUpdate.test.js
* Update bridge.test.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-02-14 18:20:32 +01:00
Andrew Ostroumov
1df52cc6e8
Prevent devices always being pinged at exactly the same time ( #6133 )
...
* Add availability lag of rand 10% from timeout
* Update availability.js
* Update utils.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-02-14 11:37:31 +01:00
Koen Kanters
1e37ba1271
Don't log no converter available for genBasic cluster. https://github.com/Koenkk/zigbee-herdsman-converters/issues/2237
2021-02-12 20:46:32 +01:00