mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 18:39:09 -07:00
Log info after changing entity option (#6063)
This commit is contained in:
parent
f042b9df2c
commit
7c1e2c1bbf
@ -334,6 +334,9 @@ class Bridge extends Extension {
|
||||
const oldOptions = cleanup(entity.settings);
|
||||
const newOptions = cleanup(settings.getEntity(ID));
|
||||
await this.publishInfo();
|
||||
|
||||
logger.info(`Changed config for ${entityType} ${ID}`);
|
||||
|
||||
return utils.getResponse(message, {from: oldOptions, to: newOptions, id: ID}, null);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user