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

Flexit bacnet in 2025.1 0b2 #133998

Open
FSHelgeland opened this issue Dec 25, 2024 · 5 comments
Open

Flexit bacnet in 2025.1 0b2 #133998

FSHelgeland opened this issue Dec 25, 2024 · 5 comments

Comments

@FSHelgeland
Copy link

FSHelgeland commented Dec 25, 2024

The problem

Flexit bacnet did not find serial number after updating to latest beta
When I deleted the integration and did a new setup, then it works fine.

What version of Home Assistant Core has the issue?

2025.1.0b2

What was the last working version of Home Assistant Core?

2024.12.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Flexit bacnet

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.climate
Kilde: helpers/entity_platform.py:366
integrasjon: Klima (dokumentasjon, problemer)
Første forekomst: 14:32:23 (2 forekomster)
Sist logget: 14:36:37

Error while setting up flexit_bacnet platform for climate
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform
    await asyncio.shield(awaitable)
  File "/usr/src/homeassistant/homeassistant/components/flexit_bacnet/climate.py", line 47, in async_setup_entry
    async_add_entities([FlexitClimateEntity(coordinator)])
                        ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/flexit_bacnet/climate.py", line 80, in __init__
    super().__init__(coordinator)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/flexit_bacnet/entity.py", line 29, in __init__
    model_id=coordinator.device.model,
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/flexit_bacnet/device.py", line 74, in model
    model = NORDIC_MODELS.get(int(self.serial_number[0:6]))
                              ~~~^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: `**

Additional information

Serial number: 800221-001462
No response

@home-assistant
Copy link

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

Code owner commands

Code owners of flexit_bacnet can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign flexit_bacnet Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


flexit_bacnet documentation
flexit_bacnet source
(message by IssueLinks)

@joostlek joostlek added this to the 2025.1.0 milestone Dec 25, 2024
@joostlek
Copy link
Member

Can you also add your serial number just to be complete?

@FSHelgeland
Copy link
Author

I have now added serial number under additional information in the original post.

@lellky
Copy link
Contributor

lellky commented Dec 26, 2024

I just tried to run on [email protected]. Installed the flexit integration, shutting down development server, checked out latest dev, run again and it worked. I.e. could not reproduce.

@FSHelgeland
Copy link
Author

Fingers crossed it was only on mine. Anyway solution is delete and reinstall, and it will work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants