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

eq3btsmart not working, python exception #81546

Closed
philibb opened this issue Nov 4, 2022 · 3 comments
Closed

eq3btsmart not working, python exception #81546

philibb opened this issue Nov 4, 2022 · 3 comments

Comments

@philibb
Copy link

philibb commented Nov 4, 2022

The problem

Hi, climate eq3btsmart is not working anymore. A python exception is thrown. See below.

What version of Home Assistant Core has the issue?

core-2022.11.1

What was the last working version of Home Assistant Core?

2022.11.0

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

climate:
  - platform: eq3btsmart
    devices:
      roomphilipp:
        mac: "YOURMACADRESSTOTESTIT"

Anything in the logs that might be useful for us?

Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:96
First occurred: 1:41:04 PM (1 occurrences)
Last logged: 1:41:04 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/eq3bt/bleakconnection.py", line 80, in on_notification
    handle = handle + 1
TypeError: unsupported operand type(s) for +: 'BleakGATTCharacteristicBlueZDBus' and 'int'

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Nov 4, 2022

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

Code owner commands

Code owners of eq3btsmart 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 eq3btsmart Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


eq3btsmart documentation
eq3btsmart source
(message by IssueLinks)

@HoLy1337
Copy link

Problem still exists, maybe its since the bluetooth upgrade in Home Assistant?
https://www.home-assistant.io/blog/2022/08/03/release-20228/#first-class-bluetooth-support

@rytilahti
Copy link
Member

This error has been fixed upstream, but there are other issues that are not easy to solve. See rytilahti/python-eq3bt#70 for a custom component solution, which will hopefully replace the current implementation in the future.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants