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:
smarthome-10
2025-12-08 20:37:45 +01:00
committed by GitHub
parent 7a20c85eec
commit 4c31961ae9
16 changed files with 18 additions and 21 deletions

View File

@@ -2,7 +2,7 @@
We welcome contributions to the ESPHome suite of code and documentation! 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). project and be sure to join us on [Discord](https://discord.gg/KhAMKrd).
**See also:** **See also:**

View File

@@ -163,7 +163,7 @@ float AbsoluteHumidityComponent::es_wobus(float t) {
} }
// From https://www.environmentalbiophysics.org/chalk-talk-how-to-calculate-absolute-humidity/ // 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/ // 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) { float AbsoluteHumidityComponent::vapor_density(float es, float hr, float ta) {
// es = saturated vapor pressure (kPa) // es = saturated vapor pressure (kPa)

View File

@@ -246,7 +246,7 @@ def _validate_api_config(config: ConfigType) -> ConfigType:
_LOGGER.warning( _LOGGER.warning(
"API 'password' authentication has been deprecated since May 2022 and will be removed in version 2026.1.0. " "API 'password' authentication has been deprecated since May 2022 and will be removed in version 2026.1.0. "
"Please migrate to the 'encryption' configuration. " "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 return config

View File

@@ -44,7 +44,7 @@ CONFIG_SCHEMA = (
cv.Optional(ble_client.CONF_BLE_CLIENT_ID): cv.invalid( cv.Optional(ble_client.CONF_BLE_CLIENT_ID): cv.invalid(
"The 'ble_client_id' option has been removed. Please migrate " "The 'ble_client_id' option has been removed. Please migrate "
"to the new `bedjet_id` option in the `bedjet` component.\n" "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( cv.Optional(CONF_TIME_ID): cv.invalid(
"The 'time_id' option has been moved to the `bedjet` component." "The 'time_id' option has been moved to the `bedjet` component."

View File

@@ -764,7 +764,7 @@ def _show_framework_migration_message(name: str, variant: str) -> None:
+ "Need help? Check out the migration guide:\n" + "Need help? Check out the migration guide:\n"
+ color( + color(
AnsiFore.BLUE, AnsiFore.BLUE,
"https://esphome.io/guides/esp32_arduino_to_idf.html", "https://esphome.io/guides/esp32_arduino_to_idf/",
) )
) )
_LOGGER.warning(message) _LOGGER.warning(message)

View File

@@ -2,5 +2,5 @@ import esphome.config_validation as cv
CONFIG_SCHEMA = cv.invalid( CONFIG_SCHEMA = cv.invalid(
"The kalman_combinator sensor has moved.\nPlease use the combination platform instead with type: kalman.\n" "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/"
) )

View File

@@ -55,7 +55,7 @@ def CONFIG_SCHEMA(conf):
if conf: if conf:
raise cv.Invalid( raise cv.Invalid(
"This component has been moved in 1.16, please see the docs for updated " "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/"
) )

View File

@@ -4,5 +4,5 @@ CODEOWNERS = ["@SenexCrenshaw"]
CONFIG_SCHEMA = cv.invalid( CONFIG_SCHEMA = cv.invalid(
"SGP40 is deprecated.\nPlease use the SGP4x platform instead.\nSGP4x supports both SPG40 and SGP41.\n" "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/"
) )

View File

@@ -171,7 +171,7 @@ class DeferredUpdateEventSourceList : public std::list<DeferredUpdateEventSource
* by esphome.io by default), an event source under '/events' that automatically sends * 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 * 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 * 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, class WebServer : public Controller,
public Component, public Component,

View File

@@ -190,9 +190,8 @@ void WebServer::handle_index_request(AsyncWebServerRequest *request) {
} }
#endif #endif
stream->print( stream->print(ESPHOME_F("</tbody></table><p>See <a href=\"https://esphome.io/web-api/\">ESPHome Web API</a> for "
ESPHOME_F("</tbody></table><p>See <a href=\"https://esphome.io/web-api/index.html\">ESPHome Web API</a> for " "REST API documentation.</p>"));
"REST API documentation.</p>"));
#if defined(USE_WEBSERVER_OTA) && !defined(USE_WEBSERVER_OTA_DISABLED) #if defined(USE_WEBSERVER_OTA) && !defined(USE_WEBSERVER_OTA_DISABLED)
// Show OTA form only if web_server OTA is not explicitly 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 // Note: USE_WEBSERVER_OTA_DISABLED only affects web_server, not captive_portal

View File

@@ -87,7 +87,7 @@ def validate_hostname(config):
_LOGGER.warning( _LOGGER.warning(
"'%s': Using the '_' (underscore) character in the hostname is discouraged " "'%s': Using the '_' (underscore) character in the hostname is discouraged "
"as it can cause problems with some DHCP and local name services. " "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], config[CONF_NAME],
) )
return config return config

View File

@@ -402,7 +402,7 @@ def run_ota_impl_(
) )
_LOGGER.error( _LOGGER.error(
"(If this error persists, please set a static IP address: " "(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 raise OTAError(err) from err

View File

@@ -274,7 +274,7 @@ def check_strapping_pin(conf, strapping_pin_list: set[int], logger: Logger):
logger.warning( logger.warning(
f"GPIO{num} is a strapping PIN and should only be used for I/O with care.\n" 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" "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: # mitigate undisciplined use of strapping:
if num not in strapping_pin_list and conf.get(CONF_IGNORE_STRAPPING_WARNING): if num not in strapping_pin_list and conf.get(CONF_IGNORE_STRAPPING_WARNING):

View File

@@ -375,6 +375,6 @@ def get_esp32_arduino_flash_error_help() -> str | None:
+ "For detailed migration instructions, see:\n" + "For detailed migration instructions, see:\n"
+ color( + color(
AnsiFore.BLUE, AnsiFore.BLUE,
"https://esphome.io/guides/esp32_arduino_to_idf.html\n\n", "https://esphome.io/guides/esp32_arduino_to_idf/\n\n",
) )
) )

View File

@@ -411,9 +411,7 @@ def wizard(path: Path) -> int:
"https://docs.platformio.org/en/latest/platforms/espressif8266.html#boards" "https://docs.platformio.org/en/latest/platforms/espressif8266.html#boards"
) )
elif platform == "RP2040": elif platform == "RP2040":
board_link = ( board_link = "https://www.raspberrypi.com/documentation/microcontrollers/silicon.html#rp2040"
"https://www.raspberrypi.com/documentation/microcontrollers/rp2040.html"
)
elif platform in ["BK72XX", "LN882X", "RTL87XX"]: elif platform in ["BK72XX", "LN882X", "RTL87XX"]:
board_link = "https://docs.libretiny.eu/docs/status/supported/" board_link = "https://docs.libretiny.eu/docs/status/supported/"
else: else:
@@ -555,7 +553,7 @@ def wizard(path: Path) -> int:
safe_print("Next steps:") safe_print("Next steps:")
safe_print(" > Follow the rest of the getting started guide:") safe_print(" > Follow the rest of the getting started guide:")
safe_print( 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.") safe_print(" > to learn how to customize ESPHome and install it to your device.")
return 0 return 0

View File

@@ -16,4 +16,4 @@ display:
qr_code: qr_code:
- id: qr_code_homepage_qr - id: qr_code_homepage_qr
value: https://esphome.io/index.html value: https://esphome.io/