diff --git a/src/docs/devices/TESLA-EDM-01AA-EU/config.yaml b/src/docs/devices/TESLA-EDM-01AA-EU/config.yaml new file mode 100644 index 000000000..adfc68ca8 --- /dev/null +++ b/src/docs/devices/TESLA-EDM-01AA-EU/config.yaml @@ -0,0 +1,60 @@ +esphome: + name: wall-dimmer-touch + friendly_name: Wall Dimmer Touch + +bk72xx: + board: wb3s + +# Enable logging +logger: + +uart: + rx_pin: RX1 + tx_pin: TX1 + baud_rate: 115200 + +# Register the Tuya MCU connection +tuya: + +# Main light entity +light: + - platform: "tuya" + id: dimmer + name: "Wall Dimmer" + dimmer_datapoint: 2 # Brightness + switch_datapoint: 1 # On/Off + min_value: 10 # adjust if min brightness is too high/low + max_value: 1000 # DP2 scale (check by dimming in app/original fw) + + +# Minimum brightness (user adjustable) +number: + - platform: "tuya" + id: min_brightness + name: "Min Brightness" + number_datapoint: 3 + min_value: 0 + max_value: 1000 + step: 10 + entity_category: config + +select: + - platform: "tuya" + id: load_type + name: "Load Type" + enum_datapoint: 4 + options: + 0: "LED" + 1: "Incandescent" + 2: "Halogen" + entity_category: config + + - platform: "tuya" + id: indicator_led + name: "Indicator LED" + enum_datapoint: 21 + options: + 0: "On" + 1: "Follow Load" + 2: "Off" + entity_category: config diff --git a/src/docs/devices/TESLA-EDM-01AA-EU/index.md b/src/docs/devices/TESLA-EDM-01AA-EU/index.md index 73b453904..12f37b911 100644 --- a/src/docs/devices/TESLA-EDM-01AA-EU/index.md +++ b/src/docs/devices/TESLA-EDM-01AA-EU/index.md @@ -4,18 +4,20 @@ date-published: 2025-10-26 type: dimmer standard: eu board: bk72xx -project-url: https://www.teslasmart.com/tesla-smart-switch-dimmer-touch -made-for-esphome: False difficulty: 2 --- -![TESLA EDM-01AA-EU](tesla-dimmer.webp "TESLA Smart Switch Dimmer Touch") - ## Product Description This is a wall mounted light dimmer for EU standard wall boxes. The dimmer comes with a WB3S module suitable for ESPHome and can be flashed using Tuya Cloudcutter. +Manufacturer: [Tesla Electronics](https://tesla-electronics.online/en/) + +## Product Images + +![TESLA EDM-01AA-EU](tesla-dimmer.webp "TESLA Smart Switch Dimmer Touch") + ## Flashing The device contains a WB3S module (BK72xx, WiFi), which can be flashed using Tuya Cloudcutter, without opening up the @@ -24,82 +26,5 @@ WT0132C6-S5 (ESP32C6) module. ## Configuration example -```yml -esphome: - name: wall-dimmer-touch - friendly_name: Wall Dimmer Touch - -bk72xx: - board: wb3s - -# Enable logging -logger: - -# Enable Home Assistant API -api: - -ota: - - platform: esphome - -wifi: - ssid: !secret wifi_ssid - password: !secret wifi_password - - # Enable fallback hotspot (captive portal) in case wifi connection fails - ap: - ssid: "Wall-Dimmer-Touch" - -captive_portal: - -uart: - rx_pin: RX1 - tx_pin: TX1 - baud_rate: 115200 - -# Register the Tuya MCU connection -tuya: - -# Main light entity -light: - - platform: "tuya" - id: dimmer - name: "Wall Dimmer" - dimmer_datapoint: 2 # Brightness - switch_datapoint: 1 # On/Off - min_value: 10 # adjust if min brightness is too high/low - max_value: 1000 # DP2 scale (check by dimming in app/original fw) - - -# Minimum brightness (user adjustable) -number: - - platform: "tuya" - id: min_brightness - name: "Min Brightness" - number_datapoint: 3 - min_value: 0 - max_value: 1000 - step: 10 - entity_category: config - -select: - - platform: "tuya" - id: load_type - name: "Load Type" - enum_datapoint: 4 - options: - 0: "LED" - 1: "Incandescent" - 2: "Halogen" - entity_category: config - - - platform: "tuya" - id: indicator_led - name: "Indicator LED" - enum_datapoint: 21 - options: - 0: "On" - 1: "Follow Load" - 2: "Off" - entity_category: config - +```yaml file=config.yaml ```