Update more speech logic to use OpenAI. #1368

This commit is contained in:
CCOSTAN
2024-05-25 00:23:12 +00:00
parent 1ce3d22013
commit 12104c2e83
12 changed files with 29 additions and 232 deletions

View File

@@ -63,7 +63,7 @@
- service: script.speech_engine
data:
value1: "It is getting a little dark inside the house because of the {{trigger.entity_id.split('_')[2]|replace('precip','rain')|replace('counter','lightning')|replace('carlo','rain') }} {{trigger.entity_id.split('_')[3]|replace('intensity',' ')| replace('carlo','and clouds')}} outside. I will turn on some extra lights in the living room."
value1: "Because of the {{trigger.entity_id.split('_')[2]|replace('precip','rain')|replace('counter','lightning')|replace('carlo','rain') }} {{trigger.entity_id.split('_')[3]|replace('intensity',' ')| replace('carlo','and clouds')}} outside. I will turn on some extra lights in the living room."
call_window_check: 1
call_garage_check: 1