Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Active User in the HA instance is incorrect. #146

Closed
2 tasks done
sca075 opened this issue May 18, 2024 · 1 comment
Closed
2 tasks done

The Active User in the HA instance is incorrect. #146

sca075 opened this issue May 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@sca075
Copy link
Owner

sca075 commented May 18, 2024

Checklist

  • I have updated the integration to the latest version available
  • I have checked if the problem is already reported

The problem

the language translation on the status text and in general selected user isn't anymore active_user since the last releases of home assistant. The issue is also giving problems with the update of the correct translation file in use (this apply to multiple users environments in HA)

What version of an integration has described problem?

2024.05.0

What was the last working version of an integration?

No response

What vacuum model do you have problems with?

Roborock.S5

Please firmware installed on your Vacuum.

2023.05.0

What type of platform you use?

ARM (Raspberry Pi, Odroid, etc.) > 4GB

What version of Home Assistant do you use?

2024.5.4

What type of installation are you running?

Home Assistant OS

Camera's settings.

No response

Logs or Errors shown in the HA snapshots (please enable the Debug Mode)

No response

Additional information

The issue is under investigation. We count to fix it as planned on the next release.

@sca075 sca075 added the bug Something isn't working label May 18, 2024
@sca075 sca075 added this to the 2024.05.4 milestone May 18, 2024
@sca075 sca075 self-assigned this May 18, 2024
sca075 added a commit that referenced this issue May 18, 2024
Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>
@sca075 sca075 mentioned this issue May 18, 2024
@sca075
Copy link
Owner Author

sca075 commented May 18, 2024

2024.05.4 include fix for #146

@sca075 sca075 closed this as completed May 18, 2024
tjorim added a commit to tjorim/valetudo_vacuum_camera that referenced this issue Jun 8, 2024
* Bump pillow and version

* Require home assistant 2024.4.4

Bump the minimum required Home Assistant version.

* image_handler.py Rand256 fix 3AM reboot warning.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* Fix deprecated import HA 2024.5

* Fix for zilb_ng

* Update manifest.json

* 2024.05 Refactoring and code clean
requirements.test.txt update

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* 2024.05 Refactoring and code clean

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* camera.py thread snapshot.py

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* camera.py changed connection state.
connector.py update python 312 decoding.
img_data.py fix rand256 rotation.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* camera.py changed connection state.
connector.py update python 312 decoding.
img_data.py fix rand256 rotation.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* Corrections connector.py

Retested decode isn't okay as we convert the data later

* connector.py added payload validation

* camera.py threading pil to bytes conversion.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* connector.py Logging connection status.

* connector.py added await for errors.
drawable.py draw the layer changes.
image_handler.py calculate rooms coordinate changes.
img_data.py rooms coordinates calculate.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* drawable.py version up.
image_handler.py black and ver.up
img_data.py black, finalize the room data.
manifest.json vesion up

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* __init__.py Migration from 2.1 to 3.1 fixed.
common.py Raise Warning if KeyError.
image_handler.py Adjusted offsets for Aspect Ratios.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* __init__.py blacked.
conftest.py blacked.
image_draw.py Refactoring image_handler.py
image_handler.py Refactoring image_handler.py
img_data.py get_rooms_coordinated unified.
test_camera.py blacked.
test_config_flow.py blacked.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* connector.py Changed text of Vacuum Disconnected.
handler_utils.py added.
image_handler.py refactoring.
test_camera.py removed deprecate instance.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* connector.py Changed text of Vacuum Disconnected.
handler_utils.py added.
image_handler.py refactoring.
test_camera.py removed deprecate instance.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* image_handler.py refactoring

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* camera.py file_name change
camera_processing.py file_name change
connector.py version change
handler_utils.py file_name change
image_draw.py file_name change
image_handler.py file_name change

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* updated translations, back and new menu in config_flow

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* manifest.json updated version

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* common.py added rename_room_description
config_flow.py added rename_room_description
snapshot.py save room_data and language jsons
status_text.py removed rename_room_description

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* config_flow.py updated rooms colour rename
connector.py fix sca075#140 disconnection
= calibration error.
image_draw.py fix sca075#142 index errors for Dreame vacuums

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* config_flow.py updated rooms colour rename
connector.py fix sca075#140 disconnection
= calibration error.
image_draw.py fix sca075#142 index errors for Dreame vacuums

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* pre-release tests okay updated versions.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* fixes for sca075#146

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* camera.py removed /n in debug.
common.py check if data file are stored.
config_flow.py advanced menu added.
handler_utils.py corrections offsets.
image_handler.py removed 16:9 logger.
manifest.json beta versioning
snapshot.py file stored review.
strings.json updated

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* config_flow.py Reduced number of lines.
const.py Added config selectors.
strings.json markdown menus descriptions.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* common.py reformatted.
config_flow.py added menu logs copy.
translations updated.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* camera.py active user language in idle or docked.
common.py reverted to original.
config_flow.py changes in the imports.
snapshot.py correct logger added first run check.
users_data.py module created.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* Update hacs.json

* Update hacs.json

corrections

* Update hacs.json

reverted

* Test zip release hacs.json

* hacs.json added filename

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* camera_processing.py fix for sca075#152
status_text.py fix for sca075#152

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* camera.py get language at update.
user_data.py check if auth is updated

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* image_draw.py code cleaning.
status_text.py code cleaning.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* __init__.py Listen event HA shutdown.
snapshot.py Abort if no room_data.
user_data. Write the vacuum_id
manifest.json version up.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* config_flow.py Dynamically Configure the Rooms Colors menu.
snapshot.py added segment count to the room_data_x.json.
user_data add get_rooms_count.
camera.py black reformat.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* image_draw.py added try to segment draw to prevent code to crash.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* Update manifest.json

Issue with commits from PyCharm

* manifest.json updated
status_text.py added safe check translate text.

* manifest.json updated
user_data.py added Home Assistant Cloud in Auth Analysis.
status_text.py added safe check translate text.

* removed the logger issue fix user_data.py

* Replace get_mqtt_data with HassKey

* Replace get_mqtt_data with HassKey

* Fix rooms_count in config_flow.py

* manifest.json updated
hacs.json update HA min version

* common.py refactoring update_options.
const.py added const room to modify.
hass_types.py new HassKey support module

* black run

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* Update hacs.json

Test if beta can run

* Update hacs.json

Test *

* final hacs.json

* Upgrade dev container so that it builds with Home Assistant 2024.6

* Update pythonpackage.yaml

* hass_types.py replaced "mqtt" with MQTT_DOMAIN constant.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* image_draw.py active_zones condition check improved with range.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* Last README.md

* Update README.md

* hacs failures

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* Update README.md

* Update README.md

* Update hacs.__

* Create hacs.yaml

* Delete .github/workflows/hacs.__

* Required adjustments.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* Required adjustments.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* hass_types.py returned to original.
manifest.json updated 2024.04.3b1
NOTICE.txt added to custom_componet folder
README.md added in limitation link to NOTICE.txt
user_data.py use hass.auth.async_get_users() instead to read auth.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* const.py added DEFAULT_ROOMS
users_data.py configure 15 room colours if none.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* const.py added DEFAULT_ROOMS
users_data.py configure 15 room colours if none.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* users_data.py get_rooms_count raise warning.

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>

* final README.md

Added clear statement that there is no link with Valetudo

* readme: add link to HACS install

---------

Signed-off-by: 82227818+sca075@users.noreply.github.com <82227818+sca075@users.noreply.github.com>
Co-authored-by: Jorim Tielemans <tielemans.jorim@gmail.com>
Co-authored-by: Rohan Kapoor <rohan@rohankapoor.com>
Co-authored-by: David Girón <contacto@duhowpi.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant