question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

B-hyve integration doesn't work correct with unnamed devices or zones

See original GitHub issue

Describe the bug The integration is unable to create any switch entities

Expected behaviour At least one switch entity should be created for my zone

BHyve devices

Orbit 21004 B-hyve Smart Hose Faucet Timer with Wi-Fi Hub](https://www.amazon.com/dp/B0758NR8DJ)
HT25-0000 by Orbit BHyve
Firmware: 0041
Hardware: HT25-0000

Logs

2022-07-16 17:39:46 ERROR (MainThread) [homeassistant.components.switch] Error while setting up bhyve platform for switch
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 250, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/bhyve/switch.py", line 178, in async_setup_entry
    BHyveProgramSwitch(
  File "/config/custom_components/bhyve/switch.py", line 224, in __init__
    device_name = device.get("name")
AttributeError: 'NoneType' object has no attribute 'get'

Step 1: Enable debugging.

I enabled the logger but could not find the following in the logs:

DEBUG (MainThread) [custom_components.bhyve] Devices:
DEBUG (MainThread) [custom_components.bhyve] Programs:

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ObiWanCanOweMecommented, Jul 30, 2022

Sorry for the delay in my response, here’s the diagnostic:

config_entry-bhyve-a7d026a896becfaa4ca243c42b773011.json.txt

I checked for firmware updates but all my devices are on latest.

1reaction
julianwouldcommented, Jul 24, 2022

All working now, it was hub/timer connection issue. Resolved by updating firmware. Thanks @sebr

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · sebr/bhyve-home-assistant - GitHub
Contribute to sebr/bhyve-home-assistant development by creating an account on ... B-hyve integration doesn't work correct with unnamed devices or zones.
Read more >
Integration with Orbit B-Hyve Irrigation System
Battery level unknown and I for some reason i don't see any binary_sensor entities at all. PS I am running 2 x Hose...
Read more >
Trouble Shooting Pairing B-hyve™ Controller with Smart ...
When you select “This Matches My Device” the Controller (Device) could pair automatically with the App and take you straight to connecting to...
Read more >
6 Steps To Resolve B-hyve Smart Watering Not Working
The firmware on my Orbit controllers is rev 0087. The fix that worked for me was 1. Delete the B-Hyve application on the...
Read more >
B-hyve + Flume Integration
For information on how to do this, click here. If you are not seeing gallons per zone usage on the B-Hyve app, please...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found