1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-11 07:42:26 +01:00

Remove legacy unique_id field from entities

These are no longer used in Home Assistant. This will be a breaking
change for MQTT for the sensors that defined custom unique ids.
This commit is contained in:
J. Nick Koston
2025-06-07 22:17:07 -05:00
parent 9e862b8b53
commit 34c100e997
27 changed files with 8 additions and 378 deletions

View File

@@ -72,10 +72,6 @@ class ADCSensor : public sensor::Sensor, public PollingComponent, public voltage
void set_sampling_mode(SamplingMode sampling_mode);
float sample() override;
#ifdef USE_ESP8266
std::string unique_id() override;
#endif // USE_ESP8266
#ifdef USE_RP2040
void set_is_temperature() { this->is_temperature_ = true; }
#endif // USE_RP2040