- {t('manufacturer')}: {vars['ups.mfr']?.value} -
-- {t('model')}: {vars['ups.model']?.value} -
- > - ) : ( - <> -- {t('device')}: {ups.description} -
- > - )} -- {t('serial')}: {vars['device.serial']?.value} -
++ {t('manufacturer')}: {vars['ups.mfr']?.value} +
++ {t('model')}: {vars['ups.model']?.value} +
+ > + ) : ( + <> ++ {t('device')}: {ups.description} +
+ > + )} ++ {t('serial')}: {vars['device.serial']?.value} +
++ {getStatus(vars['ups.status']?.value as keyof typeof upsStatus)} + {upsStatus[vars['ups.status']?.value as keyof typeof upsStatus]} +
+- {getStatus(vars['ups.status']?.value as keyof typeof upsStatus)} - {upsStatus[vars['ups.status']?.value as keyof typeof upsStatus]} -
+