My final results should be a number of my thermostat settings, there could be an easier way, with less steps, but this is what I’m trying to do:
- id: '1735330889609'
alias: Get heat livingroom
description: ''
triggers:
- minutes: /20
trigger: time_pattern
conditions: []
actions:
- data:
command: Hey Google, what is the temperature on heat living room?
media_player: media_player.nest_hub
response_variable: assistant_response
action: google_assistant_sdk.send_text_command
- target:
entity_id: input_text.stue_varme_assistant_svar
data:
value: '{{ assistant_response }}'
action: input_text.set_value
mode: single
So I want the reply to from google, to go into a text helper, then I imagine I can find a formula to only extact the number said in the text: The temperature in the living room is 20 degree Celsius.
So far my respons in my current setup is: {‘responses’: [{‘text’: None}]} and another strang thing is that it’s not pushing things to the input_text.stue_varme_assistant_svar, it did it 2 days ago, but not every when the the automation is running.
Does anyone have an idea how to accomplish what I need. The reason for me to do this, is that I bought my thermostats just before I started with HA, and they don’t really intigrate very well, but they run smoothly on Google Home and assistant