Continue Discussion 204 replies
April 2

Nilex

little remark that the link to the ironos is not working in the blog

1 reply
April 2

Maxi1134

What are the ESPHOME requirements to use assist_satellite.start_conversation.?

I am trying with the Big bobbas firmware on my ESP32-S3-BOX-3s but none is able to do it.

April 2

caear1987

I’m most excited about the change in variables. This will simplify a lot of my blueprints. It should be highlighted as in beta release notes, so people can simplify their automations.

1 reply
April 2

buz

Love the areas dashboard. Lots of promise!

Are temperature and humidity sensors supposed to show up under climate? Because they do not do so for me despite being assigned to areas and showing up correctly in the generic overview dashboard…

4 replies
April 2

KNXBroker

The new area dashboard is indeed nice, but now the problem with (missing) nested areas is coming (again). Fingers crossed to get a solution one day :hand_with_index_finger_and_thumb_crossed:

Creating one big main area creates too much entities, keeping subareas do not enable to assign the main area temperature to each individual subarea (for example).

1 reply
April 2 ▶ Nilex

nickrout Solution Institution

Yes, link should end in iron_os not ironos. @frenck

April 2

KNXBroker

My Sky connect update entity is displayed as unknown. Do I have to stop ZHA in order to get it working? Tried it already, but was still displayed as unknown. I have not installed multi protocol, just the standard zigbee firmware.

2 replies
April 2 ▶ caear1987

slimak

Great news, now I can drop some of my “global” variables (fields in a dictionary), that were used only in a single script/automation!

Question to mods: does this mean, for trigger-based sensors, every variable is now visible to sensors (and not only top-level variables, as it was before)?

April 2 ▶ KNXBroker

jackpea

HA Yellow here and update entity update.home_assistant_yellow_radio_firmware also showing as Unknown

April 2

iona

Now we have areas in entity dialogs, should we remove the room names from the entities itself?

For example, it would show ‘Kitchen Kitchen Light’ now.

1 reply
April 2 ▶ KNXBroker

petro Great contributor

Unkonwn means it hasn’t checked yet. Give it a bit of time and it will check if your firmware is up to date.

1 reply
April 2

AleXSR700

Thank you for the update.
I have not been able to spend much time in the whole LLM/voice features HA integrated but the last time I did, voice features on an RPi were essentially too slow to be useful.

Has this changed? Is it worth setting things up or will it continue to lag too much?

Additional question: does the companion app support wake words or is it still on the todo/future list?

:slight_smile:

1 reply
April 2

hellene.bail.impale

Calendars finally work with iCloud (shared) calendars, thank you so much.
Enegry topic, really nice! Just received my IO Meter and found out the Matter get power now with Meross, so what a great day :smile:

Clock card… thanks! But…
The big size is still ridiculously small if you plan to make it a wall clock.
Could we have more options or why do we have this limitation?
I would really like to have a HUGE clock with seconds, and dynamically change the size when we want to add more content like alers, notifications events etc.

Thanks :pray:t2:

2 replies
April 2

pepe59

I would like to thank you for the successful repair of the Tado integration. It works again without any problems.

April 2

MaxRower

I think, the clock card should be more flexible, including date support and some sort of template format, like linux date. My preference: date “+%a %-d. %b %R”

1 reply
April 2 ▶ AleXSR700

NathanCu

There are multiple ways to handle it from full cloud llm to local keywords depending on yojr hardware.

No the companion does not currently wake word but you can set. It as the default agent for Android.

1 reply
April 2

ve6rah

Realistically, I just want the ability to restore backups. Ever since backups were screwed with at the start of the year, restoring them no longer works at all. And the ticket for it, although full of "me too"s doesn’t seem to be getting any attention from anyone capable of fixing anything.

1 reply
April 2

bramdedaele

Thanks for fixing tado!

April 2

KennethLavrsen

The continued conversation has a serious side effect. If the voice PE has a false trigger from the TV the assistant keeps on saying sorry I did not understand that and ask you to rephrase the question. The only way to stop it is to mute the TV and be silent. I have tried to say “cancel” or “stop” like I am used to with Alexa. That just becomes yet another “sorry I do not understand that, please rephrase your question”. I am going to end up with a divorce so I have to disable the LLM again. How do you stop this eternal loop from hell?

1 reply
April 2

merlinn31

When will 2025.4 be released? I don’t see it available yet.

1 reply
April 2 ▶ merlinn31

petro Great contributor

It released around 4 hours ago

April 2

AlTyndall

+1 thanking you for fixing Tado.

April 2

dave1041

People with power sensors may want to hold off on this release, I’m getting dozens of AFAICT nonsensical warnings about “sensor.xyz unit $device_class_unit not valid with device class $device_class”, e.g. VAr not valid with device class reactive_power.

2 replies
April 2

Nick4 Regular

Thanks guys, good job! :+1:

I can’t (no account, want to keep it that way) like and subscribe but wanna let you know that I like it very much and I!m always present at the release parties.

April 2

jasonshearer

Any documentation for configuration of hierarchy within the energy? Cannot find the way to nest devices under an upstream meter.

1 reply
April 2

AutomateThis

I noticed that all the elements in a picture-elements card lost their default hold action after updating to 2025.4.

In the previous version, there was an implicit default action of “more-info”) which didn’t need to be added in the yaml.

It seems I will have to go through every element and add the hold action explicitly in the yaml:

hold_action:
 action: more-info

Not sure this was intentional? I didn’t see anything related to this in the notes, but it did change between releases. I suspect something related to adding the actions into the UI where it’s supported (UI editing is not supported for picture-elements, though I wish it was)

1 reply
April 3 ▶ hellene.bail.impale

Garywoo

How did you add your iCloud calendars? Using the Remote Calendars integration?

1 reply
April 3

tinwhiskerSC

This update has broken all of my ONVIF cameras. Well, not quite, but it has renamed all the streams and the dashboard needs to be recreated.

April 3

dumbdevice

Time card is nice :+1:

I would like to have option to add a date to it too in various formats like in those time/date widgets on phones? Also maybe have several such “widgets-cards” to choose from? And current weather too?


Next one is Alarm clock card :alarm_clock: maybe? :slightly_smiling_face:

1 reply
April 3 ▶ buz

teskanoo

You can assign temperature and humidity sensors to the area itself, by editing the area. Once you have assigned these to an area that will show up in the areas dashboard

April 3 ▶ jasonshearer

teskanoo

In the energy dashboard configuration, you can select one of your entities. Click on the edit pencil, and then choose the upstream entity

1 reply
April 3

dumbdevice

Areas dashboard feedback from someone who wants to do opposite - disable Areas in HA for a several reasons:

  1. Philips Hue integration adds its own “hardcoded” Areas to HA and you can’t delete them or persistently rename them because after HA restart or Philips Hue integration reload you will get the same initial Hue Areas names.

  2. Philips Hue Areas (aka rooms and zones) are Hue-specific items and I use them to separate logically lights and switches with their configurations.

  3. It’s also bad for Voice Assistant (I am using Speech-to-text). Those Areas created by Hue integration therefore useless in HA, but the problem is - they are also used in Speech-to-text pipeline which adds more errors.

  4. New experimental Areas dashboard is not for me. I don’t plan to use areas and I don’t like that items automatically move around (I saw it in the demo). The current dashboard works fine for me, I manually add sections, devices, new dashboards if needed.

  5. I don’t like the new area information in 2025.4 in the top left corner when you click on lamp card. Especially if it’s hue lamp because it’s useless for me. Wish I could disable it.

  6. I wish I could disable areas in HA globally. They are pointless for my usecase and also make Voice Assistant experience worse. My other non-hue devices don’t belong to any areas.

edit: it should be Speech-to-Phrase, not Speech-to-text

5 replies
April 3

AndreKR

How do I get to that Voice Assistant wizard? I want to know what it does when you use “Focused local processing”.

April 3

dumbdevice

I want Continued conversation for Wyoming Satellite too at least for timers! (It already can do timers)

like this:

 > set timer!
 > for how long?
 > 2 minutes!
April 3

taymcmillen

Amazing Roborock update!

April 3

michaelwacey

I think the areas dashboard is a good start. Here are some things I would like to see:

Top level should be floors. Just show them as blocks. Click on the block goes to a page for that floor.

Each floor page should have one block for each room. These blocks can have one sub block for each type of device. For example, a block for lights that shows how many lights there are and how many are on or off. You should be able to turn all the lights on or off from here. You should be able to go to a room page.

Each room page should have all the entities in that room. As the current one does.

That would be a great next step.

April 3

xuefer

“just works” is what we need smart but “all in one” default dashboard is hard to use. It’s a good improvement toward “smart”. previous design we can always custom dashboard but it will and did take lot of tweaking

April 3

starob Guidance Counsellor

The new starting a conversation and continuend conversation features are fantastic. As Frenck said during the release party there are so many great things that can now be done with this. Thank you for this great update.

April 3

parautenbach

Please provide a link to the issue.

Provide the config of your sensors or the integrations causing this — and the full log error.

Have you checked GitHub for known issues or created a new one?

2 replies
April 3

Matze89x

After the update, I have some error messages in the log (but the function is there) from my Alexa integration (via Amazon Alexa Smart Home Skill - not via NabuCasa) from cover and fan entities.

Can you check this for yourselves? Let an entity run in motion and then these error messages should also appear in your logs.

Looking forward to your feedback, thanks.

Logger: homeassistant.components.alexa.state_report
Quelle: components/alexa/state_report.py:427
Integration: Amazon Alexa (Dokumentation, Probleme)
Erstmals aufgetreten: 08:02:18 (2 Vorkommnisse)
Zuletzt protokolliert: 08:02:18

Error when sending ChangeReport for cover.alle_rollos to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
Error when sending ChangeReport for cover.schlafzimmer to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.

The tokens are all perfectly fine (before the update without error messages) - I also checked Alexa Developer again.

April 3

refels

That new Areas are really great! Huge thanks for that. But if you have A LOT of areas. It gets really crowded. We have each for a room, sometime to bundle elements (Electric Cars, watering/irigation systems, etc.). In total more than 50 areas. I could consolidate a bit, but still too much for “one tiny row”.

Why not give the option to include the floors? That would be even better. So you can navigate Floor → Area… As subpages…
again - thanks a lot!

April 3 ▶ dave1041

justone

Perhaps it’s beause the name is “Var” (reactive power) while the unit isn’t “Var” but "var " (all lowercase).
Just installed the update and I have none of these warning at all, not from within the Fronius Integration nor from various modbus yamls.
From your lines it says unit not valid, so you might give it a try. Unsure if unit have to be case sensitive.

April 3

tobiasge

What device is used in the video?

1 reply
April 3 ▶ buz

sleveille4

this does not work for me neither.

i have sonoff sensors (T° and Humidity) in every room + an aqara one for outdoor, i have the room set and the sensors assigned to each room / area properly, and none shows:

i tried editing the areas dashboard to add them, either in the title or as a regular entity, it’s not even there! example with bedroom 1, the sensor and T° / Humidity entitys are not proposed, despite being assigned to this room


1 reply
April 3

Ryeera

After this update, Home Assistant shows me two “Repairs” saying “The mean type of sensor.wind_sensor_angle has changed”. Do I need to do anything about this? I don’t know what this means…

2 replies
April 3

chanchal1987

The below link mentioned in the blog doesn’t exist:

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

April 3

dave1041

Wanted to see whether this was affecting anyone else first before opening a ticket. From further digging it looks like either the configuration has become case-sensitive in the last update or there’s been a change in measurement units, for reactive power VA-reactive (VAR) you now have to specify it as var even though VAR is what’s usually used for this.

As an aside, if the only thing you’re permitted to have for a reactive_power class unit_of_measurement: is var, why do you need to specify it in the first place?

1 reply
April 3 ▶ sleveille4

Haningback


I havent updated yet but I guess this is under “Edit area”

2 replies
April 3 ▶ dumbdevice

exen904

That sound like lot of reasons for me to get rid of the Hue integration and add them directly to HA :smile:

1 reply
April 3 ▶ Haningback

sleveille4

good catch, completely missed this one, it works!!
thanks :+1:

April 3 ▶ parautenbach

ve6rah

Please provide a link to the issue.
Unable to restore backup with 2025.2.3 "Failed to start restore. Unknown error." · Issue #138511 · home-assistant/core · GitHub

April 3

Ryeera

How do I actually use this Device Hierarchy Feature for the Energy Dashboard? I can’t find an option for that anywhere.

1 reply
April 3 ▶ Ryeera

Ryeera

nvm had to reload my UI and clear cache, then it appears when setting up a Device in the Energy Dashboard ^^"

April 3 ▶ Ryeera

dave1041

It looks like the current version is a lot more picky about sensor types, classes, and whatnot than previous versions were, see my post earlier about “VAR” vs “var” (var is technically the correct unit but VAR is what practically everyone uses, which makes it annoying to now see var everywhere which looks like part of a Visual Basic declaration rather than a unit of measurement).

April 3 ▶ Haningback

ronanhalpenny

Brilliant catch. I had all my areas set up correctly (I thought) but I never knew that setting was there when you go into Area Settings. Temp and Humi now displaying in the new experimental dashboard.

Extremely helpful post. Much kudos. :clap:t2:

1 reply
April 3 ▶ dumbdevice

Nick4 Regular

@michaelwacey @refels

From the A new experimental Areas dashboard section:

2 replies
April 3 ▶ tobiasge

Nick4 Regular

You mean this? Home Assistant Voice Preview Edition - Home Assistant

April 3 ▶ ronanhalpenny

Gav_in

how to add the Temp, etc to the Area Dashboard is mentioned in the Blog too @Haningback @sleveille4 a bit obtuse maybe but it is there (towards the end of the section about the Area Dashboard)…

Want to tweak it? Yes, you can ! You can rearrange, show, or hide entities to suit your preferences. At the top of each area page, temperature and humidity badges quickly indicate room comfort levels, which are configurable in the area’s settings.

April 3

rdekruyf

Starting a Spotify playlist with a script on Sonos is not working anymore. Works fine on 2025.3.

Log shows the error:
Referenced entities media_player.kantoor are missing or not currently available

1 reply
April 3 ▶ rdekruyf

petro Great contributor

Check to see if that entity is working.

April 3

will35

Hello

Continuous and start conversation don’t work with Wyoming satellite ( like Assist-Microphone addon) . Is an update planned?

April 3

merkstwan

Some Fibaro devices (connected through fibaro plugin) got missing with this update. It shows the device has been removed from Fibaro. You can delete this device if not used anymore.
Restoring to 2025.3 got them back.
Please check!!

2 replies
April 3

pops106

So with the new energy children feature.

If i create a helper > group > sensor > sum and call it “kitchen Power” and add all my energy monitoring plugs for the kitchen.

Then create a helper > utility meter called “Kitchen Energy”

I could then add that to the energy dashboard and set the kitchen plugs with the upstream device been the new “Kitchen Energy”.

Then I could monitor the different areas total power without inflating the power usage ?

EDIT —
I have set the kitchen up as a test.

helper > group > sum “Kitchen Power”
helper > group > integral "Kitchen Power kWh
helper > group > utility meter “Kitchen Energy Day”

Then added Kitchen Energy Day to the dashboard and set all the devices in the kitchen with the upstream the device as the Kitchen Energy Day.

See what happens.

1 reply
April 3

soif

First, Congratulations for this long awaited (at least , bye me) EXCELLENT feature!
You guys rock ! :heart_eyes:

:beetle: Bugs (or not yet implemented?)

thoses used to work in the “old” automatic dashboard (type: original-states)

:pray: Wishes

Also add buttons to launch:

Keep up the good work! cheers :beers:

1 reply
April 3

parautenbach

I can only guess from a technical perspective: Decoupling. Some device classes have multiple UoM options, and a UoM can be specified without a device class. So, building in such defaults will create a tight coupling between the two concepts. The way it is it works more generally/generically.

April 3

Nick4 Regular

What do you mean by that?
You can already add a button to your dashboard to launch those.

1 reply
April 3 ▶ Nick4

soif

I mean:

In the “legacy” automatic dashboard (type: original-states), scenes used to be shown at the end of the area, which was really great.

So adding it back, (plus also area-assigned automations & scripts), would be really usefull… without being forced to create dozens of virtual button entities, to launch all those things, as a tedious workaround (i already have 3376 entities…)

April 3 ▶ dumbdevice

ReinierZon

+1!

For now I’m using markdown + cardmod:

type: markdown
content: "{{ as_timestamp(now()) | timestamp_custom(\"%d-%m-%y %H:%M\") }}"
text_only: true
card_mod:
  style: |
    ha-card {
      text-align: center;
      font-size: 45px;
    }
    ha-markdown {
      margin: 13px 0px 13px 0px;
    }
April 3 ▶ pops106

Holdestmade

Be good to see how that turns out.

I monitor each areas usage, using the undocumented type: energy-sankey (under test) card, using floors and areas, hopefully it will be added to the energy dashboard in the future (with values at each section)

3 replies
April 3 ▶ Holdestmade

pops106

This looks awesome, is it using this GitHub - MindFreeze/ha-sankey-chart: A Home Assistant lovelace card to display a sankey chart. For example for power consumption

But it looks like you are not using a custom card.

Any chance you could post your card yaml.

Edit >

Ah ok it looks like you do just add the card with type: “energy-sankey” mine is just sayig loading though… will see what happens

1 reply
April 3

Mariusthvdb

use card mod? then do:

  card-mod-more-info-yaml: |
    ha-dialog-header: |
      .breadcrumb {
        {% if is_state('input_boolean.hide_more_info_breadcrumb','on') %}
        display: none !important
        {% endif %};
      }

in a card-mod theme

April 3 ▶ pops106

Holdestmade

No, not the custom card, its built in but not documented

April 3

Mariusthvdb

Expressed during beta: I love the new Areas Dashboard. The sheer ease with which this is created is magnificent, and looks really beautiful. Again, thanks.

But…

because the number of my areas is way too big for the new default Areas dashboard, I had trouble showing it, and editing it (it’s the main landing page, so even opening the edit menu was a bit of a muscle job…)

what I did is ‘take control’, and move the current Home to the final view on the right (I don’t want that complete overview, but I didnt want to delete it either). That way I can safely click the Areas left menu item.

next, I took out what seems to trouble them, namely the camera entities. All I could see was the swirling icon trying to load them. I have those in a dedicated dashboard anyways, to could do without here. It’s still laggy, but seems swifter without them.

Also, I edited all views/tabs to show the Area icon. All manually, since the initial strategy we have now, does not import these from the area_registry unfortunately. At least I can have a few tabs on mobile now.
By default the new Dashboard is completely unusable for me on Mobile because of lack of space for more than 2, 3 if lucky.
Wish there would have been an organizing strategy per Floor in the main menu bar. That would have solved that from the start.

Now, since I did want to experiment with some landing overview in that first tab, I made it manually.

Main strategy change:

it’s super fast now, and I can at last scroll smoothly in the top menu bar.

Wish those separate area views had a back button though, like the subviews.

Styling needs to be done, and probably needs a bit of modding, but art least now I have it all under 1 click and organized as it suits me:

it wont take out the ease and power of tabbed-card, but for a core default dashboard its pretty neat

1 reply
April 3

CaptTom

I mentioned this in the beta thread, but since it’s come up here, just one comment about using areas as the foundation for the default new user front end…

I don’t use areas. Nothing against them, it’s a great option. But I think of my home as a collection of systems (which I must maintain) and not as a floor plan which is managed room-by-room.

I want to see, for example, my entire HVAC system at a glance. Or my sump pumps. Or my networked hardware, etc. If I want to know, say, the temperature in a room, I’ll look at the “temperatures” dashboard. I don’t have or want a dashboard for each room. That also shows me if that temperature is anomalous compared to other temperatures. I don’t care whether or not the light is on in that room.

My point is not that mine is the right way, or that areas is the wrong way.

Just that new users shouldn’t be steered down a path of deciding, up front, how and if they want to organize their entities into areas.

We all started out with just a few devices. Yet in these threads extolling the virtues of a new areas-centric default, it’s implicit that there are already many devices, and someone has taken the time to develop a naming strategy for putting them all in areas.

I just don’t see that as applicable to new users.

For the record, this doesn’t affect me directly. I’ll continue to develop my own dashboards regardless of the default. But this was presented as an idea on which feedback would be welcomed. And I do care about the new user experience, even if I’m not exactly “new” any more.

[Note: I tried the feedback form. It asks for specifics on how the new default dashboard is currently implemented. Not on whether or not it is generally a good direction.]

2 replies
April 3 ▶ CaptTom

petro Great contributor

The current default dashboard uses areas right now. All the blurb is referring to is replacing that dashboard, which you already don’t use. These changes won’t impact you and you can set any dashboard type as the overview page. To reiterate my comments in the beta thread:

Default dashboard does not mean overview dashboard, it means the current dashboard literally named ‘default dashboard’.

1 reply
April 3 ▶ petro

CaptTom

…All of which I said in my post, above.

1 reply
April 3 ▶ CaptTom

petro Great contributor

You did not say any of that other than “it won’t impact you”. I’m just clarifying what default dashboard means because its not clear to me that you understood what I said before.

April 3 ▶ Holdestmade

Eoin

Just had a play with this, very cool, like you said hope this is added to the energy dashboard soon!

April 3

Wlad2288

I would like to use the web search feature of the ChatGPT integration, but the setting does not show up for me, any idea?

1 reply
April 3 ▶ Holdestmade

zmarkella

That is indeed cool, but does it handle the grid → battery scenario? The current energy dashboard does not and I’ve been looking for a workaround for ages!

1 reply
April 3 ▶ Mariusthvdb

Mariusthvdb

btw, because of this whole manual exercise, I forgot this: would have been great if we could copy a View in a dashboard to another view…

+1 the existing discussion in Frontend from almost 2 years ago :wink:
we can move it, but copy?

April 3 ▶ Wlad2288

dpan

Unselect “Recommended model settings” then click submit and a bunch of advanced options will appear, including the one about web search

April 3 ▶ zmarkella

Holdestmade

Don’t think so, I’ve just browsed a bit back and can’t see any. I think it mirrors the energy dashboard so if that doesn’t, assume this Sankey will not also

April 3

julian4

I’m excited to see progress on the start_conversation action, and I’m hoping that it will soon extend to local assistants for those of us who don’t want to use an LLM and are running everything locally. My use case is very simple, just things like asking me if I want it to close the garage door after noticing it’s been open for a while, processing a yes/no response, and then performing an action.

April 3

joostlek

If a device is not assigned to an area, it will use the suggested_area, so if you find hue creating areas, assign your devices to a different area

1 reply
April 3

ha_user22323

In version 2025.4
Aqara blind motor lumi.curtain.acn002 not update position in HA. It do , but only for a short time (minutes) :frowning: anyone with same issue ? (It worked in 2025.3) with (Tal Current position entity., it’s aloso missing in 2025.4)

April 3 ▶ petro

Bieniu Shelly Integration Dev

Do we know how long we have to wait to check for update is available? It’s been 20 hours and the entity has still an unknown state.

1 reply
April 3

Alexey_HA_newbie

In this screenshot, the water heater is a child of the heat pump. Both report energy usage separately, but the water heater’s consumption is also included in the total reported by the heat pump. With device hierarchy enabled, Home Assistant correctly shows the usage of each device.

Heat pump shows 2kWh, water heater 10kWh. How can a lower value be included in a higher one?

1 reply
April 3

edcoppen

Some feedback on the clock…

I want a big clock that will be visible across the room. While the font size does increase, the tile has a very large border making it take up unnecessary extra space.

Please make the text take up most of the tile to optimise screen real estate use.

Thank you!

April 3

Faasteer

You guys are the best! Thank you for fix Tado integration in such a short time. I really appreciate the work you guys are putting into this project. :heart:

April 3 ▶ Bieniu

petro Great contributor

I thought there was a check every 6 hours, maybe there’s an issue with it.

1 reply
April 3 ▶ petro

Bieniu Shelly Integration Dev

Thanks. I’ll enable debug to check what is going on.

April 3

woempiej

Hi,

I use ZHA with a Conbee 2 stick and 5x Aqara roller shade driver e1.

In Home Assistant version 2025.3.4 no problems.
In Home Assistant version 2025.4.0 the “Number” slider is unavailable?!

Before update:

After update:

The device “Window coverering type” is also changed after the update from “Drapery” to “Rollershade”:

1 reply
April 3

dumbdevice

I was thinking about it but Hue Integration is useful as backup in cases when HA is not available. It’s unfortunate that Hue Integration populates HA with entities like areas you can’t delete or hide.

April 3 ▶ Nick4

dumbdevice

That feedback link doesn’t work for me, and I never heard about that service.
This forum is just more trustable :smiling_face:

April 3

VenominousX

Hi, short question:
what impact does the change in the scope of the variable have if I have defined the same variable “location” in 143 scripts and then use this variable to dynamically address entities and other scripts? Most scripts run in parallel and are used equally for different rooms and almost simultaneously.

Best regards

1 reply
April 3 ▶ VenominousX

123 Regular

The scope of a variable is constrained to the script where it’s defined.

1 reply
April 3

dumbdevice

I don’t want to create any new areas and assign devices to them be it Hue light or not. I was trying to get rid of Hue areas entities created by Hue Integration, but it’s impossible.

The biggest problem for me is that those Hue areas entities are used in Voice Assistant (Speech-to-text) templates which is not desirable because of additional errors.

1 reply
April 3 ▶ 123

VenominousX

Thank you for your response.

From the release notes:
The variables action is no longer restricted to local scopes; it can now update the value of a variable also in outer scopes. If the variable was not previously defined, it will be created in the top-level (script run) scope

If you have automations or scripts that use the same variable name in different (previously isolated) scopes, you will need to update them: simply use distinct variable names to prevent any conflicts.

For example:
I trigger a script-chain in the living room while my wife is triggering another script in the kitchen. Both scripts triggers the same script to set a radio station, but the kitchen action will trigger this script before the action in the living room.

So, will the location variable ‘living room’ be overwritten with ‘kitchen’?

3 replies
April 3 ▶ woempiej

ha_user22323

I got the same issue

conbee3 and zha

(and still no batteri entity)

1 reply