Coder Social home page Coder Social logo

ablyler / home-assistant-bradford-white-connect Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 2.0 258 KB

Home Assistant Component for managing water heaters via Bradford White Connect

License: MIT License

Python 100.00%
custom-component home-assistant

home-assistant-bradford-white-connect's People

Contributors

ablyler avatar almoney avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

benhorton almoney

home-assistant-bradford-white-connect's Issues

unexpected keyword argument 'serial_number'

Installed v.0.2.5 on Home Assistant v.2023.9.3 via HACS v.1.34.0. After starting up HA, got the following error for this component:

Log details (ERROR)
This error originated from a custom integration.
Logger: homeassistant.config_entriesSource: custom_components/bradford_white_connect/__init__.py:47Integration: Bradford White Connect (documentation, issues)First occurred: 6:44:44 PM (1 occurrences)Last logged: 6:44:44 PM
Error setting up entry [email protected] for bradford_white_connect
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/config_entries.py", line 387, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/homeassistant/.homeassistant/custom_components/bradford_white_connect/__init__.py", line 47, in async_setup_entry
    device_registry.async_get_or_create(
TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'serial_number'

Went to that __init__.py file & commented out the line (a couple after line 47) that assigns the "serial_number". Then restarted HA and the component worked without errors.

Not sure how important that line is, but I don't mind missing my water heater's serial number. If there's a better fix, feel free to do so.

Installation instructions don't work -- outdated?

Version of the custom_component

Component not installed.

Configuration

Component not configured.

Describe the bug

The installation instructions can't be followed as written.

I already use HACS so it is installed.

But these instructions can't be followed because HACS -> Integrations doesn't exist:

In Home Assistant, go to HACS -> Integrations, click on + Explore & Download Repositories, search for Bradford White Connect, and click download. After download, restart Home Assistant.

Likewise, the "ADD INTEGRATION TO MY HOME ASSISTANT" button does not work.

I suspect that recent Home Assistant changes are responsible for the disparity.

My current Home Assistant version:
Core 2024.5.3
Supervisor 2024.05.1
Operating System 12.3
Frontend 20240501.1

Debug log

Not applicable, but the issue bot demands text here.

temperature reading/control suddenly unavailable

Installed v.0.2.5 on Home Assistant v.2023.9.3 via HACS v.1.34.0.

As of 4:30pm ET yesterday, the temperature reading/control is showing unavailable. The kWh energy readings, however, are still updating fine for whatever reason. Re-enabling, reloading, & re-adding the component didn't fix it, and restarting HA didn't help either. Enabling the debug logs before performing the aforementioned also didn't produce an error.

I guess I'll try power-cycling the BW Connect adapter & get back to you. Just figured I'd bring attention to this, in case you know of something else going on behind-the-scenes to the BW servers or something (I'm the opposite of an expert in that area).

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.