1
0
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:
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

@@ -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; }
};