Skip to content

A little heads up about daikin_madoka with latest HA versions due to bleak changes #1

@maraujop

Description

@maraujop

Hello there, I was trying to setup daikin madoka in my HA and found your fork, nice work

Core 2025.8.0
Supervisor 2025.07.3
Operating System 16.0

When trying to add integration of your fork after downloading it with HACs (very nice btw). I got error {“message”:”Invalid handler specified”}”

Logs of my system were showing:

Error occurred loading flow for integration daikin_madoka: cannot import name 'discover' from 'bleak' (/usr/local/lib/python3.13/site-packages/bleak/__init__.py)

Turns out latest pymadoka version uses here from bleak import discover I have opened a patch here, FYI mduran80/pymadoka#24

I fixed it by entering in the homeassistant docker container docker exec -ti homeassistant bash editing file /usr/local/lib/python3.13/site-packages/pymadoka/connection.py and removing the ,discover from there

This is more of a note for future people that have issues. You could have a monkey-path of pymadoka.discovery so that it doesn't break meanwhile if you are interested.

Doing the manual change, allows daikin Madoka integration to start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions