[BUG] wifi_channel_sensor provides decimals on whole number
Author: HACS-bankCreated Sep 21, 2026Updated Sep 26, 2026
Labelsbugfrontend: esphomepriority: low
Before you start
- I searched existing issues for similar reports.
- I tested against the current website or a recent release or development build. If I could not, I explained why below.
Area affected
Home Assistant or controller integration
Firmware
ESPHome
Installation or connection
ESPHome local build
ESPectre version or commit
3.0.0 rc2
Board and chip
NSpanel
Controller or integration
Home assistant 2026.9.xx
What happened?
The WiFi channel (which is an integer e.g 4) is reported to HA as floating point (e.g 4.0)
What did you expect to happen?
Channels are not scalar, should possibly be a string "4"
Steps to reproduce
Check ESPhome device in HA Devices Press refresh diagnostics
Source: francescopace/espectre