{
diff --git a/src/components/ha-expansion-panel.ts b/src/components/ha-expansion-panel.ts
index f553e3ffc6..705b5a6b81 100644
--- a/src/components/ha-expansion-panel.ts
+++ b/src/components/ha-expansion-panel.ts
@@ -14,12 +14,17 @@ class HaExpansionPanel extends LitElement {
@property() header?: string;
+ @property() secondary?: string;
+
@query(".container") private _container!: HTMLDivElement;
protected render(): TemplateResult {
return html`
- ${this.header}
+
;
+ by_id: null | string;
+ dev_path: string;
+ name: string;
+ subsystem: string;
+ sysfs: string;
+}
+
export interface HassioHardwareInfo {
- serial: string[];
- input: string[];
- disk: string[];
- gpio: string[];
- audio: Record;
+ devices: HardwareDevice[];
}
export const fetchHassioHardwareAudio = async (
diff --git a/src/translations/en.json b/src/translations/en.json
index 22cb216393..a3b898bd77 100755
--- a/src/translations/en.json
+++ b/src/translations/en.json
@@ -3980,6 +3980,14 @@
"create_snapshot": "Create a snapshot of {name} before updating",
"updating": "Updating {name} to version {version}",
"snapshotting": "Creating snapshot of {name}"
+ },
+ "hardware": {
+ "title": "Hardware",
+ "search": "Search hardware",
+ "subsystem": "Subsystem",
+ "id": "ID",
+ "attributes": "Attributes",
+ "device_path": "Device path"
}
}
}