home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.01k stars 2.74k forks source link

Cannot enter tariffs in utility meter #14703

Closed Bascht74 closed 1 year ago

Bascht74 commented 1 year ago

The problem

I would like to create an utility meter with tariffs. if I enter the tariffs in the field for that and press enter, nothing happens anymore. Becore, the tariffs was added to a list shown.

What version of Home Assistant Core has the issue?

core-2022.12.1

What was the last working version of Home Assistant Core?

core-2022.11.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

utility meter

Link to integration documentation on our website

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

Diagnostics information

are there any?

Example YAML snippet

no yaml, UI stuff

Anything in the logs that might be useful for us?

no, because UI bug

Additional information

See discussion about that here: https://discord.com/channels/330944238910963714/857346526527094814

home-assistant[bot] commented 1 year ago

Hey there @dgomes, mind taking a look at this issue as it has been labeled with an integration (utility_meter) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `utility_meter` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Change the title of the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign utility_meter` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


utility_meter documentation utility_meter source (message by IssueLinks)

Bascht74 commented 1 year ago

@dgomes not sure if you are the right one as there is something wrong with the UI here. Utility meters added by yaml are working fine.

lyricnz commented 1 year ago

Per the discord thread, I reproduced the problem with local checkout, then reverted to core-2022.11.5 which didn't have the issue. core-2022.12.0 did - and there was quite a bump in frontend version between these.

lyricnz commented 1 year ago

Problem is very simple to reproduce:

This should have created a tariff/tag above the text entry field, and cleared the field so you can enter another. However, nothing happens, and if you Tab away, the field remains empty.

shammysha commented 1 year ago

There trouble with config_flow selector, that have "multiple" option set to "true" Have same trouble..

14667

lyricnz commented 1 year ago

reverting from git log Update frontend to 20221201.1 (#83062) FAIL Update frontend to 20221130.0 (#83014) FAIL Update frontend to 20221108.0 (#81787) WORKS

dincojazz commented 1 year ago

Same to me. Cannot add any tariff. When I hit enter nothing happens. The written letters at tariffs row disappears and when I hit button to create the helper it create it, but its not with clock icon but with counter icon and entity for it is not select.xxxxx but sensor.xxxx Reverting to core-2022.11.5 to see if its OK.

zipitrik commented 1 year ago

Hi all , I don't know what I'm doing wrong but I still can't enter anything in the "Supported tariffs" field. Any help is welcome.

( Home Assistant 2022.12.8 Supervisor 2022.11.2 Operating System 9.4 Frontend 20221213.1 - latest )

lyricnz commented 1 year ago

The change is not yet in a frontend release. Wait a few days for a new frontend release, then the core release that makes use of it.

I have confirmed by running -dev versions of both (core+frontend) that the tariff function works again now.

image
zipitrik commented 1 year ago

Oh I see. Thank you very much for helping ! Learning a bit more everyday. Thanks again

Bascht74 commented 1 year ago

Checked it with new beta. Works again. Thx!