From 33c9e32b7cf4cfa12a1cdaa365ad20a9f086e740 Mon Sep 17 00:00:00 2001 From: LuBeDa Date: Sun, 21 May 2023 17:07:27 +0200 Subject: [PATCH] fixed rtttl --- tests/ulanzi-easy.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tests/ulanzi-easy.yaml b/tests/ulanzi-easy.yaml index 9977dc8..8732152 100644 --- a/tests/ulanzi-easy.yaml +++ b/tests/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