Shelly DUO GU10

esp8266 eu Comes with ESPHome light

GPIO Pinout

PinFunction
GPIO4Temprature
GPIO5Brightness
This template was made using the Tasmota template found here with the GPIO conversion in the Tasmota docs.
esphome:
  name: your-name
esp8266:
  board: esp01_1m
  restore_from_flash: true
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
  password: !secret ota_password
  safe_mode: true
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "YourSSID"
    password: !fallback_password
captive_portal:
  
output:
  - platform: esp8266_pwm
    id: warm_white
    pin: GPIO4
  - platform: esp8266_pwm
    id: brightness
    pin: GPIO5
light:
  - platform: cwww
    name: Your device name
    warm_white: warm_white
    cold_white: brightness
    cold_white_color_temperature: 6500 K
    warm_white_color_temperature: 2700 K