Skip to content

Modify GPIO descriptions and add WTS01 sensor config#1525

Open
kellerza wants to merge 2 commits intoesphome:mainfrom
kellerza:patch-1
Open

Modify GPIO descriptions and add WTS01 sensor config#1525
kellerza wants to merge 2 commits intoesphome:mainfrom
kellerza:patch-1

Conversation

@kellerza
Copy link
Copy Markdown

@kellerza kellerza commented Apr 11, 2026

Updated GPIO pin descriptions and added configuration for WTS01 temperature sensor.

Brief description of the changes

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.

Updated GPIO pin descriptions and added configuration for WTS01 temperature sensor.
Copilot AI review requested due to automatic review settings April 11, 2026 03:54
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 11, 2026

Deploy Preview for esphome-devices ready!

Name Link
🔨 Latest commit d21dc62
🔍 Latest deploy log https://app.netlify.com/projects/esphome-devices/deploys/69d9c6aea056470008f06158
😎 Deploy Preview https://deploy-preview-1525--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: 67 (🔴 down 3 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (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

Updates the Sonoff THR316 device documentation to generalize GPIO pin descriptions and add an example configuration snippet for using a WTS01 temperature sensor.

Changes:

  • Generalize GPIO25/GPIO27 pin descriptions from Dallas-specific wording to generic “Sensor Bus” wording.
  • Add a new documentation section with a YAML snippet showing how to wire/configure a WTS01 temperature sensor (UART + sensor power).

Comment thread src/docs/devices/Sonoff-THR316/index.md
Comment on lines +279 to +280
The following yaml enables the [WTS01 sensor](https://esphome.io/components/sensor/wts01/) on the Sonoff THR316
and exposes the measured value as `temp`.
Copy link

Copilot AI Apr 11, 2026

Choose a reason for hiding this comment

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

The text says the WTS01 value is exposed as temp, but the YAML only sets id: temp (which is for internal references) and does not set a name: for the sensor. If the intent is to expose it in Home Assistant, add an explicit name: (and consider adjusting the wording to avoid implying the entity name comes from the id).

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

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.

2 participants