core icon indicating copy to clipboard operation
core copied to clipboard

Weatherflow Cloud unknown error when entering API token with existing local Weatherflow Integration

Open pmendiuk opened this issue 1 year ago • 2 comments

The problem

I have local and remote Weatherflow Tempest sensors and I am trying to install the Weatherflow Cloud Integration along with the Weatherflow local integration. I get an unknown error when entering the API token when installing Weatherflow Cloud.

What version of Home Assistant Core has the issue?

2024.8.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Weatherflow Cloud

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: weatherflow4py
Source: components/weatherflow_cloud/config_flow.py:22
First occurred: 2:46:03 PM (2 occurrences)
Last logged: 2:50:21 PM

Unable to convert data || {"stations":[{"created_epoch":1553801643,"devices":[{"device_id":21823,"device_meta":{"agl":0.0,"environment":"indoor","name":"HB-00011764","wifi_network_name":""},"device_type":"HB","firmware_revision":"194","hardware_revision":"0","location_id":6655,"serial_number":"HB-00011764"},{"device_id":21824,"device_meta":{"agl":2.13360002636909,"environment":"outdoor","name":"Back Porch","wifi_network_name":""},"device_type":"AR","firmware_revision":"23","hardware_revision":"1","location_id":6655,"serial_number":"AR-00001347"},{"device_id":261256,"device_meta":{"agl":1.8288,"environment":"outdoor","name":"ST-00094392","wifi_network_name":""},"device_settings":{"show_precip_final":true},"device_type":"ST","firmware_revision":"172","hardware_revision":"1","location_id":6655,"serial_number":"ST-00094392"}],"is_local_mode":false,"last_modified_epoch":1656428823,"latitude":47.77191,"location_id":6655,"longitude":-122.25194,"name":"North Kenmore 1","public_name":"North Kenmore","station_id":6655,"station_items":[{"device_id":21824,"item":"air_temperature_humidity","location_id":6655,"location_item_id":55736,"sort":0,"station_id":6655,"station_item_id":55736},{"device_id":261256,"item":"air_temperature_humidity","location_id":6655,"location_item_id":841052,"sort":3,"station_id":6655,"station_item_id":841052},{"device_id":21824,"item":"barometric_pressure","location_id":6655,"location_item_id":55738,"sort":1,"station_id":6655,"station_item_id":55738},{"device_id":261256,"item":"barometric_pressure","location_id":6655,"location_item_id":841054,"sort":4,"station_id":6655,"station_item_id":841054},{"device_id":21823,"item":"diagnostics","location_id":6655,"location_item_id":136677,"sort":9,"station_id":6655,"station_item_id":136677},{"device_id":261256,"item":"diagnostics","location_id":6655,"location_item_id":841058,"sort":10,"station_id":6655,"station_item_id":841058},{"item":"forecast","location_id":6655,"location_item_id":136679,"sort":9,"station_id":6655,"station_item_id":136679},{"device_id":261256,"item":"light","location_id":6655,"location_item_id":841056,"sort":5,"station_id":6655,"station_item_id":841056},{"device_id":21824,"item":"lightning","location_id":6655,"location_item_id":55737,"sort":2,"station_id":6655,"station_item_id":55737},{"device_id":261256,"item":"lightning","location_id":6655,"location_item_id":841053,"sort":6,"station_id":6655,"station_item_id":841053},{"device_id":261256,"item":"rain","location_id":6655,"location_item_id":841055,"sort":8,"station_id":6655,"station_item_id":841055},{"device_id":261256,"item":"wind","location_id":6655,"location_item_id":841057,"sort":7,"station_id":6655,"station_item_id":841057}],"station_meta":{"elevation":72.45863342285156,"share_with_wf":true,"share_with_wu":true},"timezone":"America/Los_Angeles","timezone_offset_minutes":-420},{"created_epoch":1583458090,"is_local_mode":false,"last_modified_epoch":1656428823,"latitude":47.77189,"location_id":16098,"longitude":-122.25191,"name":"North Kenmore ","public_name":"North Kenmore ","station_id":16098,"station_items":[{"item":"forecast","location_id":16098,"location_item_id":136669,"station_id":16098,"station_item_id":136669}],"station_meta":{"elevation":72.6019058227539,"share_with_wf":true,"share_with_wu":false},"timezone":"America/Los_Angeles","timezone_offset_minutes":-420},{"created_epoch":1583459358,"devices":[{"device_id":56673,"device_meta":{"agl":0.0,"environment":"indoor","name":"HB-00016474","wifi_network_name":""},"device_type":"HB","firmware_revision":"194","hardware_revision":"0","location_id":16099,"serial_number":"HB-00016474"},{"device_id":56738,"device_meta":{"agl":7.620000094175339,"environment":"outdoor","name":"ST-00060370","wifi_network_name":""},"device_settings":{"show_precip_final":true},"device_type":"ST","firmware_revision":"176","hardware_revision":"1","location_id":16099,"serial_number":"ST-00060370"}],"is_local_mode":false,"last_modified_epoch":1656428823,"latitude":47.7719,"location_id":16099,"longitude":-122.25191,"name":"North Kenmore 2","public_name":"North Kenmore 2","station_id":16099,"station_items":[{"device_id":56738,"item":"air_temperature_humidity","location_id":16099,"location_item_id":136808,"sort":0,"station_id":16099,"station_item_id":136808},{"device_id":56738,"item":"barometric_pressure","location_id":16099,"location_item_id":136810,"sort":1,"station_id":16099,"station_item_id":136810},{"device_id":56738,"item":"diagnostics","location_id":16099,"location_item_id":144702,"sort":6,"station_id":16099,"station_item_id":144702},{"device_id":56673,"item":"diagnostics","location_id":16099,"location_item_id":144701,"sort":12,"station_id":16099,"station_item_id":144701},{"item":"forecast","location_id":16099,"location_item_id":136670,"sort":7,"station_id":16099,"station_item_id":136670},{"device_id":56738,"item":"light","location_id":16099,"location_item_id":136812,"sort":4,"station_id":16099,"station_item_id":136812},{"device_id":56738,"item":"lightning","location_id":16099,"location_item_id":136809,"sort":2,"station_id":16099,"station_item_id":136809},{"device_id":56738,"item":"rain","location_id":16099,"location_item_id":136811,"sort":5,"station_id":16099,"station_item_id":136811},{"device_id":56738,"item":"wind","location_id":16099,"location_item_id":136813,"sort":3,"station_id":16099,"station_item_id":136813}],"station_meta":{"elevation":72.41191101074219,"share_with_wf":true,"share_with_wu":false},"timezone":"America/Los_Angeles","timezone_offset_minutes":-420},{"created_epoch":1599333178,"devices":[{"device_id":89291,"device_meta":{"agl":0.0,"environment":"indoor","name":"HB-00028138","wifi_network_name":""},"device_type":"HB","firmware_revision":"194","hardware_revision":"0","location_id":27783,"serial_number":"HB-00028138"},{"device_id":89294,"device_meta":{"agl":7.62000009417534,"environment":"outdoor","name":"ST-00030394","wifi_network_name":""},"device_settings":{"show_precip_final":true},"device_type":"ST","firmware_revision":"176","hardware_revision":"1","location_id":27783,"serial_number":"ST-00145706"}],"is_local_mode":false,"last_modified_epoch":1656428823,"latitude":47.98355,"location_id":27783,"longitude":-122.51168,"name":"Stephen's Compound ","public_name":"Shore Ave","station_id":27783,"station_items":[{"device_id":89294,"item":"air_temperature_humidity","location_id":27783,"location_item_id":231163,"sort":0,"station_id":27783,"station_item_id":231163},{"device_id":89294,"item":"barometric_pressure","location_id":27783,"location_item_id":231165,"sort":1,"station_id":27783,"station_item_id":231165},{"device_id":89291,"item":"diagnostics","location_id":27783,"location_item_id":335814,"station_id":27783,"station_item_id":335814},{"device_id":89294,"item":"diagnostics","location_id":27783,"location_item_id":335815,"sort":6,"station_id":27783,"station_item_id":335815},{"item":"forecast","location_id":27783,"location_item_id":335813,"sort":7,"station_id":27783,"station_item_id":335813},{"device_id":89294,"item":"light","location_id":27783,"location_item_id":231167,"sort":5,"station_id":27783,"station_item_id":231167},{"device_id":89294,"item":"lightning","location_id":27783,"location_item_id":231164,"sort":2,"station_id":27783,"station_item_id":231164},{"device_id":89294,"item":"rain","location_id":27783,"location_item_id":231166,"sort":4,"station_id":27783,"station_item_id":231166},{"device_id":89294,"item":"wind","location_id":27783,"location_item_id":231168,"sort":3,"station_id":27783,"station_item_id":231168}],"station_meta":{"elevation":3.097949981689453,"share_with_wf":true,"share_with_wu":false},"timezone":"America/Los_Angeles","timezone_offset_minutes":-420}],"status":{"status_code":0,"status_message":"SUCCESS"}} || to || <class 'weatherflow4py.models.rest.stations.StationsResponseREST'> -- 'device_id'

Additional information

No response

pmendiuk avatar Aug 27 '24 22:08 pmendiuk

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

Code owner commands

Code owners of weatherflow_cloud 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 weatherflow_cloud 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)


weatherflow_cloud documentation weatherflow_cloud source (message by IssueLinks)

home-assistant[bot] avatar Aug 28 '24 05:08 home-assistant[bot]

This will be addressed when: https://github.com/home-assistant/core/pull/124072 is accepted

jeeftor avatar Aug 28 '24 20:08 jeeftor