Skip to content

Some numerical sensors interpreted by Home Assistant as strings #47

Description

@spry-salt

Describe the bug
Some numerical sensors, including but possibly not limited to the following, are being interpreted by Home Assistant as strings:

  • Offline uncorrectable errors
  • UDMA CRC errors
  • Start/stop count
  • Load cycle count

Expected behavior
These should be interpreted as numbers.

Environment
HA:
Installation method
Home Assistant OS
Core
2026.8.2
Supervisor
2026.07.5
Operating System
18.2
Frontend
20260729.7

  • SMART Sniffer integration version:

  • 0.5.16

  • Agent version: (check with curl http://<host>:9099/api/health)

  • 0.5.16

  • Agent OS: (e.g., Proxmox, Ubuntu, macOS, Windows)

  • macOS

  • Drive type: (ATA/SATA SSD, ATA/SATA HDD, NVMe, USB)
    USB

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions