mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 07:16:39 +00:00
parent
82ad5c103d
commit
d57cf93580
@ -213,12 +213,13 @@ class HaAutomationPicker extends LitElement {
|
|||||||
.label="${this.hass.localize(
|
.label="${this.hass.localize(
|
||||||
"ui.panel.config.automation.picker.edit_automation"
|
"ui.panel.config.automation.picker.edit_automation"
|
||||||
)}"
|
)}"
|
||||||
><ha-svg-icon .path=${
|
>
|
||||||
automation.attributes.id ? mdiPencil : mdiPencilOff
|
<ha-svg-icon
|
||||||
}></ha-svg-icon>
|
.path=${automation.attributes.id ? mdiPencil : mdiPencilOff}
|
||||||
|
></ha-svg-icon>
|
||||||
|
</mwc-icon-button>
|
||||||
</a>
|
</a>
|
||||||
${
|
${!automation.attributes.id
|
||||||
!automation.attributes.id
|
|
||||||
? html`
|
? html`
|
||||||
<paper-tooltip animation-delay="0" position="left">
|
<paper-tooltip animation-delay="0" position="left">
|
||||||
${this.hass.localize(
|
${this.hass.localize(
|
||||||
@ -226,8 +227,7 @@ class HaAutomationPicker extends LitElement {
|
|||||||
)}
|
)}
|
||||||
</paper-tooltip>
|
</paper-tooltip>
|
||||||
`
|
`
|
||||||
: ""
|
: ""}
|
||||||
}
|
|
||||||
`,
|
`,
|
||||||
};
|
};
|
||||||
return columns;
|
return columns;
|
||||||
|
@ -75,6 +75,7 @@ export const derivedStyles = {
|
|||||||
"mdc-theme-on-primary": "var(--text-primary-color)",
|
"mdc-theme-on-primary": "var(--text-primary-color)",
|
||||||
"mdc-theme-on-secondary": "var(--text-primary-color)",
|
"mdc-theme-on-secondary": "var(--text-primary-color)",
|
||||||
"mdc-theme-on-surface": "var(--primary-text-color)",
|
"mdc-theme-on-surface": "var(--primary-text-color)",
|
||||||
|
"mdc-theme-text-disabled-on-light": "var(--disabled-text-color)",
|
||||||
"mdc-theme-text-primary-on-background": "var(--primary-text-color)",
|
"mdc-theme-text-primary-on-background": "var(--primary-text-color)",
|
||||||
"mdc-theme-text-secondary-on-background": "var(--secondary-text-color)",
|
"mdc-theme-text-secondary-on-background": "var(--secondary-text-color)",
|
||||||
"mdc-theme-text-icon-on-background": "var(--secondary-text-color)",
|
"mdc-theme-text-icon-on-background": "var(--secondary-text-color)",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user