Skip to content

Tuya scene switch#1722

Open
MichaelLawton wants to merge 5 commits into
esphome:mainfrom
MichaelLawton:tuya-scene-switch
Open

Tuya scene switch#1722
MichaelLawton wants to merge 5 commits into
esphome:mainfrom
MichaelLawton:tuya-scene-switch

Conversation

@MichaelLawton

Copy link
Copy Markdown

Brief description of the changes

Added Tuya 2 Gang WiFi Scene Switch

Type of changes

  • New device (a single device only — one device per pull request)
  • Update existing device
  • Removing a device
  • General cleanup
  • Other

Checklist:

The rules below are enforced in CI by npm run validate-devices and npm run validate-yaml. The full reference is at Configuration YAML files.

  • Adding a new device adds a single device only — one device per pull request.
  • Each example yaml lives in its own .yaml file alongside index.md and is pulled into the page with a fenced block of the form ```yaml file=<name>.yaml — no inline yaml on added or modified pages.
  • The first file= fence on the page references config.yaml.
  • config.yaml is hardware-only: no top-level api:, ota:, mqtt:, web_server:, web_server_idf:, improv_serial:, captive_portal:, bluetooth_proxy:, or dashboard_import:, and no platform: homeassistant, platform: mqtt, or platform: template anywhere in the tree.
  • If config.yaml has a wifi: block, it contains only radio tunables (country, power_save_mode, output_power, …) — no ssid, password, networks, manual_ip, eap, or use_address. An empty ap: block is allowed.
  • No passwords (literal or !secret) on password:, *_password:, or psk: keys, and no !secret references anywhere in any example yaml.
  • For pages with made-for-esphome: true in frontmatter: at least one ```yaml url=… fence points at a .yaml file in the manufacturer's GitHub repo (github.com/<owner>/<repo>/(blob|raw)/<ref>/<path>.yaml or the raw.githubusercontent.com equivalent) so the rendered page shows the upstream config live.

Add configuration for Tuya 2-Gang Scene Switch with sensors, binary sensors, and outputs.
Added documentation for Tuya 2 Gang WiFi Scene Switch, including details on disassembly, board overview, GPIO pinout, and basic configuration.
@netlify

netlify Bot commented Jul 18, 2026

Copy link
Copy Markdown

Deploy Preview for esphome-devices failed. Why did it fail? →

Name Link
🔨 Latest commit f1181ce
🔍 Latest deploy log https://app.netlify.com/projects/esphome-devices/deploys/6a5b8e85a36b6f0008e9a827

@MichaelLawton

Copy link
Copy Markdown
Author

Not too sure why the deploy preview if failing here or if it's a me problem?

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.

1 participant