mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 21:37:21 +00:00
Add "subscribed to log" message on Z-Wave JS log subscription (#9062)
This commit is contained in:
parent
00d46424a3
commit
7b8cb16c12
@ -50,6 +50,11 @@ class ZWaveJSLogs extends SubscribeMixin(LitElement) {
|
|||||||
} else {
|
} else {
|
||||||
this._textarea!.value += `${log.message}\n`;
|
this._textarea!.value += `${log.message}\n`;
|
||||||
}
|
}
|
||||||
|
}).then((unsub) => {
|
||||||
|
this._textarea!.value += `${this.hass.localize(
|
||||||
|
"ui.panel.config.zwave_js.logs.subscribed_to_logs"
|
||||||
|
)}\n`;
|
||||||
|
return unsub;
|
||||||
}),
|
}),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -2649,7 +2649,8 @@
|
|||||||
},
|
},
|
||||||
"logs": {
|
"logs": {
|
||||||
"title": "Z-Wave JS Logs",
|
"title": "Z-Wave JS Logs",
|
||||||
"log_level": "Log Level"
|
"log_level": "Log Level",
|
||||||
|
"subscribed_to_logs": "Subscribed to Z-Wave JS Log Messages..."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user