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:
@@ -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)
|
||||
|
||||
|
||||
@@ -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")
|
||||
@@ -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_; }
|
||||
|
||||
Reference in New Issue
Block a user