mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-23 22:32:40 +00:00
Improve publish logging. https://github.com/Koenkk/zigbee2mqtt/issues/1958
This commit is contained in:
1 parent
8f4cf5e520
commit
09743f13f9
1 file changed
+1
-1
@@ -148,7 +148,7 @@ class EntityPublish {
|
||||
|
||||
try {
|
||||
if (topic.type === 'set' && converter && converter.convertSet) {
|
||||
logger.debug(`Publishing set '${topic.type}' '${key}' to '${entity.name}'`);
|
||||
logger.debug(`Publishing '${topic.type}' '${key}' to '${entity.name}'`);
|
||||
const result = await converter.convertSet(target, key, value, meta);
|
||||
if (result && result.hasOwnProperty('state')) {
|
||||
const msg = result.state;
|
||||
|
||||
Reference in new issue
Block a user