mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 16:26:43 +00:00
Add version for service devices (#11436)
This commit is contained in:
parent
c37f660718
commit
953e3e060b
@ -59,7 +59,12 @@ export class HaDeviceCard extends LitElement {
|
||||
? html`
|
||||
<div class="extra-info">
|
||||
${this.hass.localize(
|
||||
"ui.panel.config.integrations.config_entry.firmware",
|
||||
`ui.panel.config.integrations.config_entry.${
|
||||
this.device.entry_type === "service" &&
|
||||
!this.device.hw_version
|
||||
? "version"
|
||||
: "firmware"
|
||||
}`,
|
||||
"version",
|
||||
this.device.sw_version
|
||||
)}
|
||||
|
@ -2470,6 +2470,7 @@
|
||||
"via": "Connected via",
|
||||
"firmware": "Firmware: {version}",
|
||||
"hardware": "Hardware: {version}",
|
||||
"version": "Version: {version}",
|
||||
"unnamed_entry": "Unnamed entry",
|
||||
"unknown_via_device": "Unknown device",
|
||||
"area": "In {area}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user