These are not all entities, you have forecast disabled.
I donât see it in the list of disabled. How can I enable it?
Hi, I have updated and now supervisor shows as cannot be configured under Integrations.
I see this error in the log:
Logger: homeassistant.config_entries
Source: components/hassio/handler.py:534
First occurred: 09:24:37 (1 occurrences)
Last logged: 09:24:37
Error setting up entry Supervisor for hassio
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 649, in async_setup_entry
await coordinator.async_config_entry_first_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 251, in async_config_entry_first_refresh
await self._async_refresh(
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 957, in _async_refresh
await self.hassio.refresh_updates()
File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 36, in _wrapper
data = await funct(*argv, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 534, in send_command
request = await self.websession.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 560, in _request
await resp.start(conn)
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 899, in start
message, payload = await protocol.read() # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
asyncio.exceptions.CancelledError
Iâm on this version:
Home Assistant 2023.6.0
Supervisor 2023.06.1
Operating System 10.2
Frontend 20230607.0 - latest
Not sure if this question has been asked already but I could not find it.
Regarding the new backup to network location feature, does that disable local backups to the SD-card if running on a Pi? Or does the backups get written to both the SD-card and the network storage?
If only network storage is used, what happens if that goes offline? Will it write to SD-card again instead?
Yes it is.
Broke? Very technical post thanks. Thatâll help fix it.
This release has really screwed my installation (yes, I read the release notes and dealt with breaking changes)
It boots then sticks on âHome Assistant is starting.â despite MQTT showing as loaded, none of my Zigbee devices are accessible.
Logs:
023-06-08 09:00:02.184 ERROR (DbWorker_0) [homeassistant.components.recorder.util] Error executing query: Can't reconnect until invalid transaction is rolled back. Please rollback() fully before proceeding (Background on this error at: https://sqlalche.me/e/20/8s2b)
2023-06-08 09:00:02.287 ERROR (DbWorker_0) [homeassistant.components.recorder.util] Error executing query: Can't reconnect until invalid transaction is rolled back. Please rollback() fully before proceeding (Background on this error at: https://sqlalche.me/e/20/8s2b)
2023-06-08 09:00:02.289 ERROR (DbWorker_0) [homeassistant.components.recorder.util] Error executing query: Can't reconnect until invalid transaction is rolled back. Please rollback() fully before proceeding (Background on this error at: https://sqlalche.me/e/20/8s2b)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/recorder/util.py", line 130, in session_scope
yield session
File "/usr/src/homeassistant/homeassistant/components/logbook/processor.py", line 149, in get_events
instance.states_meta_manager.get_many(
File "/usr/src/homeassistant/homeassistant/components/recorder/table_managers/states_meta.py", line 108, in get_many
for metadata_id, entity_id in execute_stmt_lambda_element(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/recorder/util.py", line 219, in execute_stmt_lambda_element
executed = session.execute(stmt)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2232, in execute
return self._execute_internal(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2127, in _execute_internal
result: Result[Any] = compile_state_cls.orm_execute_statement(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/context.py", line 293, in orm_execute_statement
result = conn.execute(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1413, in execute
return meth(
^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/sql/lambdas.py", line 605, in _execute_on_connection
return connection._execute_clauseelement(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1637, in _execute_clauseelement
ret = self._execute_context(
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1810, in _execute_context
conn = self._revalidate_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 665, in _revalidate_connection
self._invalid_transaction()
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 655, in _invalid_transaction
raise exc.PendingRollbackError(
sqlalchemy.exc.PendingRollbackError: Can't reconnect until invalid transaction is rolled back. Please rollback() fully before proceeding (Background on this error at: https://sqlalche.me/e/20/8s2b)
2023-06-08 09:00:02.311 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140292905786320] Error handling message: Unknown error (unknown_error) Jimmy from 192.168.0.77 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/logbook/websocket_api.py", line 377, in ws_event_stream
last_event_time = await _async_send_historical_events(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/logbook/websocket_api.py", line 105, in _async_send_historical_events
message, last_event_time = await _async_get_ws_stream_events(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/logbook/websocket_api.py", line 170, in _async_get_ws_stream_events
return await get_instance(hass).async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/logbook/websocket_api.py", line 201, in _ws_stream_get_events
events = event_processor.get_events(start_day, end_day)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/logbook/processor.py", line 149, in get_events
instance.states_meta_manager.get_many(
File "/usr/src/homeassistant/homeassistant/components/recorder/table_managers/states_meta.py", line 108, in get_many
for metadata_id, entity_id in execute_stmt_lambda_element(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/recorder/util.py", line 219, in execute_stmt_lambda_element
executed = session.execute(stmt)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2232, in execute
return self._execute_internal(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2127, in _execute_internal
result: Result[Any] = compile_state_cls.orm_execute_statement(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/context.py", line 293, in orm_execute_statement
result = conn.execute(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1413, in execute
return meth(
^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/sql/lambdas.py", line 605, in _execute_on_connection
return connection._execute_clauseelement(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1637, in _execute_clauseelement
ret = self._execute_context(
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1810, in _execute_context
conn = self._revalidate_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 665, in _revalidate_connection
self._invalid_transaction()
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 655, in _invalid_transaction
raise exc.PendingRollbackError(
sqlalchemy.exc.PendingRollbackError: Can't reconnect until invalid transaction is rolled back. Please rollback() fully before proceeding (Background on this error at: https://sqlalche.me/e/20/8s2b)
2023-06-08 09:01:02.383 WARNING (Thread-6) [pychromecast.socket_client] [Office Display(192.168.0.246):8009] Heartbeat timeout, resetting connection
In the integration settings.
I assume you are using z2m. There have been 2 updates to the addon today. Dunno if updating helps. My z2m is fine.
Hi All,
I Have some sensors using now and they need to move to âcommand_lineâ domain. But get errors on everything i try:
'Invalid config for [command_line]: expected a dictionary for dictionary value @ data['command_line'][0]['sensor']. Got None. (See /config/configuration.yaml, line 82).
- platform: command_line
unique_id: "93a52226-7ba7-494b-bfdf-817902920d70"
name: "Birthday"
command: "cat /config/package/json/calendar.json"
scan_interval: 21600
value_template: >-
{% set today = now().month ~ '/' ~ now().day %}
{% set birthday = value_json.json_calendars.birthday[ today ] %}
{% if birthday | trim == "" %}
{% set birthday = "Nothing" %}
{% endif %}
{{ birthday }}
to:
sensor:
- name: "Birthday test"
command: "cat /config/package/json/calendar.json"
scan_interval: 21600
value_template: >-
{% set today = now().month ~ '/' ~ now().day %}
{% set birthday = value_json.json_calendars.birthday[ today ] %}
{% if birthday | trim == "" %}
{% set birthday = "Nothing" %}
{% endif %}
{{ birthday }}
what do i wrong?
Anyone else getting this bleutooth error after update to 2023.6?
Logger: homeassistant.util.package
Source: util/package.py:107
First occurred: 11:26:08 (9 occurrences)
Last logged: 11:33:14
Unable to install package pybluez==0.22: error: subprocess-exited-with-error Ă python setup.py bdist_wheel did not run successfully. â exit code: 1 â°â> [19 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-aarch64-cpython-311 creating build/lib.linux-aarch64-cpython-311/bluetooth copying bluetooth/init.py â build/lib.linux-aarch64-cpython-311/bluetooth copying bluetooth/widcomm.py â build/lib.linux-aarch64-cpython-311/bluetooth copying bluetooth/osx.py â build/lib.linux-aarch64-cpython-311/bluetooth copying bluetooth/msbt.py â build/lib.linux-aarch64-cpython-311/bluetooth copying bluetooth/btcommon.py â build/lib.linux-aarch64-cpython-311/bluetooth copying bluetooth/bluez.py â build/lib.linux-aarch64-cpython-311/bluetooth copying bluetooth/ble.py â build/lib.linux-aarch64-cpython-311/bluetooth running build_ext building âbluetooth._bluetoothâ extension creating build/temp.linux-aarch64-cpython-311 creating build/temp.linux-aarch64-cpython-311/bluez gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DTHREAD_STACK_SIZE=0x100000 -fPIC -I./port3 -I/usr/local/include/python3.11 -c bluez/btmodule.c -o build/temp.linux-aarch64-cpython-311/bluez/btmodule.o error: command âgccâ failed: No such file or directory [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pybluez ERROR: Could not build wheels for pybluez, which is required to install pyproject.toml-based projects
anything got changed with sensor in configuration.yaml
?
what i got on the configuration.yaml
sensor: !include sensor.yaml
Check the breaking changes for âCommand Lineâ
That does not matches the breaking changes for âCommand Lineâ or its updated documentation.
https://www.home-assistant.io/integrations/command_line/
Network storage is a great feature! I couldnât find any documentation for the feature, but trying it out I found that selecting Usage as Media results in a directory in /media
with the name specified in the UI. That is awesome for allowing access to media stored outside of the HA box which often doesnât have a lot of local storage.
Is this directory accessible via add-ons that donât have SYS_ADMIN
privilege set? I ask because that was required to mount CIFS shares within an add-on I created. I donât have time to check myself right now, so if anyone else has already found it out, please share.
Documentation is here https://www.home-assistant.io/common-tasks/os/#network-storage
Add-ons need to request access to /media and/or /share.
I have a repair issue:
Configuring Command Line `sensor` using YAML has moved.
Consult the documentation to move your YAML configuration to integration key and restart Home Assistant to fix this issue.
I need to do something with this part now in sensor part.
Yes, you need to match the current documentation (There is an example in the âCommand Lineâ section under breaking changes in the release notes)
I have:
configuration.yaml:
command_line: !include package/integrations/command_line.yaml
command_line.yaml:
---
sensor:
name: "Birthday test"
unique_id: "93a52226-7ba7-494b-bfdf-817902920d70"
command: "cat /config/package/json/calendar.json"
scan_interval: 21600
value_template: >-
{% set today = now().month ~ '/' ~ now().day %}
{% set birthday = value_json.json_calendars.birthday[ today ] %}
{% if birthday | trim == "" %}
{% set birthday = "Nothing" %}
{% endif %}
{{ birthday }}
working
but
sensor:
- name: "Birthday test"
unique_id: "93a52226-7ba7-494b-bfdf-817902920d70"
command: "cat /config/package/json/calendar.json"
scan_interval: 21600
value_template: >-
{% set today = now().month ~ '/' ~ now().day %}
{% set birthday = value_json.json_calendars.birthday[ today ] %}
{% if birthday | trim == "" %}
{% set birthday = "Nothing" %}
{% endif %}
{{ birthday }}
- name: "Holiday"
command: "cat /config/package/json/calendar.json"
scan_interval: 21600
value_template: >-
{% set today = now().month ~ '/' ~ now().day %}
{% set holiday = value_json.json_calendars.holiday[ today ] %}
{% if holiday | trim == "" %}
{% set holiday = "Nothing" %}
{% endif %}
{{ holiday }}
is not working
Try this:
- sensor:
name: "Birthday test"
<etc etc>
- sensor:
name: "Holiday"
<etc etc>