Remove model name and power profile subtitle from Anker device header
This commit is contained in:
1 parent
536408ae48
commit
6f46489fb1
1 file changed
+1
-2
@@ -1226,14 +1226,13 @@ function renderAnker(devices) {
|
||||
if (!d.live) {
|
||||
return '<div class="device"><div class="device-head">'
|
||||
+ nameCell(d, 'anker', 'device-name')
|
||||
+ '<span class="device-meta">' + d.model + '</span></div>'
|
||||
+ '</div>'
|
||||
+ '<p class="empty">No live readings. Live data comes from a running '
|
||||
+ 'automation.<br>Start one with <b>solixauto service <profile></b>.</p></div>';
|
||||
}
|
||||
return '<div class="device">'
|
||||
+ '<div class="device-head">'
|
||||
+ nameCell(d, 'anker', 'device-name')
|
||||
+ '<span class="device-meta">' + d.model + ' · ' + (d.profile || '') + '</span>'
|
||||
+ (d.floor_latched ? '<span class="pill unknown">FLOOR LATCHED</span>' : '')
|
||||
+ '</div>'
|
||||
+ '<div class="readouts">'
|
||||
|
||||
Reference in new issue
Block a user