Koen Kanters
d83085ea7f
Zigbee-herdsman ( #1945 )
...
* Update zigbee-herdsman and zigbee-shepherd-converters.
* Force Aqara S2 Lock endvices (#1764 )
* Start on zigbee-herdsman controller refactor.
* More updates.
* Cleanup zapp.
* updates.
* Propagate adapter disconnected event.
* Updates.
* Initial refactor to zigbee-herdsman.
* Refactor deviceReceive to zigbee-herdsman.
* Rename
* Refactor deviceConfigure.
* Finish bridge config.
* Refactor availability.
* Active homeassistant extension and more refactors.
* Refactor groups.
* Enable soft reset.
* Activate group membership
* Start on tests.
* Enable reporting.
* Add more controller tests.
* Add more tests
* Fix linting error.
* Data en deviceReceive tests.
* Move to zigbee-herdsman-converters.
* More device publish tests.
* Cleanup dependencies.
* Bring device publish coverage to 100.
* Bring home assistant test coverage to 100.
* Device configure tests.
* Attempt to fix tests.
* Another attempt.
* Another one.
* Another one.
* Another.
* Add wait.
* Longer wait.
* Debug.
* Update dependencies.
* Another.
* Begin on availability tests.
* Improve availability tests.
* Complete deviceAvailability tests.
* Device bind tests.
* More tests.
* Begin networkmap refactors.
* start on networkmap tests.
* Network map tests.
* Add utils tests.
* Logger tests.
* Settings and logger tests.
* Ignore some stuff for coverage and add todos.
* Add remaining missing tests.
* Enforce 100% test coverage.
* Start on groups test and refactor entityPublish to resolveEntity
* Remove joinPathStorage, not used anymore as group information is stored into zigbee-herdsman database.
* Fix linting issues.
* Improve tests.
* Add groups.
* fix group membership.
* Group: log names.
* Convert MQTT message to string by default.
* Fix group name.
* Updates.
* Revert configuration.yaml.
* Add new line.
* Fixes.
* Updates.
* Fix tests.
* Ignore soft reset extension.
2019-09-09 19:48:09 +02:00
Koen Kanters
304b2efa48
Don’t publish emtpy messages. #1599
2019-06-19 18:11:35 +02:00
clockbrain
b28da0265e
Include last seen in device boxes on graphviz map ( #1633 )
...
* Include last seen in device boxes on graphviz map
* Refactor
* Fix test cases
* Bind
* Refactor last seen label construction
* style fix
2019-06-17 21:28:27 +02:00
rachetfoot
caff94559e
Iterate objects recursively and support array output ( #1573 )
...
* Iterate objects recursively and support array output
* Fix eslint errors
* Improve array handling and expand related test
* Improve tests and array support, add special case for color attributes
2019-05-28 20:01:46 +02:00
Koen Kanters
c6617fb7d9
Always keep state. https://github.com/Koenkk/zigbee2mqtt/issues/1489
2019-05-02 20:14:44 +02:00
Koen Kanters
50986591c1
Fix tests.
2019-03-28 21:08:18 +01:00
Oli
1b066d9f59
extend controller.js function getDeviceInfoForMqtt ( #1274 )
...
* Add Discord channel. https://github.com/Koenkk/zigbee2mqtt.io/issues/31
* extend controller.js function getDeviceInfoForMqtt
extend controller.js with
``
zclVersion,
appVersion,
stackVersion,
hwVersion,
swBuildId,
``
* Rework #2
Only Publish hwVersion and swBuildId as this seems to be valid as posible.
Map with default option 'unknown' to be in a good way.
* Fix tests
* Update README.md
2019-03-19 20:29:41 +01:00
qm3ster
a978b26001
Use toStrictEqual
for objects
...
Not sure why `jest-codemods` didn't do this.
Changed some primitives to use `toBe`.
2019-03-10 13:32:36 +01:00
qm3ster
df1825d65e
Use mockReturnValue
instead of mockImplementation
where possible
2019-03-10 13:32:36 +01:00
qm3ster
84a5277d45
Replace sinon
with jest
builtins
2019-03-10 13:32:36 +01:00
qm3ster
acbab01b7e
Apply jest-codemods
...
`chai` ELIMINATED
2019-03-10 13:32:36 +01:00
Mihal Malostanidis
bb6c226d55
Test improvements ( #1207 )
...
* Add missing `zcl-id` dependency
* Improve devicePublish test
Now passes in both mocha and jest
Each test now waits for all publishes, such as readbacks,
and asserts their number.
Replaced `calledOnce` and such with numeric assertion,
for a more informative error message.
* Use sinon default sandbox
* Take assert out of chai
Improves clutter, but also `jest-codemods` also makes use of this.
* Replace proxyquire with simple cache delete
* Reduce shared mutable state in settings.test
2019-03-08 16:56:53 +01:00
Koen Kanters
6427da244f
Implement attribute output. https://github.com/Koenkk/zigbee2mqtt/issues/493
2019-03-04 18:13:36 +01:00
Koen Kanters
c9c599b60b
Refactor publishDeviceState to publishEntityState (for future group support).
2019-02-04 18:36:49 +01:00
Laurent
7cd30a3a05
configurable last_seen ( #874 )
...
* configurable last_seen
* Refactor last_seen.
2019-01-18 20:31:55 +01:00
Gergely Markics
5d3461c4c6
Add the timestamp of last received zigbee message visible in HASS ( #739 )
...
* Add timestamp on receiving message from Zigbee
Add last_message to the payload
* Discovery on HASS restart and last_message attribute added
- On restarting Home Assistant, resending device discovery information
- Add timestamp on receiving message from Zigbee
* Add option: add_timestamp in settings
* Add option: add_timestamp in settings
* Add option: add_timestamp in settings
* typo
* Update homeassistant.js
* Update homeassistant.js
* Update homeassistant.js
* Update deviceReceive.js
* Update deviceReceive.js
* Update homeassistant.js
* Update settings.js
* Update deviceReceive.js
* Update deviceReceive.js
* Update deviceReceive.js
* Update deviceReceive.js
* Fix tests
* Fix lint
* Fix lint
2018-12-26 17:33:39 +01:00
Koenkk
65f23171e6
Update zigbee-shepherd-converters to 6.0.4
2018-12-06 21:27:41 +01:00
Koenkk
698b40554e
Improve tests.
2018-12-06 21:27:41 +01:00