Empty response when changing service (#17091)

This commit is contained in:
Bram Kragten 2023-06-29 10:31:16 +02:00 committed by GitHub
parent b96ad65f48
commit 6cc207752f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -419,6 +419,7 @@ class HaPanelDevService extends LitElement {
private _serviceChanged(ev) {
ev.stopPropagation();
this._serviceData = { service: ev.detail.value || "", data: {} };
this._response = undefined;
this._yamlEditor?.setValue(this._serviceData);
this._checkUiSupported();
}