Code Monkey home page Code Monkey logo

homeassistant-bond-home's People

Contributors

bcb2000 avatar ktibow avatar mikefez avatar mizterb avatar nguyer avatar niemyjski avatar steve-gombos avatar violentpoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homeassistant-bond-home's Issues

Problem with HACS and Bond Local Component

After installing this repository in HACS and setting IP and token, then restarting the Bond integration did not appear and this error message appeared in my logs:

Error occurred loading configuration flow for integration bond: No module named 'custom_components.bond.config_flow'
5:08:05 PM – (ERROR) config_entries.py

Lights no longer work with move to ce85aa4

The fans work with the upgrade to ce85aa4, but the lights no longer work. They work fine through the Bond App. The lights show up as unavailable, but the fans work fine.

Version:
Home Assistant 0.109.6
Bond Home: ce85aa4

Logs:

Logger: homeassistant.setup
Source: setup.py:249
First occurred: 7:59:40 PM (3 occurrences)
Last logged: 8:00:58 PM

Unable to prepare setup for platform bond.switch: Platform not found (cannot import name 'SwitchEntity' from 'homeassistant.components.switch' (/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/switch/init.py)).
Unable to prepare setup for platform bond.light: Platform not found (cannot import name 'LightEntity' from 'homeassistant.components.light' (/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/light/init.py)).
Unable to prepare setup for platform bond.cover: Platform not found (cannot import name 'CoverEntity' from 'homeassistant.components.cover' (/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/cover/init.py)).

image

'Bond' object has no attribute 'turnFanOn’

Added the component through HACS, added the config to my configuration.yaml

My ceiling fan with integrated light shows up with both a light.ceiling_fan and fan.ceiling_fan entity.  I can turn the light on/off no problem.  However if I call fan.turn_on . I get an error:

'Bond' object has no attribute 'turnFanOn'

looking through bond.py the Bond class does not define turnFanOn...

Same issue with 'turnFanOff'

Support more than one bond bridge

I happen to have two Bond Bridges in my home and I am trying to add both of them to HA. I have one working at the moment, but would like to add the other, however the config is not seeming to like it. Is there perhaps something I am doing wrong or is it not supported at the moment?

For reference, this is what my config for the bond looks like with two of them

bond:

For the Front of House (FOH) Bond

  • host: 10.20.1.130
    token: XXXXXXX

For the Back of House (BOH) Bond

  • host: 10.20.1.131
    token: XXXXXXXXX

Doing it in the config file, it says, it looks good, but actually checking the config gives this error

Invalid config for [bond]: expected a dictionary for dictionary value @ data['bond']. Got [OrderedDict([('host', '10.20.1.130'), ('token', 'XXXXXX')]), OrderedDict([('host', '10.20.1.131'), ('token', 'XXXXXXX')])]. (See /config/configuration.yaml, line 82).

Any ideas?

Detected I/O inside the event loop.

homeassistant.util.async_
Source: util/async_.py:120
First occurred: 1:41:18 AM (20 occurrences)
Last logged: 1:43:40 AM

Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for bond doing I/O at custom_components/bond/cover.py, line 64: bondState = self._bond.getDeviceState(self._deviceId)

Setup failed

After copying the directory and adding the bond: ip and api key data to my config I get the error message of "Setup failed for bond: No setup function defined." for setup.py in the logs. Using the lastest github pull as of 3/12/20

Bond stops communicating with Home Assistant after 12 hours

I recently configured my Bond Home for local control. It works great, but my Bond home is disconnected from my Home Assistant after about 12 hours.

Rebooting HA typically resolves the issue, but it is consistent. After 12 hours - the Bond hub doesnt respond to my HA commands.

Ive also seen this reported in the HA forums.

The error message in the HA log is - 2020-07-08 10:17:10 WARNING (MainThread) [homeassistant.components.fan] Updating bond fan took longer than the scheduled update interval 0:00:30

Unable to select fan rotation direction and all 6 speeds

Hello, I have a fan with a built in bond wifi unit and this plugin seems to work with it, however it has 6 speed settings on the handheld remote plus off (total 7) and this plugin only allows for Off, low, medium and High. Is there a way to get all 7 speed settings? Is it also possible to get it to change the direction of the fan too? The bond app on my phone has these options but would love to control via Home Assistant.

No fan control

I set up my Bond and can control the light via HA, but, although the fan shows up as an entity, I cannot control it at all. There are the same two buttons for on and off that the light has, but when I turn it on, it immediately turns back to off. I also have no way of telling its state even if I turn it on manually. It just always shows as off.

No 'version' key in the manifest file for custom integration 'bond'

"No 'version' key in the manifest file for custom integration 'bond'. As of Home Assistant 2021.6, this integration will no longer be loaded." in the logs.

Home Assistant 2021.3 introduced a requirement for a version key in the manifest file.

I hope this is still being developed, it is still better than the built in Bond in several respects.

Missing Fan Speed Attribute

You are missing the fan speed attribute so the ui does not know current speed or at least that is the case with my testing. Add this code.

@property
def speed(self) -> str:
    """Return the current speed."""
    return self._attributes['current_speed']

[Error] Light Status Update failing

Not sure if this is an HA problem or a Bond integration problem but I figured you might like to know. Please let me know if I can shed more light on the issue.

2019-11-12 23:09:36 ERROR (MainThread) [homeassistant.helpers.entity] Update for fan.master_bedroom_fan fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 261, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 441, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/bond/fan.py", line 55, in update
    bondState = self._bond.getDeviceState(self._deviceId)
  File "/usr/local/lib/python3.7/site-packages/bond/bond.py", line 51, in getDeviceState
    return r.json()
  File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 897, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/simplejson/__init__.py", line 518, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.7/site-packages/simplejson/decoder.py", line 370, in decode
    obj, end = self.raw_decode(s)
  File "/usr/local/lib/python3.7/site-packages/simplejson/decoder.py", line 400, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())```

Add support for lightactions with fireplaces

With the most recent update, since it appears the code is now broken into two device classes, I've lost the ability to control the lights in my fireplace. That entity has now become flame control. Is it possible to add lightactions to fireplace devices so that there is separate light and flame control?

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.