1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-14 01:02:19 +01:00

Remove a whole bunch of deprecated/removed stuff (#1981)

This commit is contained in:
Jesse Hills
2021-07-14 14:42:16 +12:00
committed by GitHub
parent 04c3a43c17
commit 07ae8ec553
23 changed files with 14 additions and 141 deletions

View File

@@ -85,12 +85,6 @@ class ESPBTDevice {
int get_rssi() const { return rssi_; }
const std::string &get_name() const { return this->name_; }
ESPDEPRECATED("Use get_tx_powers() instead")
optional<int8_t> get_tx_power() const {
if (this->tx_powers_.empty())
return {};
return this->tx_powers_[0];
}
const std::vector<int8_t> &get_tx_powers() const { return tx_powers_; }
const optional<uint16_t> &get_appearance() const { return appearance_; }