home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.72k stars 29.98k forks source link

Flick Electric integration does not work due to OAuth changes #93944

Closed codyc1515 closed 2 months ago

codyc1515 commented 1 year ago

The problem

Flick at some point have changed their OAuth authentication method. Either code or authorization_code must now be used, as password type is no longer supported.

What version of Home Assistant Core has the issue?

core-2023.5.4

What was the last working version of Home Assistant Core?

Unknown

What type of installation are you running?

Home Assistant Container

Integration causing the issue

flick_electric

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

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

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

(message by CodeOwnersMention)


flick_electric documentation flick_electric source (message by IssueLinks)

ZephireNZ commented 1 year ago

Cheers, will take a look.

I still can't find any public API documentation so may need to dig back into the app to see how the new auth process works.

codyc1515 commented 1 year ago

Curiously I tried a friends account, which worked. I have double and triple checked that my password and other details are right. By adding some more debugging code I could see what I suspect is that past a certain point Flick prohibits use of the password method (perhaps post-password change?).

TracyP commented 1 year ago

Hi - I'm also interested in this.

codyc1515 commented 12 months ago

Still an issue.

Pachycephalic commented 10 months ago

Still unresolved. I'm a new Flick customer hoping to add this to my home assistant

codyc1515 commented 9 months ago

Still current but I have moved away from Flick now and built custom integrations for those providers with energy consumption tracking.

ZephireNZ commented 9 months ago

Sorry for the radio silence - unfortunately I have recently moved away from Flick so can't really look into this anymore.

If anyone is willing to pick up the torch I'd be very grateful, happy to transfer ownership of the PyPI package as well.

codyc1515 commented 8 months ago

Still current, perhaps the integration should be removed if it unmaintained now?

BambamNZ commented 5 months ago

Stumbled across this open issue when I looked into a change in behavior of the Flick API this morning. Has been working for me for the last couple of months without any issues - using same username and password as in my android app.

The change from Flick I noticed and that broke some automation for me is that they now provide the price with 2 different attributes Generation & Network that yield the overall price in the HA Sensor

issue-triage-workflows[bot] commented 2 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.