mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Add icons to automations dashboard (#14182)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
68302d0896
commit
62ac9155fc
@ -95,6 +95,15 @@ class HaAutomationPicker extends LitElement {
|
||||
private _columns = memoizeOne(
|
||||
(narrow: boolean, _locale): DataTableColumnContainer => {
|
||||
const columns: DataTableColumnContainer = {
|
||||
icon: {
|
||||
title: "",
|
||||
label: this.hass.localize(
|
||||
"ui.panel.config.automation.picker.headers.state"
|
||||
),
|
||||
type: "icon",
|
||||
template: (_, automation) =>
|
||||
html`<ha-state-icon .state=${automation}></ha-state-icon>`,
|
||||
},
|
||||
name: {
|
||||
title: this.hass.localize(
|
||||
"ui.panel.config.automation.picker.headers.name"
|
||||
|
@ -1837,7 +1837,8 @@
|
||||
"toggle": "Enable/disable",
|
||||
"name": "Name",
|
||||
"trigger": "Trigger",
|
||||
"actions": "Actions"
|
||||
"actions": "Actions",
|
||||
"state": "State"
|
||||
}
|
||||
},
|
||||
"dialog_new": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user