remove type badge from light controls

This commit is contained in:
legop3
2026-01-06 20:56:27 -05:00
parent b4edf72c9a
commit aba01161c9
3 changed files with 7 additions and 7 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -11,7 +11,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" /> <meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
<title>Multi Roomba Rover</title> <title>Multi Roomba Rover</title>
<script type="module" crossorigin src="/assets/index-D5R4QPMU.js"></script> <script type="module" crossorigin src="/assets/index-D8Pr9nif.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BTAtpc9C.css"> <link rel="stylesheet" crossorigin href="/assets/index-BTAtpc9C.css">
</head> </head>
<body> <body>
@@ -37,7 +37,7 @@ function EntityRow({ entity, connected, onToggle }) {
<div className="min-w-0"> <div className="min-w-0">
<div className="flex items-center gap-1 text-sm"> <div className="flex items-center gap-1 text-sm">
<span className="truncate font-semibold text-white">{entity.name || entity.id}</span> <span className="truncate font-semibold text-white">{entity.name || entity.id}</span>
<StatusBadge label={entity.type === 'light' ? 'Light' : 'Switch'} /> {/* <StatusBadge label={entity.type === 'light' ? 'Light' : 'Switch'} /> */}
</div> </div>
<div className="flex items-center gap-1 text-xs text-slate-400"> <div className="flex items-center gap-1 text-xs text-slate-400">
<StatusBadge label={statusLabel} tone={statusTone} /> <StatusBadge label={statusLabel} tone={statusTone} />