mirror of
https://github.com/esphome/esphome.git
synced 2026-01-08 03:00:48 -07:00
Update URLs (#12369)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
We welcome contributions to the ESPHome suite of code and documentation!
|
||||
|
||||
Please read our [contributing guide](https://esphome.io/guides/contributing.html) if you wish to contribute to the
|
||||
Please read our [contributing guide](https://developers.esphome.io/contributing/code/) if you wish to contribute to the
|
||||
project and be sure to join us on [Discord](https://discord.gg/KhAMKrd).
|
||||
|
||||
**See also:**
|
||||
|
||||
@@ -163,7 +163,7 @@ float AbsoluteHumidityComponent::es_wobus(float t) {
|
||||
}
|
||||
|
||||
// From https://www.environmentalbiophysics.org/chalk-talk-how-to-calculate-absolute-humidity/
|
||||
// H/T to https://esphome.io/cookbook/bme280_environment.html
|
||||
// H/T to https://esphome.io/cookbook/bme280_environment/
|
||||
// H/T to https://carnotcycle.wordpress.com/2012/08/04/how-to-convert-relative-humidity-to-absolute-humidity/
|
||||
float AbsoluteHumidityComponent::vapor_density(float es, float hr, float ta) {
|
||||
// es = saturated vapor pressure (kPa)
|
||||
|
||||
@@ -246,7 +246,7 @@ def _validate_api_config(config: ConfigType) -> ConfigType:
|
||||
_LOGGER.warning(
|
||||
"API 'password' authentication has been deprecated since May 2022 and will be removed in version 2026.1.0. "
|
||||
"Please migrate to the 'encryption' configuration. "
|
||||
"See https://esphome.io/components/api.html#configuration-variables"
|
||||
"See https://esphome.io/components/api/#configuration-variables"
|
||||
)
|
||||
|
||||
return config
|
||||
|
||||
@@ -44,7 +44,7 @@ CONFIG_SCHEMA = (
|
||||
cv.Optional(ble_client.CONF_BLE_CLIENT_ID): cv.invalid(
|
||||
"The 'ble_client_id' option has been removed. Please migrate "
|
||||
"to the new `bedjet_id` option in the `bedjet` component.\n"
|
||||
"See https://esphome.io/components/climate/bedjet.html"
|
||||
"See https://esphome.io/components/climate/bedjet/"
|
||||
),
|
||||
cv.Optional(CONF_TIME_ID): cv.invalid(
|
||||
"The 'time_id' option has been moved to the `bedjet` component."
|
||||
|
||||
@@ -764,7 +764,7 @@ def _show_framework_migration_message(name: str, variant: str) -> None:
|
||||
+ "Need help? Check out the migration guide:\n"
|
||||
+ color(
|
||||
AnsiFore.BLUE,
|
||||
"https://esphome.io/guides/esp32_arduino_to_idf.html",
|
||||
"https://esphome.io/guides/esp32_arduino_to_idf/",
|
||||
)
|
||||
)
|
||||
_LOGGER.warning(message)
|
||||
|
||||
@@ -2,5 +2,5 @@ import esphome.config_validation as cv
|
||||
|
||||
CONFIG_SCHEMA = cv.invalid(
|
||||
"The kalman_combinator sensor has moved.\nPlease use the combination platform instead with type: kalman.\n"
|
||||
"See https://esphome.io/components/sensor/combination.html"
|
||||
"See https://esphome.io/components/sensor/combination/"
|
||||
)
|
||||
|
||||
@@ -55,7 +55,7 @@ def CONFIG_SCHEMA(conf):
|
||||
if conf:
|
||||
raise cv.Invalid(
|
||||
"This component has been moved in 1.16, please see the docs for updated "
|
||||
"instructions. https://esphome.io/components/binary_sensor/pn532.html"
|
||||
"instructions. https://esphome.io/components/binary_sensor/pn532/"
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -4,5 +4,5 @@ CODEOWNERS = ["@SenexCrenshaw"]
|
||||
|
||||
CONFIG_SCHEMA = cv.invalid(
|
||||
"SGP40 is deprecated.\nPlease use the SGP4x platform instead.\nSGP4x supports both SPG40 and SGP41.\n"
|
||||
" See https://esphome.io/components/sensor/sgp4x.html"
|
||||
" See https://esphome.io/components/sensor/sgp4x/"
|
||||
)
|
||||
|
||||
@@ -171,7 +171,7 @@ class DeferredUpdateEventSourceList : public std::list<DeferredUpdateEventSource
|
||||
* by esphome.io by default), an event source under '/events' that automatically sends
|
||||
* all state updates in real time + the debug log. Lastly, there's an REST API available
|
||||
* under the '/light/...', '/sensor/...', ... URLs. A full documentation for this API
|
||||
* can be found under https://esphome.io/web-api/index.html.
|
||||
* can be found under https://esphome.io/web-api/.
|
||||
*/
|
||||
class WebServer : public Controller,
|
||||
public Component,
|
||||
|
||||
@@ -190,9 +190,8 @@ void WebServer::handle_index_request(AsyncWebServerRequest *request) {
|
||||
}
|
||||
#endif
|
||||
|
||||
stream->print(
|
||||
ESPHOME_F("</tbody></table><p>See <a href=\"https://esphome.io/web-api/index.html\">ESPHome Web API</a> for "
|
||||
"REST API documentation.</p>"));
|
||||
stream->print(ESPHOME_F("</tbody></table><p>See <a href=\"https://esphome.io/web-api/\">ESPHome Web API</a> for "
|
||||
"REST API documentation.</p>"));
|
||||
#if defined(USE_WEBSERVER_OTA) && !defined(USE_WEBSERVER_OTA_DISABLED)
|
||||
// Show OTA form only if web_server OTA is not explicitly disabled
|
||||
// Note: USE_WEBSERVER_OTA_DISABLED only affects web_server, not captive_portal
|
||||
|
||||
@@ -87,7 +87,7 @@ def validate_hostname(config):
|
||||
_LOGGER.warning(
|
||||
"'%s': Using the '_' (underscore) character in the hostname is discouraged "
|
||||
"as it can cause problems with some DHCP and local name services. "
|
||||
"For more information, see https://esphome.io/guides/faq.html#why-shouldn-t-i-use-underscores-in-my-device-name",
|
||||
"For more information, see https://esphome.io/guides/faq/#why-shouldnt-i-use-underscores-in-my-device-name",
|
||||
config[CONF_NAME],
|
||||
)
|
||||
return config
|
||||
|
||||
@@ -402,7 +402,7 @@ def run_ota_impl_(
|
||||
)
|
||||
_LOGGER.error(
|
||||
"(If this error persists, please set a static IP address: "
|
||||
"https://esphome.io/components/wifi.html#manual-ips)"
|
||||
"https://esphome.io/components/wifi/#manual-ips)"
|
||||
)
|
||||
raise OTAError(err) from err
|
||||
|
||||
|
||||
@@ -274,7 +274,7 @@ def check_strapping_pin(conf, strapping_pin_list: set[int], logger: Logger):
|
||||
logger.warning(
|
||||
f"GPIO{num} is a strapping PIN and should only be used for I/O with care.\n"
|
||||
"Attaching external pullup/down resistors to strapping pins can cause unexpected failures.\n"
|
||||
"See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins",
|
||||
"See https://esphome.io/guides/faq/#why-am-i-getting-a-warning-about-strapping-pins",
|
||||
)
|
||||
# mitigate undisciplined use of strapping:
|
||||
if num not in strapping_pin_list and conf.get(CONF_IGNORE_STRAPPING_WARNING):
|
||||
|
||||
@@ -375,6 +375,6 @@ def get_esp32_arduino_flash_error_help() -> str | None:
|
||||
+ "For detailed migration instructions, see:\n"
|
||||
+ color(
|
||||
AnsiFore.BLUE,
|
||||
"https://esphome.io/guides/esp32_arduino_to_idf.html\n\n",
|
||||
"https://esphome.io/guides/esp32_arduino_to_idf/\n\n",
|
||||
)
|
||||
)
|
||||
|
||||
@@ -411,9 +411,7 @@ def wizard(path: Path) -> int:
|
||||
"https://docs.platformio.org/en/latest/platforms/espressif8266.html#boards"
|
||||
)
|
||||
elif platform == "RP2040":
|
||||
board_link = (
|
||||
"https://www.raspberrypi.com/documentation/microcontrollers/rp2040.html"
|
||||
)
|
||||
board_link = "https://www.raspberrypi.com/documentation/microcontrollers/silicon.html#rp2040"
|
||||
elif platform in ["BK72XX", "LN882X", "RTL87XX"]:
|
||||
board_link = "https://docs.libretiny.eu/docs/status/supported/"
|
||||
else:
|
||||
@@ -555,7 +553,7 @@ def wizard(path: Path) -> int:
|
||||
safe_print("Next steps:")
|
||||
safe_print(" > Follow the rest of the getting started guide:")
|
||||
safe_print(
|
||||
" > https://esphome.io/guides/getting_started_command_line.html#adding-some-features"
|
||||
" > https://esphome.io/guides/getting_started_command_line/#adding-some-features"
|
||||
)
|
||||
safe_print(" > to learn how to customize ESPHome and install it to your device.")
|
||||
return 0
|
||||
|
||||
@@ -16,4 +16,4 @@ display:
|
||||
|
||||
qr_code:
|
||||
- id: qr_code_homepage_qr
|
||||
value: https://esphome.io/index.html
|
||||
value: https://esphome.io/
|
||||
|
||||
Reference in New Issue
Block a user