Files
pilot/pilot-v2
Gilles Soulier ff3fc65eef Remove 'type' field from discovery payload per HA spec
The type field is not required in the discovery payload JSON.
The entity type is determined by the discovery topic itself:
- homeassistant/sensor/.../config indicates a sensor
- homeassistant/switch/.../config indicates a switch

This aligns with the official Home Assistant MQTT discovery documentation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-30 08:22:05 +01:00
..