Koen Kanters
b2cd519e0b
Allow disabling discovery of device_automation. https://github.com/Koenkk/zigbee2mqtt/issues/5597
2021-01-08 20:23:25 +01:00
Koen Kanters
2cf9657bd4
Fix disabling discovery of specific Home Assistant sensor not working. #5597
2021-01-07 18:56:39 +01:00
github-actions[bot]
7c7df1426b
Update zigbee-herdsman-converters to 13.0.36 ( #5429 )
...
* Update zigbee-herdsman-converters to 13.0.36
* Update homeassistant.test.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-12-28 14:05:58 +01:00
Koen Kanters
2134966f6e
Home Assistant: separate discovered name by space instead of _ when friendly_name has no _. #5226
2020-12-08 19:41:34 +01:00
John Doe
743c701ac5
Fix disabling HA discovery after device was discovered ( #5200 )
2020-12-08 16:45:31 +01:00
github-actions[bot]
47d26c8887
Update zigbee-herdsman-converters to 13.0.12 ( #5197 )
...
* Update zigbee-herdsman-converters to 13.0.12
* Update homeassistant.test.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-12-04 16:58:33 +01:00
Koen Kanters
9ff232fbb2
Enable new api by default. https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-12-02 20:38:48 +01:00
Koen Kanters
9ee35f6933
Home Assistant: don't include object_id in name if same as type (e.g. light.bulb_light -> light.bulb). #5054
2020-11-23 19:01:16 +01:00
John Doe
153b82ca77
Fix loading external convertersThis fixes Error: Cannot find module 'zigbee-herdsman-converters'Caused by requiring converter from folder which is located outside z2m sources folder (ZIGBEE2MQTT_DATA) ( #5027 )
2020-11-20 22:22:08 +08:00
Koen Kanters
b5436d4b93
Fix devices marked unavailable in Home Assistant after restart. https://github.com/Koenkk/zigbee2mqtt/issues/4912
2020-11-13 19:45:27 +01:00
github-actions[bot]
431c7f7327
Update zigbee-herdsman-converters to 12.0.232 ( #4913 )
...
* Update zigbee-herdsman-converters to 12.0.232
* Update homeassistant.test.js
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-11-09 17:46:02 +01:00
Koen Kanters
c27e66b618
Changes for exposes.
2020-11-04 22:33:00 +01:00
Koen Kanters
b2049b449b
Home Assistant discovery: use availability instead of availability_topic. https://github.com/Koenkk/zigbee2mqtt/issues/775
2020-10-27 21:49:44 +01:00
Koen Kanters
63044421fd
Get linkquality from herdsman instead of mesage. https://github.com/Koenkk/zigbee2mqtt/issues/4758
2020-10-24 17:15:46 +02:00
Marco Massarotto
e63a2ac7f6
Allow redefine autodiscovery type ( #4647 )
...
* allow to redefine entity type and id in homeassistant autodiscovery
* Update homeassistant.test.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-10-13 20:33:48 +02:00
Koen Kanters
a982acc1ca
Fix tests after https://github.com/Koenkk/zigbee2mqtt/pull/4510
2020-10-06 21:42:05 +02:00
Koen Kanters
50226d2c84
Exposes for lights. #4466 ( #4516 )
...
* Add dumpHomeAssistantMapping
* Add exposes for lights. https://github.com/Koenkk/zigbee2mqtt/issues/4466
* Updates
* Updates
2020-10-01 18:33:59 +02:00
Koen Kanters
49e621123a
Fix Home Assistation device trigger not working after rename. #4452
2020-09-25 19:48:30 +02:00
Koen Kanters
e286a66cea
Don't rediscover Home Assistant device_automation (triggers). #4452
2020-09-25 18:47:28 +02:00
Koen Kanters
48cf4728bb
Clear outdated Home Assistant device_automation discoveries. #4452
2020-09-25 18:20:27 +02:00
Koen Kanters
d386da6366
Fixes for 4f6797c365
2020-09-25 17:44:24 +02:00
qm3ster
f26ddd93ff
Replace "problematic" depenencies
...
Also one comment typo lol
`node-static` was abandoned and vulnerable, which might matter since
it's used in production usage and not development.
replaced with popular `serve-static` + `finalhandler`
`json-stable-stringify` depended on an unneeded and unlicensed
polyfill for JSON builtin.
2020-09-25 15:58:45 +02:00
Koen Kanters
778665b35b
Don't rename entity ID in Home Assistant by default. #4095
2020-09-04 21:13:40 +02:00
Koen Kanters
d980b97413
Fix Home Assistant automations based on click event not working. #4168
2020-08-23 22:58:07 +02:00
mgrom
54f164cc21
fixes related to #4070 ( #4132 )
...
* fix
* eslint fix
* don't use temp topic when low and high temp used
* fix for temp high
* Add tests
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-08-23 22:36:30 +02:00
Koen Kanters
9148977b39
Rename device entity_id in Home Assistant when changing friendly_name. #4096
2020-08-17 20:19:44 +02:00
Koen Kanters
5f75c9c9f8
Clear outdated Home Assistant configs
2020-08-17 17:24:57 +02:00
Koen Kanters
9774031169
Sort logged and published JSON objects alphabetically. #4091
2020-08-13 20:00:35 +02:00
Koen Kanters
ff2fe2b358
Separate Home Assisant name by space instead of _ when friendlyName contains space. #4048
2020-08-08 13:54:39 +02:00
Koen Kanters
9a6397fe75
Make Zigbee2MQTT naming consistent
2020-08-01 10:36:20 +02:00
Koen Kanters
7d27e6db69
Changes for zigbee-herdsman-converters 12.0.150
2020-07-26 14:19:33 +02:00
Koen Kanters
00f836fce6
Don't discover sensor_click when legacy: false is set. https://github.com/Koenkk/zigbee-herdsman-converters/issues/1393
2020-07-24 22:53:10 +02:00
Koen Kanters
a845d35b8e
Update Birth & Will Topic for Home Assistant #3918
2020-07-16 23:16:59 +02:00
Koen Kanters
4900a2501d
Support Home Assistant configuration for external converters. https://github.com/Koenkk/zigbee-herdsman-converters/issues/1343
2020-07-03 21:20:22 +02:00
Crowbar Z
51a6b9226d
Remove precision rounding from HA MQTT autodiscovery template ( #3636 )
...
* Remove precision rounding from HA MQTT autodiscovery template
Precision rounding should be handled in converters and made available to
all MQTT consumers (not just HA)
* Update homeassistant.test.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-05-29 23:13:09 +02:00
Koen Kanters
07dc837b76
Refactor receive
2020-04-15 22:34:59 +02:00
Koen Kanters
9da1a35bbd
Refactor.
2020-04-11 20:34:50 +02:00
Kiall Mac Innes
1abb5b6a48
Fix conflict between illuminance and illuminance_lux ( #3275 )
...
* Fix conflict between illuminance and illuminance_lux
On certain devices, e.g. GZCGQ01LM, 9290012607, 9290019758, TERNCY-PP01 etc, both
cfg.sensor_illuminance and cfg.sensor_illuminance_lux are applied. As both of these
had the same object_id, only one would show in Home Assistant. Oddly, a mix of both
would apply - e.g. I would get the illuminance value, with the illuminance_lux unit
of 'lx'.
* Add a test for duplicated type/object_id in HA discovery configs
2020-04-03 11:12:58 +02:00
Koen Kanters
a30abba973
Make sure that there is always an update_available value for Home Assistant. https://github.com/Koenkk/zigbee2mqtt/issues/3146
2020-03-20 17:50:28 +01:00
Koen Kanters
4d3bbce687
Implement lightWithPostfix Home Assistant configuration. #3003
2020-03-15 09:38:39 +01:00
Kiall Mac Innes
67b4bcf815
Update HA Discovery Info on Rename ( #3040 )
...
* Update HA Discovery Info on Rename
Update HA discovery info when a device is renamed. Adds a new deviceRenamed
event to the event bus, allowing the HA extension to react to the rename
Fixes #2440
* Handle Groups correctly wrt HA discovery data refresh
* Cleanup group handling
* Cleanup group handling
2020-03-04 12:55:08 +01:00
Koen Kanters
9f1b8cf214
Allow to disable homeassistant legacy triggers. #3033
2020-03-01 15:55:20 +01:00
Koen Kanters
ed75c85b69
Implement Home Assistant MQTT device trigger. #3033
2020-02-29 18:07:15 +01:00
Koen Kanters
58d987b523
Implement update_available attribute and discover Home Assistant sensor. #2948
2020-02-16 16:00:15 +01:00
Koen Kanters
61a3f0e839
Update converters and fix tests for real.
2020-01-26 21:38:04 +01:00
Koen Kanters
b58cbd4883
Fix tests.
2020-01-26 19:57:15 +01:00
Koen Kanters
cb0b0b5af9
Clear Home Assistant MQTT discovery on device remove. #2678
2020-01-09 21:47:19 +01:00
Koen Kanters
ef16fcd505
Fix tests.
2019-11-20 17:35:49 +01:00
Koen Kanters
997c5d3e44
Allow to disable Home Assistant device discovery. https://github.com/Koenkk/zigbee2mqtt/issues/2089
2019-10-07 21:58:35 +02:00
Koen Kanters
cfefaeb73c
Validate settings on startup with JSON schema.
2019-09-25 12:08:39 +02:00