2024.10: Heading in the right direction

Again…

/etc/systemd/system/home-assistant.service
[Unit]
Description=Home Assistant
After=network-online.target

[Service]
Type=simple
User=homeassistant
WorkingDirectory=/var/homeassistant/.homeassistant
ExecStart=/var/homeassistant/bin/hass -c "/var/homeassistant/.homeassistant"
Environment="PATH=/var/homeassistant/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Environment="UV_SYSTEM_PYTHON=1"

[Install]
WantedBy=multi-user.target

but i get …

2024-10-20 11:01:32.317 INFO (SyncWorker_4) [homeassistant.util.package] Attempting install of aioesphomeapi==27.0.0
2024-10-20 11:01:32.623 ERROR (SyncWorker_4) [homeassistant.util.package] Unable to install package aioesphomeapi==27.0.0: error: The interpreter at /usr is externally managed, and indicates the following:

  To install Python packages system-wide, try apt install
  python3-xyz, where xyz is the package you are trying to
  install.

  If you wish to install a non-Debian-packaged Python package,
  create a virtual environment using python3 -m venv path/to/venv.
  Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
  sure you have python3-full installed.

  If you wish to install a non-Debian packaged Python application,
  it may be easiest to use pipx install xyz, which will manage a
  virtual environment for you. Make sure you have pipx installed.

  See /usr/share/doc/python3.12/README.venv for more information.

Consider creating a virtual environment with `uv venv`.
2024-10-20 11:01:32.624 ERROR (MainThread) [homeassistant.setup] Setup failed for 'bluetooth_adapters': Requirements for esphome not found: ['aioesphomeapi==27.0.0'].
2024-10-20 11:01:32.624 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'ibeacon'. Setup failed for dependencies: ['bluetooth_adapters']
2024-10-20 11:01:32.624 ERROR (MainThread) [homeassistant.setup] Setup failed for 'ibeacon': Could not setup dependencies: bluetooth_adapters
2024-10-20 11:01:37.427 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up upnp.binary_sensor
2024-10-20 11:01:37.427 INFO (MainThread) [homeassistant.components.sensor] Setting up upnp.sensor
2024-10-20 11:01:37.431 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 15.51s
2024-10-20 11:01:37.431 WARNING (MainThread) [homeassistant.bootstrap] Detected that frontend did not load. Activating recovery mode
2024-10-20 11:01:38.135 ERROR (SyncWorker_9) [homeassistant.util.package] 2024-10-20 11:01:38.135 ERROR (SyncWorker_9) [homeassistant.util.package] Unable to install package home-assistant-frontend==20241002.3: error: The interpreter at /usr is externally managed, and indicates the following:

  To install Python packages system-wide, try apt install
  python3-xyz, where xyz is the package you are trying to
  install.

  If you wish to install a non-Debian-packaged Python package,
  create a virtual environment using python3 -m venv path/to/venv.
  Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
  sure you have python3-full installed.

  If you wish to install a non-Debian packaged Python application,
  it may be easiest to use pipx install xyz, which will manage a
  virtual environment for you. Make sure you have pipx installed.

  See /usr/share/doc/python3.12/README.venv for more information.

Consider creating a virtual environment with `uv venv`.

any advises, please?

This is a combination of grid cards and custom button cards with templates. I mainly use it on mobile devices.

Hi Sebastian, this is REALLY a nice, interesting and useful way to shape a section! :+1:

Since I try to make my dashboards minimalistic by automating as much as possible and the things I want/need to see also with buttons that open pop-ups so my dashboard is not cluttered with a lot of stuff, your solution is a way that appeals to me a lot.

I think that putting your example + code in the Share your Projects!Dashboards & Frontend section of the forum might please many.

I don’t think your file is valid, you define Environment twice, also I don’t know why you are trying to use the system python in a venv.

Entity visibility filter doesn’t let me select an entity

YAML is correct though

i didn’t understand. can you please clarify?

by adjusting all the default colors used in those graphs

:sob: WHY??? I liked the graph colors! How do I change them back?

1 Like

Why did you add this line? You likely don’t want to use system python uv, you want the uv installed in your venv. You also already have a environment line, so if you did want this, it should be added to the first entry.

You can change the graph colors with a theme. This theme restores the original colors:

    oldgraphs:
      modes:
        light:
        dark:
      graph-color-1: "#44739e"
      graph-color-2: "#984ea3"
      graph-color-3: "#00d2d5"
      graph-color-4: "#ff7f00"
      graph-color-5: "#af8d00"
      graph-color-6: "#7f80cd"
      graph-color-7: "#b3e900"
      graph-color-8: "#c42e60"
      graph-color-9: "#a65628"
      graph-color-10: "#f781bf"
      graph-color-11: "#8dd3c7"
      graph-color-12: "#bebada"
      graph-color-13: "#fb8072"
      graph-color-14: "#80b1d3"
      graph-color-15: "#fdb462"
      graph-color-16: "#fccde5"
      graph-color-17: "#bc80bd"
      graph-color-18: "#ffed6f"
      graph-color-19: "#c4eaff"
      graph-color-20: "#cf8c00"
      graph-color-21: "#1b9e77"
      graph-color-22: "#d95f02"
      graph-color-23: "#e7298a"
      graph-color-24: "#e6ab02"
      graph-color-25: "#a6761d"
      graph-color-26: "#0097ff"
      graph-color-27: "#00d067"
      graph-color-28: "#f43600"
      graph-color-29: "#4ba93b"
      graph-color-30: "#5779bb"
5 Likes

ok, thank you. and how shound it be defined, please?

Just remove it. Ensure uv is installed in the venv and you should be good as long as the path is set correctly.

@LiveMike78

sorry it took me so long to circle back to this
its been a busy month and old values continued to work fine with HA was 2024.9

when i try to use what you supplied
it says now is not a known value
it also does not like the ; at the end of the line

@LiveMike78

here is what ended up working for me
very similar but needs new Date(). instead of now.

var DT = new Date().toLocaleDateString("en-US", { "year": "numeric", "day": "numeric", "month": "long", });
var TM = new Date().toLocaleTimeString('en-US', { hour: '2-digit', minute: '2-digit', hour12: false });

Still, its incredibly weird that the issue exist in nodered but ONLY once HA is 2024.10+
As long as I stayed on 2024.9.x it continued to work

Hello,
I have about 12 MC6 thermostats at home, bought in 2020 and I used the MyComfort House android app, but then it stopped working and now I can’t connect to the thermostats at all. Why this app won’t even connect to the internet even though I’m using 2.4hz wifi.

What does your question have to do with home assistant?

If anyone wants to return the map marker borders and map breadcrumb trails to the original colors it can be done with card mod.

Edit the Map Card using the Code Editor like this:

type: map
card_mod:
  style:
    ha-map$:
      .leaflet-pane: |
        path[stroke="#4269d0"]{
          fill: #44739e;
          stroke: #44739e;
        }
        path[stroke="#f4bd4a"]{
          fill: #984ea3;
          stroke: #984ea3;
        }
    ha-map $ ha-entity-marker[entity-id="person.paul"] $: |
      .marker{
        border-color: #44739e !important;
        }
    ha-map $ ha-entity-marker[entity-id="person.tina"] $: |
      .marker{
        border-color: #984ea3 !important;
        }
entities:
  - entity: person.paul
  - entity: person.tina

For the breadcrumb trail the stroke=“#4269do” is the new color which is replaced by fill:#44739e and stroke: #44739e to give the desired line color. This is repeated for each breadcrumb trail on the map (I only have 2)

For the border around the marker the entity-id=“person.paul” is used to identify the marker to change and border-color: #4269d0 gives the desired color.