mirror of
https://github.com/esphome/esphome.git
synced 2025-10-01 01:22:20 +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:
@@ -13,7 +13,6 @@ class WiFiSignalSensor : public sensor::Sensor, public PollingComponent {
|
||||
void update() override { this->publish_state(wifi::global_wifi_component->wifi_rssi()); }
|
||||
void dump_config() override;
|
||||
|
||||
std::string unique_id() override { return get_mac_address() + "-wifisignal"; }
|
||||
float get_setup_priority() const override { return setup_priority::AFTER_WIFI; }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user