* - When sent a empty payload to bridge/config/devices/get , publish to
'bridge/config/devices'
- For bridge/config/devices & bridge/config/devices/get only ever
publish to the corresponding topic if a empty payload is sent.
- Make sure devicesPublish doesn't treat messages to
bridge/config/devices/get as a zigbee device.
* fix eslinting errors
* Update bridgeConfig.js
* 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
* 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
* add support for local ISO8601 timestamp format
added local ISO8601 timestamp format for local rather than UTC-based timestamps
ISO8601 = 2019-03-01T15:32:45.941+0000
ISO8601_Local = 2019-03-01T16:32:45.941+0100 (for TZ GMT+1)
* fixed indentation
* tabs to spaces
* comply with Travis
* comply with Travis once again
* Removed spaces to make Travis happy
* updates
* Always read after write for devices that require it.
Devices with readAfterWriteTime set, even if it's 0, will get their
state read after write because those devices don't automatically
report it themselves.
Devices that are capable of reporting but don't do it by default
should have `report: true` set in the device-specific config and
we won't read after write.
* Fix tests