ablyler / home-assistant-bradford-white-connect Goto Github PK
View Code? Open in Web Editor NEWHome Assistant Component for managing water heaters via Bradford White Connect
License: MIT License
Home Assistant Component for managing water heaters via Bradford White Connect
License: MIT License
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.
Component not installed.
Component not configured.
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
Not applicable, but the issue bot demands text here.
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).
Thank you for this
But Do I edit one if the files in custom_components/bradford_white_connect/ to add the email address and the password?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.