Giter Club home page Giter Club logo

Comments (2)

home-assistant avatar home-assistant commented on August 28, 2024

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

Code owner commands

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


opower documentation
opower source
(message by IssueLinks)

from core.

jyl087 avatar jyl087 commented on August 28, 2024

Just to clarify, the log below shows what was happening. The library was able to access my account stats, but the final line, "Finished fetching.... (Success: False)", was the clue that led to the fix I suggested above.

2024-07-21 09:24:14.915 DEBUG (MainThread) [homeassistant.components.opower.coordinator] Updating sensor data with: [Forecast(account=Account(customer=Customer(uuid='xxxxx'), uuid='xxxxx', utility_account_id='xxxx', id='xxxx', meter_type=<MeterType.ELEC: 'ELEC'>, read_resolution=None), start_date=datetime.date(2024, 7, 11), end_date=datetime.date(2024, 8, 9), current_date=datetime.date(2024, 7, 21), unit_of_measure=<UnitOfMeasure.KWH: 'KWH'>, usage_to_date=184.0, cost_to_date=78.0, forecasted_usage=583.0, forecasted_cost=288.0, typical_usage=382.0, typical_cost=103.0), Forecast(account=Account(customer=Customer(uuid='xxxx'), uuid='xxxx', utility_account_id='xxxx', id='xxxx', meter_type=<MeterType.GAS: 'GAS'>, read_resolution=None), start_date=datetime.date(2024, 6, 22), end_date=datetime.date(2024, 7, 21), current_date=datetime.date(2024, 7, 21), unit_of_measure=<UnitOfMeasure.THERM: 'THERM'>, usage_to_date=21.0, cost_to_date=49.0, forecasted_usage=23.0, forecasted_cost=51.0, typical_usage=17.0, typical_cost=29.0), Forecast(account=Account(customer=Customer(uuid='xxxx'), uuid='xxxx', utility_account_id='xxxx', id='xxxx', meter_type=<MeterType.ELEC: 'ELEC'>, read_resolution=None), start_date=datetime.date(2024, 7, 11), end_date=datetime.date(2024, 8, 9), current_date=datetime.date(2024, 7, 21), unit_of_measure=<UnitOfMeasure.KWH: 'KWH'>, usage_to_date=123.0, cost_to_date=52.0, forecasted_usage=519.0, forecasted_cost=228.0, typical_usage=805.0, typical_cost=352.0)]
2024-07-21 09:24:14.915 DEBUG (MainThread) [homeassistant.components.opower.coordinator] Updating Statistics for opower:pge_elec_xxxx_energy_cost and opower:pge_elec_xxxx_energy_consumption
2024-07-21 09:24:14.919 DEBUG (MainThread) [homeassistant.components.opower.coordinator] Updating statistic for the first time
2024-07-21 09:24:15.073 DEBUG (MainThread) [homeassistant.components.opower.coordinator] Finished fetching Opower data in 4.176 seconds (success: False)

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.