mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 12:10:28 +00:00
Update more speech logic to use OpenAI. #1368
This commit is contained in:
@@ -56,13 +56,13 @@ automation:
|
||||
group: 'information'
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
value1: "Please be aware that the hot water has dropped below 30% availability. Please consider taking a shower at another time."
|
||||
value1: "Please be aware that the hot water has dropped below 30% availability. Please consider taking a shower at another time. Gallons used today: {{sensor.phyn_daily_water_usage}}"
|
||||
|
||||
- wait_template: "{{ states('sensor.rheem_wh_available_hot_water')|float > 50 }}"
|
||||
timeout: '01:00:00' # Adjust timeout as needed
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
value1: "The available hot water is now above 50%. Normal showering can resume."
|
||||
value1: "The available hot water is now above 50%. Normal showering can resume. Gallons used today: {{sensor.phyn_daily_water_usage}}"
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user