Koen Kanters
60b9f6f6b2
Home Assistant discovery: add enums with only SET (e.g. selftest). https://github.com/Koenkk/zigbee2mqtt/issues/13532
2022-08-14 18:22:35 +02:00
Koen Kanters
c9b2a7f6d4
Revert "Publish device and bridge availability when Home Assistant comes online. https://github.com/Koenkk/zigbee2mqtt/issues/13382 "
...
This reverts commit 619d5232db .
2022-08-11 20:23:40 +02:00
Koen Kanters
6314b86d9b
Better fix for #13382
2022-08-11 20:23:19 +02:00
Koen Kanters
619d5232db
Publish device and bridge availability when Home Assistant comes online. https://github.com/Koenkk/zigbee2mqtt/issues/13382
2022-08-11 19:50:46 +02:00
Koen Kanters
da4a3b9a77
Fix exception when using group remove_all. https://github.com/Koenkk/zigbee2mqtt/issues/13484
2022-08-10 22:38:04 +02:00
wysiwyng
addb09275a
Add category and icon for flip_indicator_light Home Assistant discovery ( #13477 )
2022-08-10 16:57:31 +02:00
Koen Kanters
0aa29a0fab
Home Assistant discovery: always expose cover state. https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/issues/359
2022-08-09 17:01:22 +02:00
Koen Kanters
343ef7fd9f
Only republish retained messages when none are received. #9629
2022-07-25 19:37:33 +02:00
Koen Kanters
316daee49d
Republish retained messages when reconnected to MQTT server. #9629
2022-07-24 22:17:29 +02:00
Andrew Lamchenko
759c2f3f00
Add new clusters for bind ( #13214 )
...
* Add new clasters for bind
Add new clasters for bind
* Add new clasters for bind
Add new clasters for bind
2022-07-20 19:41:46 +02:00
Koen Kanters
d07b65a03d
Fix coverage
2022-07-17 22:14:02 +02:00
Koen Kanters
aabc010191
Log error stack on fromZigbee converter error. https://github.com/Koenkk/zigbee2mqtt/issues/13138
2022-07-17 22:03:24 +02:00
Koen Kanters
ca2186a9c5
Finally fix for https://github.com/Koenkk/zigbee2mqtt/issues/13080
2022-07-13 22:04:27 +02:00
Koen Kanters
994de20f49
Another attempt to fix https://github.com/Koenkk/zigbee2mqtt/issues/13080
2022-07-13 18:05:45 +02:00
Koen Kanters
c6d504a5df
Set device_class to temperature for local_temperature_calibration. https://github.com/Koenkk/zigbee2mqtt/issues/13080
2022-07-12 21:45:20 +02:00
Koen Kanters
420b34c909
Fix group and device states changing when cached states are published. https://github.com/Koenkk/zigbee2mqtt/issues/13028
2022-07-12 17:01:29 +02:00
Koen Kanters
440fc74368
Fix Home Assistant discovery error: expected NumberDeviceClass or one of 'temperature' for dictionary value @ data['device_class']. https://github.com/Koenkk/zigbee2mqtt/issues/13080
2022-07-11 17:44:08 +02:00
Jorge Schrauwen
a0255d0f2c
Always treat filtered_* as full matches ( #13083 )
...
* Revert "update tests to use regex ^$ anchors"
This reverts commit 3d9bc552e9 .
* utils: filterProperties should ensure full match
2022-07-11 17:24:34 +02:00
Koen Kanters
8af3ad5541
Fix crash when ZIGBEE2MQTT_CONFIG_ADVANCED_NETWORK_KEY environment variable is set to GENERATE. https://github.com/Koenkk/zigbee2mqtt/issues/12999
2022-07-08 16:58:23 +02:00
Jorge Schrauwen
db021e6711
Allow regexes for filtered_attributes, filtered_cache and filtered_optimistic options ( #13047 )
...
* Ensure filtered_attributes and filtered_optimistic are also regex
Bring filtered_attributes and filtered_optimistic in line with the newer filtered_cache.
All three of them are now regex matches instead of absolute matches.
* update tests to use regex ^$ anchors
* utils: add filterProperties
2022-07-06 17:07:22 +02:00
Jorge Schrauwen
dedbf336af
Add filtered_cache option ( #12988 )
...
* want a way to prevent attribute from being cached
* Update filtered_cache description to be more clear
* Fix emitStateChange was returning wrong payload in to parameter
* Directly get filtered_cache from entity and forgo parameter to State.set()
* Add tests to cover filtered_cache
* Update state.ts
* Update controller.test.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-07-02 20:33:04 +02:00
Andrew Lamchenko
bab764e2be
Binding to msRelativeHumidity ( #12877 )
...
* Binding to new clusters
Binding to new clusters. This is necessary for new EFEKTA devices.
* Update bind.ts
* Fix tests
Co-authored-by: nurikk <ainur@yojee.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-07-01 17:02:34 +02:00
Vladimir Vitkov
326c2aaa90
Allow to specify MQTT server in secrets ( #12904 )
...
* add server, pan_id, ext_pan_id to secrets
* fix tests
* clean secrets before every test run
* add interpolation of mqtt.server, advanced.pan_id, advanced.ext_pan_id and split mqtt.user, mqtt.pass requirement
* remove pan_id and ext_pan_id from secrets processing
2022-06-27 18:42:05 +02:00
RoboMagus
402081e39d
Fix EnvVar parsing of settings scheme with 'oneOf'. ( #12948 )
2022-06-26 16:16:44 +02:00
Koen Kanters
05309db92b
Fix crash when poll of bounded device fails. https://github.com/Koenkk/zigbee2mqtt/issues/12918
2022-06-26 16:14:21 +02:00
Koen Kanters
f2e953cf18
Add group off_state option ( #12868 )
2022-06-18 15:47:06 +02:00
Koen Kanters
f213729dcb
Remove Home Assistant away_mode_* discovery. https://github.com/Koenkk/zigbee2mqtt/issues/11738
2022-06-15 17:56:13 +02:00
rikroe
6df20010dd
Change HA hold_mode to preset_mode ( #12565 )
...
* Update homeassistant.ts
* Update homeassistant.test.js
* Update homeassistant.ts
* Update homeassistant.ts
* Updates
* Updates
* Updates
* Updates
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-06-15 17:40:44 +02:00
Koen Kanters
dd129830d3
Create herdsman backup before backup. https://github.com/Koenkk/zigbee2mqtt/pull/12797
2022-06-15 17:05:20 +02:00
Koen Kanters
83b490a968
Add zigbee2mqtt/bridge/request/backup ( #12797 )
...
* Add backup call
* Updates
2022-06-14 20:14:01 +02:00
Koen Kanters
8e2f0f613f
Send cached group state on startup and when Home Assistant comes online. https://github.com/Koenkk/zigbee2mqtt/issues/12693
2022-06-09 20:52:39 +02:00
Koen Kanters
03fdb0cb88
Fix Home Assistant rename creating duplicate entities. #12610
2022-06-01 18:57:02 +02:00
Koen Kanters
68035a1256
Fix restart not working ( #12629 )
2022-05-29 08:15:47 +00:00
Koen Kanters
d910c05e6e
Improve tests
2022-05-25 11:38:37 +02:00
github-actions[bot]
f71db6816a
Update zigbee-herdsman-converters to 14.0.525 ( #12585 )
...
* Update zigbee-herdsman-converters to 14.0.525
* Fix tests
* Ignore
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-05-24 18:27:17 +00:00
Koen Kanters
fd344a3017
Revert "Additional logging for https://github.com/Koenkk/zigbee2mqtt/issues/12432 "
...
This reverts commit 920b4924b0 .
2022-05-13 10:05:49 +02:00
Koen Kanters
920b4924b0
Additional logging for https://github.com/Koenkk/zigbee2mqtt/issues/12432
2022-05-11 17:22:48 +02:00
Koen Kanters
7f1f1497c6
Always return a device state
2022-05-08 09:58:30 +02:00
Koen Kanters
6278c86d02
Pass device options in global on event. https://github.com/Koenkk/zigbee2mqtt/commit/723dd8358f3cee0b90d624f27989a8bb587e25b0#comments
2022-05-07 14:40:25 +02:00
Jorge Schrauwen
723dd8358f
Pass device state to zhc onEvent ( #12407 )
...
* onEvent: want device state as argument
* onEvent: test should check deviceOptions and deviceState returns
* Update onEvent.ts
* Update onEvent.ts
* Fix
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-05-07 08:36:03 +00:00
Koen Kanters
d0530b8214
Don't allow friendly names to include control character. #12379
2022-05-04 21:00:29 +02:00
Koen Kanters
40ef638e0e
Fix null not allowed for Home Assistant device options. #12340
2022-05-03 19:39:30 +02:00
Alex Kay
6618872839
Add new config and diagnostic entities to HA ( #12353 )
2022-05-02 19:23:40 +02:00
Alex Kay
b977dd1140
Add battery2 for HA ( #12332 )
2022-05-02 14:20:45 +00:00
Koen Kanters
f7b484f24f
Log stack trace of "Failed to execute LQI" error. https://github.com/Koenkk/zigbee2mqtt/issues/11968
2022-04-26 20:02:18 +02:00
Koen Kanters
cf22dd60a0
Always respond to OTA request ( #12247 )
...
* Always respond to OTA request
* Improve
* Rename
2022-04-23 10:12:29 +02:00
John Doe
27bc646cf6
Add home assistant name to settings schema ( #12191 )
...
Co-authored-by: nurikk <ainur@yojee.com >
2022-04-16 10:27:41 +08:00
Míguel Ángel Mulero Martínez
8f5b26a2fb
Mark calibration, calibration_time and motor_reversal as config sensors ( #12146 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2022-04-13 19:37:41 +02:00
Koen Kanters
5d4268515c
Fix garage door status incorrect in Home Assistant. https://github.com/Koenkk/zigbee2mqtt/issues/12038
2022-04-03 21:09:26 +02:00
Koen Kanters
1b0fbf556b
Fix invalid Home Assistant device class for garage_door_contact. #12038
2022-04-02 19:31:32 +02:00