Skip to content

Convert affiliate links#1497

Open
mrdarrengriffin wants to merge 1 commit intoesphome:mainfrom
mrdarrengriffin:remove-affiliate-links
Open

Convert affiliate links#1497
mrdarrengriffin wants to merge 1 commit intoesphome:mainfrom
mrdarrengriffin:remove-affiliate-links

Conversation

@mrdarrengriffin
Copy link
Copy Markdown

@mrdarrengriffin mrdarrengriffin commented Mar 19, 2026

Brief description of the changes

  • Converted all the amzn.to links to a non-affiliate URL
  • Removed UTM and ref params from other URLs

Type of changes

  • New device
  • Update existing device
  • Removing a device
  • General cleanup
  • Other

Checklist:

  • There are no passwords or secrets references in any examples.
    The only exceptions are !secret wifi_ssid and !secret wifi_password.
  • The wifi or ethernet block has no static / manual ip address specified.
  • The first configuration provided should be hardware definitions only.
    A more involved example can be provided in a separate configuration block.

Copilot AI review requested due to automatic review settings March 19, 2026 11:59
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 19, 2026

Deploy Preview for esphome-devices ready!

Name Link
🔨 Latest commit 7faa467
🔍 Latest deploy log https://app.netlify.com/projects/esphome-devices/deploys/69bbe51921cf8e0008c50078
😎 Deploy Preview https://deploy-preview-1497--esphome-devices.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 76 (🔴 down 2 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 91 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates device documentation to remove affiliate/tracking-style outbound links, primarily by replacing amzn.to shortlinks with canonical Amazon product URLs.

Changes:

  • Replaced amzn.to links with https://www.amazon.com/dp/<ASIN> across many device pages
  • Simplified a few non-Amazon links by removing tracking query parameters (e.g., utm_*)

Reviewed changes

Copilot reviewed 46 out of 46 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/docs/devices/Zentec-Smart-Plug/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Yozisital-Surge-Protector-Six-Smart-Outlets-Three-Prong-Plug-Version/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/YERON-US101-Power-Monitoring-Plug/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/WiOn-50050-Indoor-WiFi-Plug/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Watkins-IQ2020/index.md Simplify Amazon URL to canonical /dp link
src/docs/devices/Tuya-ZY-M100-Human-Presence-Sensor/index.md Replace amzn.to reference link with canonical Amazon /dp link
src/docs/devices/Treatlife-Wall-Switch/index.md Replace amzn.to links with canonical Amazon /dp links
src/docs/devices/Treatlife-SS02S/index.md Replace amzn.to links with canonical Amazon /dp links
src/docs/devices/Treatlife-DS01C/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/TreatLife-DS03/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/TreatLife-DS02S/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/TreatLife-DS02F/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Topgreener-TGWF500D/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Teckin-SS30/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Teckin-SP20/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Smartpoint-Wifi-Smart-Remote-Controller/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Sinvitron-A19-900lm-RGBCW/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Shelly-RGBW2/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Shelly-1/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/SZMDLX-IR-Hub/index.md Replace amzn.to with canonical Amazon /dp link in comment
src/docs/devices/Reafoo-A26/index.md Replace amzn.to with canonical Amazon /dp link in comments
src/docs/devices/Novostella-20W/index.md Replace amzn.to with canonical Amazon /dp link in comments
src/docs/devices/NX-SP201-Smart-Plug/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/MartinJerry-USFC01/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Martin-Jerry-US-SS02/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Martin-Jerry-US-SS01/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Martin-Jerry-STD01/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Martin-Jerry-RP-FC01/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Martin-Jerry-MJ-ST02/index.md Replace amzn.to with canonical Amazon /dp links
src/docs/devices/MJ-S01/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Lohas-ZN124/index.md Replace amzn.to with canonical Amazon /dp link in comment
src/docs/devices/Lohas-RGBCW-100W/index.md Replace amzn.to with canonical Amazon /dp link in comment
src/docs/devices/Generic-Remote-Receiver/index.md Replace amzn.to with canonical Amazon /dp links
src/docs/devices/Geeni-Outdoor-Duo/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Geeni-6W8007-Smart-Wi-Fi-Outlet/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Geeni-4-outlet-surge-strip/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Feit-PLUG3-WIFI-WP-2/index.md Replace amzn.to with canonical Amazon /dp links
src/docs/devices/Dewenwils-Heavy-Duty-40A-Outdoor-Plug-HOWT01A/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Apollo-Automation-TEMP_PRO-1/index.md Remove utm tracking parameters from Shop link
src/docs/devices/Apollo-Automation-TEMP-1/index.md Remove utm tracking parameters from Shop link
src/docs/devices/Apollo-Automation-R_PRO-1/index.md Remove utm tracking parameters from Shop link
src/docs/devices/Apollo-Automation-PUMP-1/index.md Remove utm tracking parameters from Shop link
src/docs/devices/Aoycocr-X13-Outdoor-Plug-2AKBP-X13/index.md Replace amzn.to with canonical Amazon /dp link
src/docs/devices/Anwio-BR30-E26-RGB-CCT-13W-Light-Bulb/index.md Replace amzn.to with canonical Amazon /dp links
src/docs/devices/Anwio-A19-E26-RGBWW-8.5W-Light-Bulb/index.md Replace amzn.to with canonical Amazon /dp links
src/docs/devices/AWP02L2/index.md Replace amzn.to with canonical Amazon /dp links

You can also share your feedback on Copilot code review. Take the survey.

@tekmaven tekmaven closed this Mar 19, 2026
@tekmaven
Copy link
Copy Markdown
Collaborator

tekmaven commented Mar 19, 2026

I spend my time maintaining this project. These affiliate links are mine. Please do not remove them.

@mrdarrengriffin
Copy link
Copy Markdown
Author

Hi @tekmaven,

Just to give myself an intro, I'm Darren, a web developer from the Open Home Foundation.

Unfortunately we need to remove these affiliate links due to how we are setup from a legal standpoint. Since ESPHome is part of the foundation, we need to ensure that all URLs we use across our sites are not affiliate links.

Although we need to do this from a legal standpoint, I don't want to cause any problems for you, hence me not forcing this PR in.

Happy to answer any questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants