2024.6: Dipping our toes in the world of AI using LLMs šŸ¤–

I guess you are right

If I put the cards I posted above inside a vertical-stack, the one with the visibility options remains on display always

    - type: vertical-stack
      cards:
        - type: entities
          entities:
            - input_boolean.test_2

        - type: conditional
          conditions:
            - condition: state
              entity: input_boolean.test_2
              state: 'on'
          card:
            type: entities
            title: Type Conditional
            entities:
              - light.zitkamer

        - type: entities
          title: Visibility
          visibility:
            - condition: state
              entity: input_boolean.test_2
              state: 'off'
          entities:
            - light.zitkamer

That would be a Frontend issue, unless documented it is per design

fwiw, Ive also tried it with type: entity and type: button, and behavior is same: visibility option not respected

Where does database management fall into that philosophy? :rofl:

That would be a bug.

yes, I believe so.

@fantomnotabene do you write it up in Issues Ā· home-assistant/frontend Ā· GitHub

to enable isal

do i or, donā€™t I need to add isal: to the configuration.
the documentation is a ambiguous on this point.

and I see itā€™s already used by 1 active installation, so maybe we should add this ourselves.

nevermind, Ive written this Visibility option only functional on top level card, not on nested card Ā· Issue #21009 Ā· home-assistant/frontend Ā· GitHub

1 Like

its supposed to be auto loaded if your system can handle it.

I did ask this before, or more precisely, how we can see if this is loaded.

More importantly, Id like to know what difference it makes, and if we can spot that :wink:

1 Like

Unfortunately, still timeout when installing Python package after updating then restart Home Assistant core.
As suggested by @bdraco in this post, I set the logger as following:

logger:
  default: info
  logs:
    homeassistant.components.co2signal: critical
    homeassistant.bootstrap: debug
    homeassistant.setup: debug
    homeassistant.loader: debug
    homeassistant.config_entries: debug
  filters:
    homeassistant.loader:
      - "We found a custom integration"
    pychromecast.socket_client:
      - "Failed to connect to service ServiceInfo"
      - "Error communicating with socket, resetting connection"
      - "Heartbeat timeout, resetting connection"
      - "Error reading from socket"
    homeassistant.components.meteo_france:
      - "1 hour rain forecast not available"
    homeassistant.helpers.entity:
      - "Update of sensor.storj_exchange_rate is taking over 10 seconds"
      - "Update for sensor.eur_exchange_rate fails"
      - "Update for sensor.storj_exchange_rate fails"
      - "Updating coinbase sensor took longer than the scheduled update interval"
      - "Update of sensor.myip is taking over 10 seconds"
    homeassistant.components.switch:
      - "Platform broadlink not ready yet: None; Retrying in background in 30 seconds"
    snitun.client.client_peer:
      - "0 bytes read on a total of 32 expected bytes"
    hass_nabucasa.remote:
      - "Connection problem to snitun server"
    homeassistant.components.co2signal:
      - "getaddrinfo ENOTFOUND"
    switchbot.devices.device:
      - "Device unexpectedly disconnected"

I kept other settings I have for logger before to be the most precise as possible about my configuration.

The log is big (383.7 KB) so what should I look for or where should I send it with which sensitive data to remove?

After a first search by myself I found the following:

2024-06-06 14:15:15.072 ERROR (MainThread) [homeassistant.bootstrap] Error setting up integration switchbot - received exception
asyncio.exceptions.CancelledError
2024-06-06 14:15:15.072 ERROR (MainThread) [homeassistant.bootstrap] Error setting up integration shelly - received exception
asyncio.exceptions.CancelledError
2024-06-06 14:15:15.073 ERROR (MainThread) [homeassistant.bootstrap] Error setting up integration default_config - received exception
asyncio.exceptions.CancelledError
2024-06-06 14:15:15.075 ERROR (MainThread) [homeassistant.bootstrap] Error setting up integration esphome - received exception
asyncio.exceptions.CancelledError
2024-06-06 14:15:15.076 ERROR (MainThread) [homeassistant.bootstrap] Error setting up integration bluetooth_adapters - received exception
asyncio.exceptions.CancelledError

The common point I see between these integration is Bluetooth or bluetooth adapters.

I know the rest will be installed if I restart Home Assistant core but it wont prevent this to reproduce on next update.

EDIT: I kept a copy of my big log and confirmed what I wrote just above: after a second restart the rest is installed successfully.
Maybe I should have kept the same log levels, which I have not for the second restart as I was sure of the resultā€¦
If the log I kept can be useful can help to prevent this situation to reproduce for every update I have saved it.
If it is really necessary maybe I could downgrade and upgrade again and make two restarts with same log levels.

I donā€™t think there is going to be much call for local LLMs just yet, given the extreme hardware requirements to run such models. Home Assistant is generally run on a small, power efficient machine or even embedded hardware like the Raspberry Pi. I canā€™t see many people wanting to dedicated $3,000 machines just to run a single LLM at home.

2 Likes

Thatā€™s fair. Iā€™ll admit, I really donā€™t know a lot about local LLMs.

Mostly, I want intent recognition for Assist to expand to include better fuzzy matching. I have zero interest in cutesy character responses orā€”heaven forbidā€”generating custom images on the fly. I expect that fuzzy intent matching requires some degree of machine learning, and if so, Iā€™d prefer that computation be done entirely within the walls of my house. If thereā€™s a way for that to be met without using a massive, resource-hungry LLM, Iā€™m all for it.

2 Likes

I do very much like the new dashboard feature with the conditional visibility as I do use conditions quite allot in some areas.
Now I experience one problem: If no card in a section is visible anymore then the section is still visible, but empty.
It would be nice to have the option to suppress a section if non of its cards is visible.

2 Likes

I see that it takes me to a site to login, but it never discovers my devices (door openers). I wonder if itā€™s in process? Or maybe because I donā€™t have a Nabu Casa account?

I agree with you, but I would like to tanke it even furter.

  • Manage my lights from my usage pattern.

Aka monitor how I use something och predict what I will do and do it before me.

How does the new AI integration differ from using something like extended open assistant service?

From what I can tell, the difference is the ability to use scripts in the integration?

I think the problem is that these LLMs are BEEFY boys. I suspect if we wanted a more private LLM weā€™d actually need some kind of torrent-style decentralized computing. I donā€™t know that an LLM that would be satisfying to use could be locally run at this moment. Someone please correct me if Iā€™m wrong.

1 Like

Anyone else notice issues with ha-card-box-shadow theme variable in dashboard? The weird thing is that the shadows still work outside the dashboard, like settings panel etc. Also using inspect element, I can hard-code the variable, or change it to something else and it works. But using ha-card-box-shadow variable doesnā€™t work, also in theme it doesnā€™t change anything. I tried changing the theme variable to box-shadow and card-box-shadow but also donā€™t work.

Iā€™m not sure if this is a bug with this new release, I upgraded from 2024.3, so skipped .4 and .5 releases. I did clear caches and restart HA a few times.

Is this a bug, or have the shadow variables changed to something entirely else? Still doesnā€™t explain how the same variable still does change shadows outside dashboard.

Those use cases make sense. They are also an argument for local ā€œAIā€. You donā€™t need all of the overhead of a Gemini or OpenAI.

2 Likes

There seems to be a race condition

afbeelding

MQTT is running, but it seems mqtt_statestream wants to run before mqtt.

(I did not have this in 2024.6.0b4)

2024-06-06 16:44:38.986 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration localtuya 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-06 16:44:39.009 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration esp_wd 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-06 16:44:39.041 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spook 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-06 16:44:39.074 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration afvalbeheer 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-06 16:44:39.111 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-06 16:44:39.160 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tuya_ble 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-06 16:44:39.193 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spook_inverse 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-06 16:46:29.462 ERROR (MainThread) [homeassistant.components.mqtt_statestream] MQTT integration is not available
2024-06-06 16:46:29.463 ERROR (MainThread) [homeassistant.setup] Setup failed for 'mqtt_statestream': Integration failed to initialize.

Since i have updated HA, Assist does not understan any commandā€¦ :sweat_smile:

Since it looks like this release is for openai and googleai, does anyone know if this thing will work when using LiteLLM?