Splitting addon climate

This commit is contained in:
Edward Firmo
2023-10-18 10:00:40 +02:00
parent 62e755042c
commit af15ec6b79
6 changed files with 449 additions and 538 deletions

View File

@@ -16,6 +16,17 @@ time:
- component.update: api_timestamp
- component.update: device_timestamp
api:
services:
##### Service to play a rtttl tones #####
# Example tones : https://codebender.cc/sketch:109888#RTTTL%20Songs.ino
- service: play_rtttl
variables:
song_str: string
then:
- rtttl.play:
rtttl: !lambda 'return song_str;'
button:
##### EXIT REPARSE TFT DISPLAY #####
- name: ${device_name} Exit reparse
@@ -32,17 +43,6 @@ button:
id: tf_uart
data: [0xFF, 0xFF, 0xFF]
api:
services:
##### Service to play a rtttl tones #####
# Example tones : https://codebender.cc/sketch:109888#RTTTL%20Songs.ino
- service: play_rtttl
variables:
song_str: string
then:
- rtttl.play:
rtttl: !lambda 'return song_str;'
sensor:
##### Uptime Sensors #####
- name: ${device_name} Uptime seconds