fixed rtttl

pull/17/head
LuBeDa 3 years ago
parent bf34405f07
commit 33c9e32b7c

@ -64,10 +64,12 @@ esphome:
- ds1307.read_time: - ds1307.read_time:
output: output:
- platform: gpio - platform: ledc
pin: $buzzer_pin pin: $buzzer_pin
id: quiet_please id: rtttl_out
rtttl:
output: rtttl_out
esp32: esp32:
board: esp32dev board: esp32dev
@ -103,6 +105,13 @@ logger:
level: WARN level: WARN
api: api:
services:
- service: tune
variables:
tune: string
then:
- rtttl.play:
rtttl: !lambda 'return tune;'
sensor: sensor:
- platform: sht3xd - platform: sht3xd

Loading…
Cancel
Save