Skip to content

Comments

Fix [object Object] display for disconnected compressor sensors#13

Merged
mschneider82 merged 1 commit intomainfrom
fix-object-display-issue-12
Oct 4, 2025
Merged

Fix [object Object] display for disconnected compressor sensors#13
mschneider82 merged 1 commit intomainfrom
fix-object-display-issue-12

Conversation

@mschneider82
Copy link
Owner

  • Check for value existence before accessing sensor values
  • Display '--' for disconnected sensors instead of hiding them
  • Update hasCompressor check to show section if any compressor feature exists
  • Prevents JavaScript object-to-string conversion errors

This fixes the issue where sensors with "notConnected" status were displayed as "[object Object]" in the dashboard.

- Check for value existence before accessing sensor values
- Display '--' for disconnected sensors instead of hiding them
- Update hasCompressor check to show section if any compressor feature exists
- Prevents JavaScript object-to-string conversion errors

This fixes the issue where sensors with "notConnected" status were
displayed as "[object Object]" in the dashboard.
@mschneider82 mschneider82 merged commit f26e72c into main Oct 4, 2025
1 check passed
@mschneider82 mschneider82 deleted the fix-object-display-issue-12 branch November 10, 2025 08:24
AndyH-992 pushed a commit to AndyH-992/vieventlog that referenced this pull request Jan 24, 2026
…ay-issue-12

Fix [object Object] display for disconnected compressor sensors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant