button entity now shows idle/short/long/double instead of "Unknown"
Switch the button discovery from `event` to `sensor`. Event entities
are designed for fire-and-forget transient triggers and don't carry a
meaningful "current state", so the device card was always showing
"Unknown" — useless for a glance at what just happened.
The sensor entity holds a stable resting value of "idle". On a
gesture, firmware publishes the event_type briefly (non-retained), and
the network task schedules a retained "idle" republish 800ms later
so the card snaps back to rest. Existing MQTT-trigger automations
(payload `{"event_type":"short"}` etc.) keep working unchanged — same
topic, same payload, just bracketed by idle states.
The retired-entities list now also clears the old `event` discovery
config so HA drops the placeholder entity automatically on first boot
of the new firmware.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>