2024.2: More voice, more icons, more integrations, more... everything!

There is an issue for missing icons for helpers:

It could have same origin.
It is said “custom icons” - in my case NONe icons (custom , default) are shown.

1 Like

For me it’s not all icons, i have a few sensors which have Icons ( less than 2 %)
… And some has a “ring/cirkel” , pretty odd

Only Sun integration here has all default icons

Only ASUSWRT sensors have icons in my setup (4 out of XXXX).

Issue:

I did another check.

After my upgrade, I had missing icons on my dashboard views, which I fixed with a hard refresh.

But, looking more carefully at what’s been said since, I checked my entities under settings, and indeed my sensors (domain: sensor, specifically) shows the MDI eye icon. I didn’t look through everything one by one, but I didn’t spot any that were correct.

My scripts are no longer working at all. They don’t run.

How do I fix this? It worked a few version ago, now it doesn’t .

alias: Inovelli Mass Configurator (Set Color of All Inovelli Switches to 'Red')
sequence:
  - alias: Coerce device param to array or default to all inovelli dimmers
    variables:
      device: >-
        {%- set device = iif(device is string, [device], device) -%} {%- if
        (device | length > 0) -%}
          {{ device }}
        {%- else -%}
          {%- set ns = namespace(devices=[]) -%}
          {%- for device_id in integration_entities('mqtt') | map('device_id') | unique -%}
            {%- if (device_attr(device_id, 'model') == 'Inovelli 2-in-1 switch + dimmer (VZM31-SN)') -%}
              {%- set ns.devices = ns.devices + [device_id] -%}
            {%- endif -%}
          {%- endfor -%}
          {{ ns.devices }}
        {%- endif -%}
  - alias: Loop devices
    repeat:
      for_each: "{{ device }}"
      sequence:
        - alias: Set device name
          variables:
            name: "{{ device_attr(repeat.item, 'name') }}"
        - alias: Configure device
          repeat:
            for_each:
              - "\"ledColorWhenOn\": 0"
              - "\"ledColorWhenOff\": 0"
            sequence:
              - service: mqtt.publish
                data:
                  topic: zigbee2mqtt/{{ name }}/set
                  payload: "{ {{ repeat.item }} }"
              - alias: Wait for Z2M to process messages to avoid overloading
                delay:
                  seconds: 1
description: Configure Inovelli Blue Dimmer
mode: restart
fields:
  device:
    name: Device
    description: List of all inovelli devices.
    selector:
      device:
        integration: mqtt
        manufacturer: Inovelli
        model: Inovelli 2-in-1 switch + dimmer (VZM31-SN)
        multiple: true

No logs = no issue.

It’s not logging any errors, but it isn’t working. It should take about 30 seconds to run this script on average normally. After these updates, it just runs for 1 second and finishes. Traces shows me nothing useful. All the logs show no errors at all.

How is it that this automation isn’t working but also producing no logs?

This trace feature is absolutely useless. It shows execution on first 2 steps, no error, nothing.

It worked on 2024.1.6. I upgraded to latest as of now and now it doesn’t work. HA release is the cause of this problem. How do I fix this?

Which updates? When did it work, version wise? When did it stop, version wise?

2024.1.6 is when it worked. I upgraded from that directly to latest version as of now.

Then you have roughly 10 changelogs and release notes to go through. oops misread something.

You could post the yaml of your trace.

The trace shows nothing, that’s the problem. It shows executed. The yaml it shows is the same as the yaml I have already posted. I don’t understand why it doesn’t show an error - clearly it’s erroring out.

It was 2024.1.6. Not 2023, I messed that up. So it’s not many changelogs at all.

I went through them all, no breaking changes that I could find that would relate.

Seems changes are being made and not being noted. This worked before and now doesn’t.

No you have to download the trace.

The trace shows nothing useful, it shows the yaml script I posted here already and logbook entries of it being started and stopped. No errors, nothing useful to pinpoint the issue. The script isn’t even running, something is wrong with this HA release.

I’m out of this discussion.

Thanks for your non-help I guess then. :frowning:

What are you even looking for in the trace?

Non help? Jaysus.

You: my script doesn’t work

Me: post your downloaded trace file

You: no

How did that make me unhelpful.

I don’t know why I bother.

2 Likes
{
  "trace": {
    "last_step": "sequence/1",
    "run_id": "e20d802dbcf5ee070979e30f0f592a15",
    "state": "stopped",
    "script_execution": "finished",
    "timestamp": {
      "start": "2024-03-02T07:58:35.443474+00:00",
      "finish": "2024-03-02T07:58:35.452592+00:00"
    },
    "domain": "script",
    "item_id": "inovelli_mass_configurator_duplicate",
    "trace": {
      "sequence/0": [
        {
          "path": "sequence/0",
          "timestamp": "2024-03-02T07:58:35.445264+00:00",
          "changed_variables": {
            "this": {
              "entity_id": "script.inovelli_mass_configurator_duplicate",
              "state": "off",
              "attributes": {
                "last_triggered": "2024-03-02T07:47:28.430065+00:00",
                "mode": "restart",
                "current": 0,
                "friendly_name": "Inovelli Mass Configurator (Set Color of All Inovelli Switches to 'Red')"
              },
              "last_changed": "2024-03-02T07:47:28.443834+00:00",
              "last_updated": "2024-03-02T07:47:28.443834+00:00",
              "context": {
                "id": "01HQZ23Q1D0D75CQCCNA9VA60Y",
                "parent_id": null,
                "user_id": "a6d5352471274725b6857fbe766a85aa"
              }
            },
            "context": {
              "id": "01HQZ2R2DK4C808QB6VKN11J8P",
              "parent_id": null,
              "user_id": "a6d5352471274725b6857fbe766a85aa"
            },
            "device": []
          }
        }
      ],
      "sequence/1": [
        {
          "path": "sequence/1",
          "timestamp": "2024-03-02T07:58:35.452365+00:00"
        }
      ]
    },
    "config": {
      "alias": "Inovelli Mass Configurator (Set Color of All Inovelli Switches to 'Red')",
      "sequence": [
        {
          "alias": "Coerce device param to array or default to all inovelli dimmers",
          "variables": {
            "device": "{%- set device = iif(device is string, [device], device) -%} {%- if (device | length > 0) -%}\n  {{ device }}\n{%- else -%}\n  {%- set ns = namespace(devices=[]) -%}\n  {%- for device_id in integration_entities('mqtt') | map('device_id') | unique -%}\n    {%- if (device_attr(device_id, 'model') == 'Inovelli 2-in-1 switch + dimmer (VZM31-SN)') -%}\n      {%- set ns.devices = ns.devices + [device_id] -%}\n    {%- endif -%}\n  {%- endfor -%}\n  {{ ns.devices }}\n{%- endif -%}"
          }
        },
        {
          "alias": "Loop devices",
          "repeat": {
            "for_each": "{{ device }}",
            "sequence": [
              {
                "alias": "Set device name",
                "variables": {
                  "name": "{{ device_attr(repeat.item, 'name') }}"
                }
              },
              {
                "alias": "Configure device",
                "repeat": {
                  "for_each": [
                    "\"ledColorWhenOn\": 0",
                    "\"ledColorWhenOff\": 0"
                  ],
                  "sequence": [
                    {
                      "service": "mqtt.publish",
                      "data": {
                        "topic": "zigbee2mqtt/{{ name }}/set",
                        "payload": "{ {{ repeat.item }} }"
                      }
                    },
                    {
                      "alias": "Wait for Z2M to process messages to avoid overloading",
                      "delay": {
                        "seconds": 1
                      }
                    }
                  ]
                }
              }
            ]
          }
        }
      ],
      "description": "Configure Inovelli Blue Dimmer",
      "mode": "restart",
      "fields": {
        "device": {
          "name": "Device",
          "description": "List of inovelli devices. Defaults to all devices.",
          "selector": {
            "device": {
              "integration": "mqtt",
              "manufacturer": "Inovelli",
              "model": "Inovelli 2-in-1 switch + dimmer (VZM31-SN)",
              "multiple": true
            }
          }
        }
      }
    },
    "blueprint_inputs": null,
    "context": {
      "id": "01HQZ2R2DK4C808QB6VKN11J8P",
      "parent_id": null,
      "user_id": "a6d5352471274725b6857fbe766a85aa"
    }
  },
  "logbookEntries": [
    {
      "when": 1709366315.44371,
      "state": "on",
      "entity_id": "script.inovelli_mass_configurator_duplicate",
      "context_user_id": "a6d5352471274725b6857fbe766a85aa"
    },
    {
      "when": 1709366315.452418,
      "state": "off",
      "entity_id": "script.inovelli_mass_configurator_duplicate",
      "context_user_id": "a6d5352471274725b6857fbe766a85aa",
      "context_state": "on",
      "context_entity_id": "script.inovelli_mass_configurator_duplicate"
    }
  ]
}

See, useless.

I posted it, but you’ll see what I mean. It shows nothing.

This trace feature is completely useless in most situations.

It seems this HA release doesn’t run scripts anymore.

Well it does. I made sure by writing a script and executing it.