I am using Google Generative AI successfully in my HA installation. However, when I type or ask it “when is sunset” it provides me a time that is UTC time (e.g. “tomorrow at 12:21 AM”), the time should be “8:21 PM”.
I asked “what is the source of sunset time” and the response is “The sunset time is coming from the ‘sun.sun’ entity in your Home Assistant instance.”
The same happens for sunrise. But, when I ask “what time is it”, the reply is my local time.
Is this a GenAI issue, or an HA issue? Any way to fix it?
I have the same issue. My HA time zone setting is correct. The sun sensor shows the correct time in my time zone however the Google AI assistant is giving the sunset time incorrectly.
I asked the AI assistant:
for the time zone : correct
for the current time : correct
for the time of sunset : incorrect
The AI response to the last question is “The sun will set at 2:15 PM today.”. The correct answer should be 7:15PM and the sun sensor shows 7:15PM as the sun set time as well.