diff --git a/copy2esphome/ulanzi-easy.yaml b/copy2esphome/ulanzi-easy.yaml index 0ef27a1..8732152 100644 --- a/copy2esphome/ulanzi-easy.yaml +++ b/copy2esphome/ulanzi-easy.yaml @@ -64,10 +64,12 @@ esphome: - ds1307.read_time: output: - - platform: gpio + - platform: ledc pin: $buzzer_pin - id: quiet_please + id: rtttl_out +rtttl: + output: rtttl_out esp32: board: esp32dev @@ -103,6 +105,13 @@ logger: level: WARN api: + services: + - service: tune + variables: + tune: string + then: + - rtttl.play: + rtttl: !lambda 'return tune;' sensor: - platform: sht3xd @@ -178,7 +187,7 @@ light: type: GRB internal: true variant: WS2812 - pin: $ledpin + pin: $matrix_pin num_leds: 256 color_correct: [30%, 30%, 30%] gamma_correct: 2.0