Skip to content

[BUG] wifi_channel_sensor provides decimals on whole number #181

Description

@HACS-bank

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

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfrontend: esphomeESPHome firmware and Home Assistant integrationpriority: lowCan wait

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions