home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.06k stars 30.18k forks source link

Unexpected Error During Intent Recognition with OpenAI Integration in Home Assistant #119850

Open alingardelaware opened 3 months ago

alingardelaware commented 3 months ago

Edit: I have attached the log here, in case the copy/pasted logs below become difficult to parse. home-assistant_openai_conversation_2024-06-17T15-40-44.168Z.log

The problem

Hello. I have been attempting to troubleshoot an issue or potential bug that I am experiencing with Assist using the OpenAI Conversation integration.

Specifically, I note that I can use the OpenAI integration with Assist control when I first start up Home Assistant. I can speak or type to the assistant, and it will respond -- I am able to control all exposed entities in my home.

However, after a period of time (unknown), the agent will begin rejecting user inputs ("Turn on the kitchen lights" to "Hello" to "Test Message"), giving the response 'Unexpected error during intent recognition' in a red bubble. This occurs when I speak or when I type to the assistant.

I can restart Home Assistant and the OpenAI integration will work again for a while, before it begins experiencing issues again. I do not have logs to support the following notion, but it seems to occur shortly after I have the integration change the state of an entity.

At all times, I can switch and use the 'Home Assistant' (without OpenAI) conversation agent without issue and I can also use the OpenAI integration in 'No Control' format for Assist. The OpenAI integration without Assist control can respond back and tell me states of entities, but it is unable to control them.

I cannot tell if this is a bug or if my system simply has some odd property with it, causing the OpenAI integration to have issues.

Thank you for your time and any assistance that you may have.

What version of Home Assistant Core has the issue?

core-2024.6.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

OpenAI Conversation

Link to integration documentation on our website

https://www.home-assistant.io/integrations/openai_conversation/

Diagnostics information

2024-06-17 09:18:47.980 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_miot which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-06-17 09:18:47.984 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alarmo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-06-17 09:18:47.987 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration elevenlabs_tts which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-06-17 09:18:47.992 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration frigate which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-06-17 09:18:47.996 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-06-17 09:19:00.783 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'xiaomi_miot' at custom_components/xiaomi_miot/init.py, line 208: with open(os.path.dirname(file) + '/core/miot_specs_extend.json') as file: (offender: /config/custom_components/xiaomi_miot/init.py, line 208: with open(os.path.dirname(file) + '/core/miot_specs_extend.json') as file:), please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component result = await _async_setup_component(hass, domain, config) File "/usr/src/homeassistant/homeassistant/setup.py", line 402, in _async_setup_component result = await task File "/config/custom_components/xiaomi_miot/init.py", line 208, in async_setup with open(os.path.dirname(file) + '/core/miot_specs_extend.json') as file:

2024-06-17 09:19:08.733 WARNING (MainThread) [homeassistant.components.heos] 192.168.1.42 is not logged in to a HEOS account and will be unable to retrieve HEOS favorites: Use the 'heos.sign_in' service to sign-in to a HEOS account 2024-06-17 09:19:22.565 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues 2024-06-17 09:19:49.109 WARNING (MainThread) [zigpy_znp.zigbee.application] Your network is using the insecure Zigbee2MQTT network key! 2024-06-17 09:19:55.071 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('zha', '79c62ef95f319509a3c80a36eec3c964'): 891851.592573609} 2024-06-17 09:20:00.265 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.helpers.event. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from event directly at custom_components/hacs/base.py, line 630: self.hass.helpers.event.async_track_time_interval(, please create a bug report at https://github.com/hacs/integration/issues 2024-06-17 09:20:01.255 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by integration 'openai_conversation' at homeassistant/components/openai_conversation/conversation.py, line 212: result = await client.chat.completions.create( (offender: /usr/local/lib/python3.12/site-packages/distro/distro.py, line 1099: with open(self.os_release_file, encoding="utf-8") as release_file:), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+openai_conversation%22 Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/websocket_api.py", line 245, in websocket_run run_task = hass.async_create_task(pipeline_input.execute()) File "/usr/src/homeassistant/homeassistant/core.py", line 806, in async_create_task return self.async_create_task_internal(target, name, eager_start) File "/usr/src/homeassistant/homeassistant/core.py", line 828, in async_create_task_internal task = create_eagertask(target, name=name, loop=self.loop) File "/usr/src/homeassistant/homeassistant/util/async.py", line 37, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 1414, in execute tts_input = await self.run.recognize_intent( File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 994, in recognize_intent conversation_result = await conversation.async_converse( File "/usr/src/homeassistant/homeassistant/components/conversation/agent_manager.py", line 108, in async_converse result = await method(conversation_input) File "/usr/src/homeassistant/homeassistant/components/conversation/entity.py", line 45, in internal_async_process return await self.async_process(user_input) File "/usr/src/homeassistant/homeassistant/components/openai_conversation/conversation.py", line 212, in async_process result = await client.chat.completions.create(

2024-06-17 09:21:08.787 DEBUG (MainThread) [homeassistant.components.openai_conversation] Prompt: [{'role': 'system', 'content': "Current time is 09:21:08. Today's date is 2024-06-17.\nYou are a voice assistant for Home Assistant.\nAnswer in plain text. Keep it simple and to the point.\nWhen controlling Home Assistant always call the intent tools. Use HassTurnOn to lock and HassTurnOff to unlock a lock. When controlling a device, prefer passing just its name and its domain (what comes before the dot in its entity id). When controlling an area, prefer passing just area name and domain.\nWhen a user asks to turn on all devices of a specific type, ask user to specify an area, unless there is only one device of that type.\nThis device does not support timers.\nAn overview of the areas and the devices in this smart home:\nscene.colorful:\n names: Home (Colors 1)\n state: '2023-08-03T18:06:42.681116+00:00'\n areas: Homewide\nscene.master_bedroom_extra_colorful:\n names: Master Bedroom (100 Spectrum)\n state: '2024-06-10T03:15:33.775942+00:00'\n areas: Master Bedroom\nscene.home_light_normal_warm:\n names: Home (Warm Bright)\n state: '2023-06-12T01:54:26.166313+00:00'\n areas: Homewide\nscene.homewide_sans_bedroom_colors_2:\n names: Home (Colors 2)\n state: '2023-09-28T00:26:59.308371+00:00'\n areas: Homewide\nscene.home_neutral_normal:\n names: Home (Neutral Bright)\n state: '2023-04-13T18:45:22.225454+00:00'\nscene.home_warm_low:\n names: Home (Warm Low)\n state: '2023-06-12T23:11:56.717927+00:00'\nscene.home_neutral_low:\n names: Home (Neutral Low)\n state: '2023-04-12T11:31:55.911297+00:00'\nscene.home_colors_3:\n names: Home (Colors 3)\n state: '2023-08-13T03:26:59.541628+00:00'\nscene.home_warm_medium:\n names: Home (Warm Medium)\n state: '2023-04-12T15:50:57.860115+00:00'\nscene.bedroom_100_green:\n names: Bedroom (100 Light Spectrum)\n state: '2024-06-09T23:03:21.726260+00:00'\n areas: Bedroom\nscene.dining_room_100_trans:\n names: Dining Room (100 Trans)\n state: '2024-04-20T23:07:17.162516+00:00'\n areas: Dining Room\nscene.dining_room_100_primary_alt:\n names: Dining Room (100 Primary Alt)\n state: '2024-04-29T00:10:34.375068+00:00'\n areas: Dining Room\nscene.dining_room_red_orange:\n names: Dining Room (100 Red Orange)\n state: '2024-04-06T02:16:15.724334+00:00'\n areas: Dining Room\nscene.bedroom_spectrum:\n names: Bedroom (100 Spectrum)\n state: '2024-06-17T11:37:14.589763+00:00'\n areas: Bedroom\nscene.bedroom_alt_spectrum:\n names: Bedroom (100 Alt-Spectrum)\n state: '2024-06-15T19:41:56.075191+00:00'\n areas: Bedroom\nscene.master_bedroom_100_alt_spectrum:\n names: Master Bedroom (100 Alt Spectrum)\n state: '2024-06-12T01:43:22.868000+00:00'\nscene.bedroom_red_spectrum:\n names: Bedroom Red Spectrum\n state: '2024-06-15T23:25:19.113703+00:00'\n areas: Bedroom\nscene.family_room_lights_gaming:\n names: Family Room lights (Gaming)\n state: '2024-06-17T02:32:07.101451+00:00'\n areas: Family Room\nscript.alarmo_siren:\n names: Alarm Panel Siren Start\n state: 'off'\nscript.alarmo_siren_stop:\n names: Alarm Panel Siren Stop\n state: 'off'\ntodo.shopping_list:\n names: Shopping List\n state: '1'\nswitch.pi_hole:\n names: Pi-Hole\n state: 'on'\n areas: Tech Nook\nhumidifier.deerma_jsq2w_154d_humidifier:\n names: Grow Tent Humidifier Humidifier\n state: 'off'\n areas: Mobile\n attributes:\n humidity: 40\n device_class: humidifier\nmedia_player.family_room_tv:\n names: Family Room TV\n state: 'off'\n areas: Family Room\n attributes:\n device_class: tv\nsensor.t6_thermostat_air_temperature:\n names: T6 Thermostat Air temperature\n state: '68.0'\n areas: Entryway\n attributes:\n unit_of_measurement: °F\n device_class: temperature\nsensor.t6_thermostat_humidity:\n names: T6 Thermostat Humidity\n state: '70.0'\n areas: Entryway\n attributes:\n unit_of_measurement: '%'\n device_class: humidity\nsensor.closet_multisensor_air_temperature:\n names: Closet MultiSensor Air temperature\n state: '67.7'\n areas: Closet\n attributes:\n unit_of_measurement: °F\n device_class: temperature\nsensor.closet_multisensor_humidity:\n names: Closet MultiSensor Humidity\n state: '65.0'\n areas: Closet\n attributes:\n unit_of_measurement: '%'\n device_class: humidity\nswitch.grow_tent_oscillating_fan:\n names: 'Grow Tent Oscillating Fan '\n state: 'on'\n areas: Grow Tent\nswitch.grow_tent_air_filter:\n names: 'Grow Tent Air Filter '\n state: 'on'\n areas: Grow Tent\nswitch.exterior_south_plug:\n names: 'Exterior South Plug '\n state: 'off'\n areas: Exterior\nswitch.exterior_north_plug:\n names: 'Exterior North Plug '\n state: 'off'\n areas: Exterior\nbinary_sensor.front_door_ring_keypad_motion_detection:\n names: Front Door Ring Keypad Motion detection\n state: 'off'\n areas: Entryway\n attributes:\n device_class: motion\nbinary_sensor.attic_door_sensor_window_door_is_open:\n names: Attic Door sensor Window/door is open\n state: 'off'\n areas: Attic\n attributes:\n device_class: door\nbinary_sensor.attic_door_sensor_window_door_is_open_2:\n names: Attic Door sensor Window/door is open\n state: 'off'\n areas: Attic\n attributes:\n device_class: door\nbinary_sensor.rear_door_ring_keypad_motion_detection:\n names: Rear Door Ring Keypad Motion detection\n state: 'off'\n areas: Family Room\n attributes:\n device_class: motion\nbinary_sensor.closet_multisensor_motion_detection:\n names: Closet MultiSensor Motion detection\n state: 'off'\n areas: Closet\n attributes:\n device_class: motion\nclimate.t6_thermostat:\n names: 'T6 Thermostat '\n state: cool\n areas: Entryway\n attributes:\n current_temperature: 68\n temperature: 68\nmedia_player.onn_streaming_device_4k_pro:\n names: Family Room TV\n state: 'off'\nsensor.north_feeder_person_count:\n names: North Feeder Person Count\n state: '0'\n areas: Exterior\n attributes:\n unit_of_measurement: objects\nsensor.grow_tent_person_count:\n names: Grow Tent Person Count\n state: '0'\n areas: Grow Tent\n attributes:\n unit_of_measurement: objects\nsensor.mobile_person_count:\n names: Mobile Person Count\n state: '0'\n areas: Homewide\n attributes:\n unit_of_measurement: objects\nsensor.front_parking_person_count:\n names: Front Parking Person Count\n state: '0'\n areas: Exterior\n attributes:\n unit_of_measurement: objects\nsensor.back_parking_person_count:\n names: Back Parking Person Count\n state: '0'\n areas: Exterior\n attributes:\n unit_of_measurement: objects\nsensor.front_entry_person_count:\n names: Front Entry Person Count\n state: '0'\n areas: Exterior\n attributes:\n unit_of_measurement: objects\nsensor.back_entry_person_count:\n names: Back Entry Person Count\n state: '0'\n areas: Exterior\n attributes:\n unit_of_measurement: objects\nsensor.south_ac_person_count:\n names: South Ac Person Count\n state: '0'\n areas: Exterior\n attributes:\n unit_of_measurement: objects\nbinary_sensor.back_parking_camera_motion:\n names: Back Parking Camera Motion\n state: 'off'\n areas: Exterior\n attributes:\n device_class: motion\nbinary_sensor.front_parking_camera_motion:\n names: Front Parking Camera Motion\n state: 'off'\n areas: Exterior\n attributes:\n device_class: motion\nbinary_sensor.back_entry_camera_motion:\n names: Back Entry Camera Motion\n state: 'off'\n areas: Exterior\n attributes:\n device_class: motion\nbinary_sensor.north_feeder_camera_motion:\n names: North Feeder Camera Motion\n state: 'on'\n areas: Exterior\n attributes:\n device_class: motion\nbinary_sensor.front_entry_camera_motion:\n names: Front Entry Camera Motion\n state: 'off'\n areas: Exterior\n attributes:\n device_class: motion\nbinary_sensor.mobile_camera_motion:\n names: Mobile Camera Motion\n state: 'off'\n areas: Homewide\n attributes:\n device_class: motion\nbinary_sensor.south_ac_camera_motion:\n names: South AC Camera Motion\n state: 'off'\n areas: Exterior\n attributes:\n device_class: motion\nbinary_sensor.grow_tent_camera_motion:\n names: Grow Tent Camera Motion\n state: 'off'\n areas: Grow Tent\n attributes:\n device_class: motion\nbinary_sensor.kitchen_leak_detector_opening:\n names: Kitchen Leak Detector Opening\n state: unavailable\n areas: Kitchen\n attributes:\n device_class: opening\nlight.dining_room_bulb_1_mintransitionlight:\n names: Dining Room bulb 1 Mintransitionlight\n state: 'off'\n areas: Dining Room\n attributes:\n brightness:\nlight.dining_room_bulb_3_mintransitionlight_2:\n names: Dining Room bulb 3 Mintransitionlight\n state: 'off'\n areas: Dining Room\n attributes:\n brightness:\nlight.dining_room_bulb_2_mintransitionlight_3:\n names: Dining Room bulb 2 Mintransitionlight\n state: 'off'\n areas: Dining Room\n attributes:\n brightness:\nlight.front_door_bulb_mintransitionlight_4:\n names: Front Door bulb Mintransitionlight\n state: 'off'\n areas: Exterior\n attributes:\n brightness:\nlight.rear_door_bulb_mintransitionlight:\n names: Rear Door bulb Mintransitionlight\n state: 'off'\n areas: Exterior\n attributes:\n brightness:\nlight.entryway_lamp_mintransitionlight:\n names: Entryway Lamp Mintransitionlight\n state: 'on'\n areas: Entryway\n attributes:\n brightness: 5\nlight.bedroom_bathroom_bulb_left_mintransitionlight:\n names: Bedroom Bathroom bulb left Mintransitionlight\n state: 'on'\n areas: Bedroom Bathroom\n attributes:\n brightness: 254\nlight.bedroom_bathroom_bulb_right_mintransitionlight:\n names: Bedroom Bathroom bulb right Mintransitionlight\n state: 'on'\n areas: Bedroom Bathroom\n attributes:\n brightness: 254\nlight.family_room_entertainment_stand_mintransitionlight:\n names: Family Room entertainment stand Mintransitionlight\n state: 'on'\n areas: Family Room\n attributes:\n brightness: 178\nlight.master_bedroom_ceiling_bulb_1_light:\n names: Master Bedroom ceiling bulb 1 Light\n state: 'on'\n areas: Master Bedroom\n attributes:\n brightness: 254\nlight.master_bedroom_ceiling_bulb_2_mintransitionlight:\n names: Master Bedroom ceiling bulb 2 Mintransitionlight\n state: 'on'\n areas: Master Bedroom\n attributes:\n brightness: 254\nlight.master_bedroom_ceiling_bulb_3_mintransitionlight:\n names: Master Bedroom ceiling bulb 3 Mintransitionlight\n state: 'on'\n areas: Master Bedroom\n attributes:\n brightness: 254\nlight.master_bedroom_ceiling_bulb_4_mintransitionlight:\n names: Master Bedroom ceiling bulb 4 Mintransitionlight\n state: 'on'\n areas: Master Bedroom\n attributes:\n brightness: 254\nlight.master_bedroom_ceiling_bulb_5_mintransitionlight:\n names: Master Bedroom ceiling bulb 5 Mintransitionlight\n state: 'on'\n areas: Master Bedroom\n attributes:\n brightness: 254\nlight.nursery_ceiling_light_1_mintransitionlight:\n names: Nursery ceiling light 1 Mintransitionlight\n state: 'on'\n areas: Bedroom\n attributes:\n brightness: 254\nlight.nursery_ceiling_light_2_mintransitionlight:\n names: Nursery ceiling light 2 Mintransitionlight\n state: 'on'\n areas: Bedroom\n attributes:\n brightness: 254\nlight.nursery_ceiling_light_3_mintransitionlight:\n names: Nursery ceiling light 3 Mintransitionlight\n state: 'on'\n areas: Bedroom\n attributes:\n brightness: 254\nlight.nursery_ceiling_light_4_mintransitionlight:\n names: Nursery ceiling light 4 Mintransitionlight\n state: 'on'\n areas: Bedroom\n attributes:\n brightness: 254\nlight.nursery_ceiling_light_5_mintransitionlight:\n names: Nursery ceiling light 5 Mintransitionlight\n state: 'on'\n areas: Bedroom\n attributes:\n brightness: 254\nlight.utility_room_bulb_mintransitionlight:\n names: Utility Room bulb Mintransitionlight\n state: 'on'\n areas: Utility Room\n attributes:\n brightness: 254\nlight.closet_bulb_mintransitionlight:\n names: Closet bulb Mintransitionlight\n state: 'on'\n areas: Closet\n attributes:\n brightness: 254\nlight.attic_bulb_1_light:\n names: Attic bulb 1 Light\n state: 'off'\n areas: Attic\n attributes:\n brightness:\nlight.attic_bulb_2_light:\n names: Attic bulb 2 Light\n state: 'off'\n areas: Attic\n attributes:\n brightness:\nlight.attic_bulb_3_light:\n names: Attic bulb 3 Light\n state: 'off'\n areas: Attic\n attributes:\n brightness:\nlight.attic_bulb_4_light:\n names: Attic bulb 4 Light\n state: 'off'\n areas: Attic\n attributes:\n brightness:\nlight.family_room_upper_shelf_light:\n names: Family Room Upper Shelf Light\n state: 'on'\n areas: Family Room\n attributes:\n brightness: 204\nlight.family_room_lower_shelf_light:\n names: Family Room Lower Shelf Light\n state: 'on'\n areas: Family Room\n attributes:\n brightness: 204\nlight.exterior_lights:\n names: Exterior Lights\n state: 'off'\n areas: Dining Room\n attributes:\n brightness:\nlight.interior_lights:\n names: Interior Lights\n state: 'on'\n areas: Dining Room\n attributes:\n brightness: 233\nlight.all_home_lights:\n names: All Home Lights\n state: 'on'\n areas: Dining Room\n attributes:\n brightness: 233\nlight.family_room_ambient:\n names: Family Room Ambient\n state: 'on'\n areas: Dining Room\n attributes:\n brightness: 195\nlight.bedroom_bathroom_lights:\n names: Bedroom Bathroom Lights\n state: 'on'\n areas: Dining Room\n attributes:\n brightness: 254\nlight.master_bedroom_lights:\n names: Master Bedroom Lights\n state: 'on'\n areas: Dining Room\n attributes:\n brightness: 254\nlight.nursery_lights:\n names: Nursery Lights\n state: 'on'\n areas: Dining Room\n attributes:\n brightness: 254\nlight.attic_lights:\n names: Attic Lights\n state: 'off'\n areas: Dining Room\n attributes:\n brightness:\nlight.dining_room_lights:\n names: Dining Room Lights\n state: 'off'\n areas: Dining Room\n attributes:\n brightness:\nsensor.bedroom_temperature_and_humidity_sensor_temperature:\n names: Bedroom Temperature and Humidity Sensor Temperature\n state: '66.7'\n areas: Bedroom\n attributes:\n unit_of_measurement: °F\n device_class: temperature\nsensor.bedroom_temperature_and_humidity_sensor_humidity:\n names: Bedroom Temperature and Humidity Sensor Humidity\n state: '71.0'\n areas: Bedroom\n attributes:\n unit_of_measurement: '%'\n device_class: humidity\nsensor.attic_temperature_and_humidity_sensor_temperature:\n names: Attic Temperature and Humidity Sensor Temperature\n state: '70.5'\n areas: Attic\n attributes:\n unit_of_measurement: °F\n device_class: temperature\nsensor.attic_temperature_and_humidity_sensor_humidity:\n names: Attic Temperature and Humidity Sensor Humidity\n state: '54.0'\n areas: Attic\n attributes:\n unit_of_measurement: '%'\n device_class: humidity\nsensor.master_bedroom_temperature_and_humidity_sensor_temperature:\n names: Master Bedroom Temperature and Humidity Sensor Temperature\n state: '67.5'\n areas: Master Bedroom\n attributes:\n unit_of_measurement: °F\n device_class: temperature\nsensor.master_bedroom_temperature_and_humidity_sensor_humidity:\n names: Master Bedroom Temperature and Humidity Sensor Humidity\n state: '71.0'\n areas: Master Bedroom\n attributes:\n unit_of_measurement: '%'\n device_class: humidity\nsensor.family_room_temperature_and_humidity_sensor_temperature:\n names: Family Room Temperature and Humidity Sensor Temperature\n state: '66.6'\n areas: Family Room\n attributes:\n unit_of_measurement: °F\n device_class: temperature\nsensor.family_room_temperature_and_humidity_sensor_humidity:\n names: Family Room Temperature and Humidity Sensor Humidity\n state: '71.0'\n areas: Family Room\n attributes:\n unit_of_measurement: '%'\n device_class: humidity\nsensor.grow_tent_temperature_and_humidity_sensor_temperature:\n names: Grow Tent Temperature and Humidity Sensor Temperature\n state: '82.2'\n areas: Grow Tent\n attributes:\n unit_of_measurement: °F\n device_class: temperature\nsensor.grow_tent_temperature_and_humidity_sensor_humidity:\n names: Grow Tent Temperature and Humidity Sensor Humidity\n state: '99.0'\n areas: Grow Tent\n attributes:\n unit_of_measurement: '%'\n device_class: humidity\nsensor.flower_one_sensor_soil_moisture:\n names: Flower one sensor Soil moisture\n state: '100.0'\n areas: Grow Tent\n attributes:\n unit_of_measurement: '%'\n device_class: humidity\nsensor.flower_one_sensor_temperature:\n names: Flower one sensor Temperature\n state: '78.8'\n areas: Grow Tent\n attributes:\n unit_of_measurement: °F\n device_class: temperature\nsensor.exterior_temperature_and_humidity_sensor_temperature:\n names: Exterior Temperature and Humidity Sensor Temperature\n state: '80.2'\n areas: Exterior\n attributes:\n unit_of_measurement: °F\n device_class: temperature\nsensor.exterior_temperature_and_humidity_sensor_humidity:\n names: Exterior Temperature and Humidity Sensor Humidity\n state: '77.0'\n areas: Exterior\n attributes:\n unit_of_measurement: '%'\n device_class: humidity\nsensor.flower_two_sensor_soil_moisture_2:\n names: Flower two sensor Soil moisture\n state: '87.0'\n areas: Grow Tent\n attributes:\n unit_of_measurement: '%'\n device_class: humidity\nsensor.flower_two_sensor_temperature_2:\n names: Flower two sensor Temperature\n state: '75.2'\n areas: Grow Tent\n attributes:\n unit_of_measurement: °F\n device_class: temperature\nsensor.ivyx_temperature_and_humidity_sensor_temperature_2:\n names: IVYX Temperature and Humidity Sensor Temperature\n state: '76.3'\n areas: Attic\n attributes:\n unit_of_measurement: °F\n device_class: temperature\nsensor.ivyx_temperature_and_humidity_sensor_humidity_2:\n names: IVYX Temperature and Humidity Sensor Humidity\n state: '81.0'\n areas: Attic\n attributes:\n unit_of_measurement: '%'\n device_class: humidity\nswitch.master_bedroom_w_plug_switch:\n names: Master Bedroom W plug Switch\n state: unavailable\n areas: Master Bedroom\nswitch.kitchen_w_wall_switch_switch:\n names: Kitchen W wall switch Switch\n state: 'off'\n areas: Kitchen\nswitch.family_room_wall_switch_back_patio_sodium_light_switch:\n names: Family Room wall switch (Back Patio Sodium Light) Switch\n state: 'off'\n areas: Family Room\nswitch.family_room_s_plug_switch:\n names: Family Room S plug Switch\n state: 'on'\n areas: Family Room\nswitch.family_room_e_plug_switch:\n names: Family Room E plug Switch\n state: 'off'\n areas: Family Room\nswitch.entryway_e_plug_switch:\n names: Entryway E plug Switch\n state: 'on'\n areas: Entryway\nswitch.attic_w_plug_switch:\n names: Attic W plug Switch\n state: 'on'\n areas: Attic\nmedia_player.plex_holley_plex_for_android_tv_chromecast_google_tv_hd:\n names: Plex (holley - Plex for Android (TV) - Chromecast Google TV (HD))\n state: unavailable\nswitch.deerma_jsq2w_154d_alarm:\n names: Grow Tent Humidifier Alarm\n state: 'on'\n areas: Mobile\nsensor.deerma_jsq2w_154d_relative_humidity:\n names: Grow Tent Humidifier Environment Relative Humidity\n state: '61.0'\n areas: Mobile\n attributes:\n unit_of_measurement: '%'\n device_class: humidity\nsensor.deerma_jsq2w_154d_temperature:\n names: Grow Tent Humidifier Environment Temperature\n state: '84.2'\n areas: Mobile\n attributes:\n unit_of_measurement: °F\n device_class: temperature\nlight.deerma_jsq2w_154d_indicator_light:\n names: Grow Tent Humidifier Indicator Light\n state: 'off'\n areas: Mobile\nfan.deerma_jsq2w_154d_fan_level:\n names: Grow Tent Humidifier Humidifier Fan Level\n state: 'off'\n areas: Mobile\nmedia_player.googletv4234:\n names: googletv4234\n state: unavailable\nmedia_player.plex_plex_for_android_tv_onn_streaming_device_4k_pro:\n names: Plex (Plex for Android (TV) - onn. Streaming Device 4K pro)\n state: unavailable\n"}, {'role': 'user', 'content': 'Test Message.'}] 2024-06-17 09:21:10.153 DEBUG (MainThread) [homeassistant.components.openai_conversation] Response ChatCompletion(id='chatcmpl-9b7WHuTC1NtPhqHMP0zk5DqXZCmDT', choices=[Choice(finish_reason='stop', index=0, message=ChatCompletionMessage(content='Hello! How can I assist you today?', role='assistant', function_call=None, tool_calls=None), logprobs=None)], created=1718634069, model='gpt-4o-2024-05-13', object='chat.completion', system_fingerprint='fp_aa87380ac5', usage=CompletionUsage(completion_tokens=10, prompt_tokens=5805, total_tokens=5815)) 2024-06-17 10:22:23.446 WARNING (MainThread) [homeassistant.components.light.reproduce_state] Unable to find entity light.living_room_lights 2024-06-17 10:32:07.768 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546616098336] Received binary message for non-existing handler 1 2024-06-17 10:32:07.817 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546616098336] Received binary message for non-existing handler 1 2024-06-17 10:32:07.849 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546616098336] Received binary message for non-existing handler 1 2024-06-17 10:32:07.880 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546616098336] Received binary message for non-existing handler 1 2024-06-17 10:32:07.936 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546616098336] Received binary message for non-existing handler 1 2024-06-17 10:32:07.937 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546616098336] Received binary message for non-existing handler 1 2024-06-17 10:32:12.845 ERROR (MainThread) [homeassistant.components.assist_pipeline.pipeline] Unexpected error during intent recognition Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 994, in recognize_intent conversation_result = await conversation.async_converse( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/conversation/agent_manager.py", line 108, in async_converse result = await method(conversation_input) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/conversation/entity.py", line 45, in internal_async_process return await self.async_process(user_input) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/openai_conversation/conversation.py", line 128, in async_process llm_api = await llm.async_get_api( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/llm.py", line 88, in async_get_api return await apis[api_id].async_get_api_instance(llm_context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/llm.py", line 282, in async_get_api_instance api_prompt=self._async_get_api_prompt(llm_context, exposed_entities), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/llm.py", line 341, in _async_get_api_prompt prompt.append(yaml.dump(exposed_entities)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/util/yaml/dumper.py", line 23, in dump return yaml.dump( ^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/init.py", line 253, in dump return dump_all([data], stream, Dumper=Dumper, kwds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/init.py", line 241, in dump_all dumper.represent(data) File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 27, in represent node = self.represent_data(data) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 48, in represent_data node = self.yaml_representers[data_types[0]](self, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 207, in represent_dict return self.represent_mapping('tag:yaml.org,2002:map', data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 118, in represent_mapping node_value = self.represent_data(item_value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 48, in represent_data node = self.yaml_representers[data_types[0]](self, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 207, in represent_dict return self.represent_mapping('tag:yaml.org,2002:map', data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 118, in represent_mapping node_value = self.represent_data(item_value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 48, in represent_data node = self.yaml_representers[data_types[0]](self, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 207, in represent_dict return self.represent_mapping('tag:yaml.org,2002:map', data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 118, in represent_mapping node_value = self.represent_data(item_value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 58, in represent_data node = self.yaml_representers[None](self, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 231, in represent_undefined raise RepresenterError("cannot represent an object", data) yaml.representer.RepresenterError: ('cannot represent an object', 203) 2024-06-17 10:40:22.617 ERROR (MainThread) [homeassistant.components.assist_pipeline.pipeline] Unexpected error during intent recognition Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 994, in recognize_intent conversation_result = await conversation.async_converse( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/conversation/agent_manager.py", line 108, in async_converse result = await method(conversation_input) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/conversation/entity.py", line 45, in internal_async_process return await self.async_process(user_input) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/openai_conversation/conversation.py", line 128, in async_process llm_api = await llm.async_get_api( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/llm.py", line 88, in async_get_api return await apis[api_id].async_get_api_instance(llm_context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/llm.py", line 282, in async_get_api_instance api_prompt=self._async_get_api_prompt(llm_context, exposed_entities), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/llm.py", line 341, in _async_get_api_prompt prompt.append(yaml.dump(exposed_entities)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/util/yaml/dumper.py", line 23, in dump return yaml.dump( ^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/init.py", line 253, in dump return dump_all([data], stream, Dumper=Dumper, kwds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/init.py", line 241, in dump_all dumper.represent(data) File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 27, in represent node = self.represent_data(data) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 48, in represent_data node = self.yaml_representers[data_types[0]](self, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 207, in represent_dict return self.represent_mapping('tag:yaml.org,2002:map', data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 118, in represent_mapping node_value = self.represent_data(item_value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 48, in represent_data node = self.yaml_representers[data_types[0]](self, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 207, in represent_dict return self.represent_mapping('tag:yaml.org,2002:map', data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 118, in represent_mapping node_value = self.represent_data(item_value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 48, in represent_data node = self.yaml_representers[data_types[0]](self, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 207, in represent_dict return self.represent_mapping('tag:yaml.org,2002:map', data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 118, in represent_mapping node_value = self.represent_data(item_value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 58, in represent_data node = self.yaml_representers[None](self, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 231, in represent_undefined raise RepresenterError("cannot represent an object", data) yaml.representer.RepresenterError: ('cannot represent an object', 203) 2024-06-17 10:40:22.753 ERROR (MainThread) [frontend.js.latest.202406100] Uncaught error from Chrome 126.0.0.0 on Windows 10 ReferenceError: Cannot access 'i' before initialization unsub (src/dialogs/voice-command-dialog/ha-voice-command-dialog.ts:390:12) callback (node_modules/home-assistant-js-websocket/dist/connection.js:23:33) forEach (node_modules/home-assistant-js-websocket/dist/connection.js:15:25) 2024-06-17 10:40:42.357 ERROR (MainThread) [homeassistant.components.assist_pipeline.pipeline] Unexpected error during intent recognition Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 994, in recognize_intent conversation_result = await conversation.async_converse( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/conversation/agent_manager.py", line 108, in async_converse result = await method(conversation_input) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/conversation/entity.py", line 45, in internal_async_process return await self.async_process(user_input) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/openai_conversation/conversation.py", line 128, in async_process llm_api = await llm.async_get_api( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/llm.py", line 88, in async_get_api return await apis[api_id].async_get_api_instance(llm_context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/llm.py", line 282, in async_get_api_instance api_prompt=self._async_get_api_prompt(llm_context, exposed_entities), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/llm.py", line 341, in _async_get_api_prompt prompt.append(yaml.dump(exposed_entities)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/util/yaml/dumper.py", line 23, in dump return yaml.dump( ^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/init.py", line 253, in dump return dump_all([data], stream, Dumper=Dumper, **kwds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/init.py", line 241, in dump_all dumper.represent(data) File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 27, in represent node = self.represent_data(data) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 48, in represent_data node = self.yaml_representers[data_types[0]](self, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 207, in represent_dict return self.represent_mapping('tag:yaml.org,2002:map', data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 118, in represent_mapping node_value = self.represent_data(item_value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 48, in represent_data node = self.yaml_representers[data_types[0]](self, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 207, in represent_dict return self.represent_mapping('tag:yaml.org,2002:map', data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 118, in represent_mapping node_value = self.represent_data(item_value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 48, in represent_data node = self.yaml_representers[data_types[0]](self, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 207, in represent_dict return self.represent_mapping('tag:yaml.org,2002:map', data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 118, in represent_mapping node_value = self.represent_data(item_value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 58, in represent_data node = self.yaml_representers[None](self, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/yaml/representer.py", line 231, in represent_undefined raise RepresenterError("cannot represent an object", data) yaml.representer.RepresenterError: ('cannot represent an object', 203) 2024-06-17 10:40:42.482 ERROR (MainThread) [frontend.js.latest.202406100] Uncaught error from Chrome 126.0.0.0 on Windows 10 ReferenceError: Cannot access 'i' before initialization unsub (src/dialogs/voice-command-dialog/ha-voice-command-dialog.ts:390:12) callback (node_modules/home-assistant-js-websocket/dist/connection.js:23:33) forEach (node_modules/home-assistant-js-websocket/dist/connection.js:15:25)

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

stage: done run: pipeline: 01j07gw1wy18eyg3sq8n5twjw0 language: en runner_data: stt_binary_handler_id: null timeout: 300 events:

home-assistant[bot] commented 3 months ago

Hey there @balloob, mind taking a look at this issue as it has been labeled with an integration (openai_conversation) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `openai_conversation` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign openai_conversation` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


openai_conversation documentation openai_conversation source (message by IssueLinks)

Herbi-1966 commented 3 months ago

Unfortunatly: same here

Izaic commented 3 months ago

Having the same issue. Just setup the integration, however it did work for a minute and then stopped.

miracle2k commented 3 months ago

Possible fixed via https://github.com/home-assistant/core/issues/119175

alingardelaware commented 3 months ago

Unfortunately, this issues persists with the new July update. I did take a look at the thread that miracle2k shared, however I do not know if it applies to this situation.

Otherwise, homeassistant works as normal. I just cannot use OpenAI to control devices or entities.

mija87 commented 2 months ago

Im also have this issue since the July update..

cbgregg commented 2 months ago

Sad, same boat here