Files
esphome/esphome
Claude da04307240 [bthome] Use existing device class constants
Refactored to use ESPHome's existing DEVICE_CLASS_* constants instead
of creating duplicate custom constants. This makes the component more
consistent with the rest of ESPHome and reduces code duplication.

Changes:
- Import DEVICE_CLASS_* constants from esphome.const
- Map device classes to BTHome object IDs in dictionaries
- Remove custom CONF_* duplicates (battery, temperature, motion, etc.)
- Use standard device class strings ("temperature", "humidity", etc.)
2025-11-17 22:01:07 +00:00
..
2025-09-19 12:59:48 +00:00
2025-04-24 15:43:37 +12:00
2025-09-19 12:59:48 +00:00
2025-09-19 12:59:48 +00:00