mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 04:16:34 +00:00
Fix non optional response service, variable field disabled (#17171)
This commit is contained in:
parent
507f22a5cd
commit
ad8d3c7fa8
@ -152,7 +152,9 @@ export class HaServiceAction extends LitElement implements ActionElement {
|
||||
.required=${!this.hass.services[domain][service].response!
|
||||
.optional}
|
||||
.disabled=${this.disabled ||
|
||||
(!this._action.response_variable && !this._responseChecked)}
|
||||
(this.hass.services[domain][service].response!.optional &&
|
||||
!this._action.response_variable &&
|
||||
!this._responseChecked)}
|
||||
@change=${this._responseVariableChanged}
|
||||
></ha-textfield>
|
||||
</ha-settings-row>`
|
||||
|
Loading…
x
Reference in New Issue
Block a user