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
github-actions[bot]
d67649e458
Update dependencies ( #7956 )
...
* Update dependencies
* Update dependencies
* updates
* update
Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-07-05 22:12:50 +02:00
Koen Kanters
a76c13c461
Make tests compatible with Jest 27
2021-07-05 20:46:53 +02:00
Colin McCambridge
67391615d9
Update to new Home Assistant MQTT Fan discovery ( #7359 )
...
* Update to new Home Assistant MQTT Fan discovery
- Support 3 generic speeds plus presets.
* Customize Home Assistant discovery for 99432
* Revert "Update homeassistant.js"
This reverts commit 87b0a93c7a43244a58741c72cb8dabc58e1dc87e.
* Fix
* fix
* u
* Update homeassistant.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-07-04 20:30:33 +02:00
Koen Kanters
96657e1a7d
Update last_seen for all received Zigbee messages (not only handled ones). https://github.com/Koenkk/zigbee2mqtt/issues/7423
2021-07-03 17:40:22 +02:00
Koen Kanters
fe1aa084fb
Only use converters of group members. https://github.com/Koenkk/zigbee2mqtt/issues/7922
2021-07-02 21:01:58 +02:00
Koen Kanters
cd1a4573b1
Fix Home Assistant group discovery collision between different Zigbee2MQTT instances. https://github.com/Koenkk/zigbee2mqtt/issues/7918
2021-07-02 20:21:18 +02:00
Koen Kanters
1985e24517
Postfix all properties with endpoint name. https://github.com/Koenkk/zigbee-herdsman-converters/pull/2735
2021-07-01 19:59:52 +02:00
Koen Kanters
1587dc7b84
Add additional debug logging for OTA updates. https://github.com/Koenkk/zigbee2mqtt/issues/3997
2021-06-26 17:21:48 +02:00
Koen Kanters
c27c300324
Combine published state of /set command into one message. https://github.com/Koenkk/zigbee2mqtt/issues/7854
2021-06-23 16:33:34 +02:00
Koen Kanters
7b7f511dc7
Fix non supported color_mode and color properties being published for group members. https://github.com/Koenkk/zigbee2mqtt/issues/7220 https://github.com/Koenkk/zigbee2mqtt/issues/7736
2021-06-22 22:45:12 +02:00
Koen Kanters
0c45812c69
Fix frontend not working when MQTT broker is offline. https://github.com/nurikk/z2m-frontend/issues/589
2021-06-22 17:03:06 +02:00
Koen Kanters
91c16812df
Home Assistant: enable expose binary as switch for boolean values. https://github.com/Koenkk/zigbee2mqtt/issues/7797
2021-06-18 14:45:56 +02:00
Koen Kanters
8dc7ad8dcc
Home Assistant group discovery #2410 ( #7672 )
...
* Initial
* done
2021-06-16 22:48:48 +02:00
Koen Kanters
ce311c93b1
Home Assistant: disable expose binary as switch for boolean values. https://github.com/Koenkk/zigbee2mqtt/issues/7797
2021-06-16 17:20:11 +02:00
Koen Kanters
7f995e964d
Fix "Cannot read property 'group' of null" exception on "request/group/members/remove_all". https://github.com/Koenkk/zigbee2mqtt/issues/7785
2021-06-14 19:12:24 +02:00
Robert Alexa
8dab33dee9
Home Assistant: expose binary with SET access as switch ( #7760 )
...
* Add support for binary attributes with SET access - discover as switch in HA
* Code linting
* Update npm-shrinkwrap.json
* Update homeassistant.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2021-06-12 19:05:13 +02:00
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
Koen Kanters
7b13b2d213
Improve 0401a13d5d
2021-06-07 09:54:33 +02:00
Koen Kanters
0401a13d5d
Disable legacy options on new network start.
2021-06-07 09:46:10 +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
e1bc0b53a2
Update title/description for filtered_attributes and filtired_optimistic ( #7643 )
...
* Update title/description for filtered_attributes and filtired_optimistic
The way the frontend displays it is a bit confusing, this should hopefully clear that up.
* Lint
2021-05-30 17:27:23 +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
John Doe
fb7be8684f
Fix json schema default values and examples ( #7426 )
2021-05-11 09:25:55 +08:00
Koen Kanters
e6b317b762
Pass disableLED option to herdsman
2021-05-08 15:30:57 +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
febcb2b1c7
Set default for adapter to auto in schema. https://github.com/nurikk/z2m-frontend/issues/449
2021-05-05 19:50:59 +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
504917bfa6
Fix device not removed from group in configuration.yaml upon device removal. https://github.com/Koenkk/zigbee2mqtt/issues/7326
2021-05-04 21:06:00 +02:00
Koen Kanters
37f773a5ee
Add auto adapter type.
2021-05-04 20:04:21 +02:00
Koen Kanters
a35faa9554
Allow null values for serial.adapter. https://github.com/nurikk/z2m-frontend/issues/449
2021-05-03 20:44:33 +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