1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 00:05:43 +00: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

@@ -163,9 +163,6 @@ CONFIG_SCHEMA = cv.Schema(
cv.Required(CONF_MANUFACTURER_ID): bt_uuid,
}
),
cv.Optional("scan_interval"): cv.invalid(
"This option has been removed in 1.14 (Reason: " "it never had an effect)"
),
}
).extend(cv.COMPONENT_SCHEMA)

View File

@@ -1,3 +0,0 @@
import esphome.config_validation as cv
CONFIG_SCHEMA = cv.invalid("This platform has been renamed to ble_presence in 1.13")

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