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:
@@ -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
|
||||
|
Reference in New Issue
Block a user