Robert Alexa
d07333c70d
Home Assistant discover number selection entities for numeric values supporting set ( #8640 )
...
* Add support for numeric that allows SET access as number entities
* Remove redundant comment
* gitignore intellij idea folder
* Expose both entities to avoid breaking changes
* Improve comment
* Update homeassistant.js
* Update homeassistant.test.js
* Update homeassistant.test.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-09-06 17:38:34 +02:00
Koen Kanters
1a514b824f
Home Assistant remove deprecated last_reset_topic and change state_class to total_increasing for energy. https://github.com/Koenkk/zigbee2mqtt/issues/8604
2021-09-03 21:40:59 +02:00
Koen Kanters
cf019195af
Fix tests failing
2021-09-03 16:35:58 +02:00
Koen Kanters
31327f7e1b
Fix "Cannot read property 'version' of undefined". https://github.com/Koenkk/zigbee2mqtt/pull/8567
2021-09-02 20:18:13 +02:00
Koen Kanters
4125ae0888
TypeScript refactoring ( #8567 )
...
* Updates
* Updates
* Updates
* Rename
* Updates
* updates
* Updates
* Updates
2021-09-01 20:39:17 +02:00
Koen Kanters
17b2315d89
Enable Home Assistant availability_mode all only when new availability feature is enabled. #6281
2021-08-28 16:20:02 +02:00
Koen Kanters
a9e4745075
More availability fixes. #6281
2021-08-28 14:42:04 +02:00
Koen Kanters
fd7351ff61
Small availability fixes. #6281
2021-08-28 14:06:47 +02:00
Koen Kanters
22430631d2
Honour legacy availability options and retrieve state when device reconnects #6281 ( #8545 )
...
* Availability
* Updates
2021-08-28 10:08:09 +02:00
Koen Kanters
3774a78134
Migrate utils to typescript.
2021-08-25 20:11:55 +02:00
Koen Kanters
5b6b4c1736
Availability stop pining when device leaves. #6281
2021-08-25 19:14:48 +02:00
Koen Kanters
d78bf2a3d2
Fix devices missing from UI after repair. https://github.com/nurikk/z2m-frontend/issues/746
2021-08-24 20:25:31 +02:00
Koen Kanters
9129f95c39
Add availability_mode for Home Assistant and publish availability only when its enabled for that device. #6281
2021-08-23 19:24:10 +02:00
Koen Kanters
5e2e8f3eb3
Don't discover entity specific availability topic for groups. #6281
2021-08-23 17:04:43 +02:00
Koen Kanters
d7ae59886e
Revert "Add availability_mode all for Home Assistant discovery. #6281 "
...
This reverts commit d07f1dab31 .
2021-08-23 08:19:51 +02:00
Koen Kanters
d07f1dab31
Add availability_mode all for Home Assistant discovery. #6281
2021-08-22 22:41:27 +02:00
Koen Kanters
9e8dcb2784
Allow to disable/enable availability for device and allow to configure timeout. #6281
2021-08-22 22:30:32 +02:00
Jorge Schrauwen
c7bf3324dc
Don't publish of msg is empty after filtering ( #8448 )
2021-08-21 14:00:42 +02:00
Koen Kanters
94cfad445b
Debug log when device requests OTA. https://github.com/Koenkk/zigbee2mqtt/issues/4561
2021-08-19 20:36:31 +02:00
Koen Kanters
f9451ffe22
Ping 2 times when device is unavailable where second attempt has recovery enabled. #6281
2021-08-18 21:22:06 +02:00
Franck Nijhof
c93b9300da
Add Home Assistant device classes for air quality sensors ( #8399 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-08-17 17:02:38 +02:00
Koen Kanters
486333d342
Fix typo. https://github.com/Koenkk/zigbee2mqtt/commit/773de25657f52b24a33c49c5565f6881ff611f7d
2021-08-17 16:45:20 +02:00
Koen Kanters
773de25657
Attempt 3 pings before marking device as unavailable and 1 when device is already unavailable. #6281
2021-08-16 21:16:52 +02:00
Koen Kanters
fe24391de8
Fix availability sleep duration. #6281
2021-08-15 22:15:38 +02:00
Koen Kanters
05deca6261
Reduce availability verbosity. #6281
2021-08-15 21:42:24 +02:00
Koen Kanters
755e8d3866
Ping twice before marking device as unavailable and wait 2 seconds between pings. #6281
2021-08-15 21:31:28 +02:00
z-x-f
a8545d08b6
Add usb to endpoint names ( #8370 )
...
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-08-15 20:27:43 +02:00
Koen Kanters
c18a698e6b
Availability refactor part 1 ( #8243 )
...
* Initial
* Updates
* update
* Updates
* Updates
* Updates
2021-08-14 16:04:03 +02:00
Koen Kanters
17dc22fdb0
Move source map install to index.js
2021-08-14 09:59:31 +02:00
Koen Kanters
a41c00faea
Fix Home Assistant discovery for Hive SLR2(b). https://github.com/Koenkk/zigbee2mqtt/issues/7903
2021-08-12 16:55:47 +02:00
Koen Kanters
5c8fa5cb48
Log error stack on OTA update exception. https://github.com/Koenkk/zigbee2mqtt/issues/8297
2021-08-10 20:39:56 +02:00
github-actions[bot]
bee7474b8f
Update dependencies ( #8298 )
...
* Update dependencies
* Update frontend.js
* Update frontend.js
* Update frontend.test.js
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com >
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-08-10 19:12:13 +02:00
Koen Kanters
fab62e10fe
Fix removing device from blocklist in frontend not working. https://github.com/Koenkk/zigbee2mqtt/issues/8266
2021-08-07 13:00:22 +02:00
Franck Nijhof
be2689ee04
Add support for Home Assistant energy statistics ( #8187 )
...
* Add support for Home Assistant energy statistics
* Correct timestamp
* darn quotes
2021-07-31 16:30:42 +02:00
Koen Kanters
26ade49513
Fix ".flat is not a function" error. https://github.com/Koenkk/zigbee2mqtt/issues/8137
2021-07-27 18:39:39 +02:00
Koen Kanters
6e84c149fe
Fix typos
2021-07-24 16:13:11 +02:00
Koen Kanters
236b751bd1
Fix some cacheable not being cached. https://github.com/Koenkk/zigbee-herdsman-converters/pull/2814
2021-07-24 15:12:43 +02:00
Koen Kanters
f571938efc
Migrate settings.js to TypeScript.
2021-07-21 22:14:33 +02:00
Koen Kanters
7b65dc631b
Enable TypeScript ( #8074 )
...
* Enable Typescript
* Fix tests
* Fix tests again
* Automatically (re)build
* Updates
* Updates
* Update shrinkwrap
* Enable sourcemaps
2021-07-21 19:35:14 +02:00
Koen Kanters
321b34721f
Clear outdated Home Assistant discovery when topic does not match. https://github.com/Koenkk/zigbee2mqtt/issues/8079
2021-07-20 18:14:56 +02:00
Franck Nijhof
7675dd1bcb
Handle enabled by default for enum types / select|sensor entities ( #8087 )
...
* Disable power_on_behavior select entities by default
* Populate a bunch more
* Restore text type action lookup, it is used for DIY devices
* Remove stale comment
2021-07-20 16:53:49 +02:00
Koen Kanters
51f4348e41
Fix adding endpoint to groups without endpoint name failing. #8027
2021-07-17 20:26:46 +02:00
Koen Kanters
f8927a94ec
Home Assistant groups use color temperature range supported by all bulbs. https://github.com/Koenkk/zigbee2mqtt/issues/8032
2021-07-16 19:09:29 +02:00
Koen Kanters
a1c0bf2a85
Log stack on group add failure. #8027
2021-07-15 19:52:18 +02:00
Koen Kanters
515599ad13
Discover color temperature range for Home Assistant groups. https://github.com/Koenkk/zigbee2mqtt/issues/8032
2021-07-14 19:47:02 +02:00
Koen Kanters
a2bf9c5d01
Log stack on group add failure. https://github.com/Koenkk/zigbee2mqtt/issues/8027
2021-07-14 19:13:06 +02:00
Ilya Kirov
c4936da726
Expose manufacturer in frontend ( #8030 )
2021-07-13 19:22:44 +02:00
Yip Rui Fung
9edbe5a2a8
Discover enum exposes as select entities in Home Assistant ( #7980 )
...
* Read/write exposed enums are now discovered as MQTT Select entities in home assistant 2021.7.
* Read/Write enums are now exposed as a Select in addition to the existing sensor, for compatibility.
Also, the sensor will be disabled by default for new entities, shouldn't effect existing installations.
* Add support for returning multiple config from a single call to exposeToConfig.
* Update homeassistant.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com >
2021-07-09 19:37:32 +02:00
Koen Kanters
679d231743
Use unique identifier for Home Assistant group. https://github.com/Koenkk/zigbee2mqtt/issues/7918
2021-07-07 21:07:40 +02:00
Koen Kanters
8c929cf94b
Fix Home Assistant discovery clearing all group discoveries. https://github.com/Koenkk/zigbee2mqtt/issues/7918
2021-07-06 20:14:39 +02:00