Comments (13)
But the problem still persist. The states don‘t update after some time.
Edit: You are right. This problem belong to DavidMStraub/homeconnect#3
from homeassistant-homeconnect.
Details please. Which device? This is expected e.g. for hobs since the API doesn't support it.
from homeassistant-homeconnect.
How do you mean? It's an Bosch Coffee machine. So On switching works fine and off works also but will niet display in the switch in HASS.
from homeassistant-homeconnect.
It depends on the type of machine whether switching on or off via the API is supported. I don't have a HC coffee machine, so I cannot test it, but "not writeable" usually means that it is not supported. Are you sure that remote start is enabled?
from homeassistant-homeconnect.
Remote start is enabled. I can switch the coffee machine on and off but the switch will not retain the status.
from homeassistant-homeconnect.
You mean switching on and off works in Home Assistant but the switch goes back immediately?
Can you please enable debug logging and check what values of PowerState and OperationState are reported before and after switching, respectively?
By the way: that HA might not pick up a change in power state that is effected directly on the machine is a separate issue.
from homeassistant-homeconnect.
David,
I had somehow the same problem (appliance was starting, but switch was switching back to "off" immediately) and not updating automatically ("listening" to API) if something changed directly on the device. I've tried (&error) some things and changed the switch.py as following - both working now with my appliances (coffee machine, oven, dishwasher) w/o any issues.
`async def async_setup_entry(hass, config_entry, async_add_entities):
"""Set up the Home Connect switch."""
def get_entities():
"""Get a list of entities."""
entities = []
data = hass.data[DOMAIN]
for device_dict in data.get(DEVICES, []):
entity_dicts = device_dict.get("entities", {}).get("switch", [])
entity_list = [HomeConnectProgramSwitch(**d) for d in entity_dicts] + [HomeConnectPowerSwitch(device_dict["device"])]
device = device_dict["device"]
device.entities += entity_list
entities += entity_list
return entities
async_add_entities(await hass.async_add_executor_job(get_entities), True)
`
Please let me know if helpful for the project, thanks.
from homeassistant-homeconnect.
Maybe you can make an pull request for the new code?
from homeassistant-homeconnect.
Yes, that would be useful, also to see more easily what has changed. Thanks
from homeassistant-homeconnect.
I have the same problem with a coffee maschine.
But if I turn the coffee maschine on with the developer tools it stays on.
from homeassistant-homeconnect.
I had similar issues, then updated to version 2.0.4, and everything seems to work with no problems. I was happy. After about two days, it stopped working again. Neither did a reboot of HA work. What changes do a version update do, to make it work a couple of days, and then stop working again?
from homeassistant-homeconnect.
Hello. Are there any news for this?
@DavidMStraub is there any useful for us in this plugin code?
https://github.com/thoukydides/homebridge-homeconnect
from homeassistant-homeconnect.
Actually I think this issue is fixed by @MarcusKapun's pull request #45, we just forgot to close it.
The problems mentioned in the recent comments are probably related to DavidMStraub/homeconnect#3, which is still not fixed.
Thanks for the link @Krocko, but I looked into it some time ago and don't think I found anything to reuse (but let me know in case you did).
from homeassistant-homeconnect.
Related Issues (20)
- token not renewing HOT 5
- Add schedule time for Bosch washer and dryer HOT 1
- Turn on/off the functional light of the hood HOT 7
- Washdryer - washing programs and drying programs have the same name HOT 10
- A few suggestions HOT 7
- Would it be possible to add CoffeeWorld programs from the Bosch Coffee machine HOT 1
- Home connect stops working after a few days HOT 11
- Feature request: Newly available Oven Control functions HOT 27
- Feature Request: Monitor and report connected state of all Home-Connect appliances
- Feature Request: Extend Unit option into set_option_active service HOT 10
- "start_program" does not work with example data HOT 1
- Feature Request: Washing machine program as entity HOT 7
- part of the entities siemens dishwasher is unavailable HOT 2
- Component error: home_connect_beta - Integration 'home_connect_beta' not found HOT 6
- Switch for child lock mode HOT 2
- Additional items from HomeConnect HOT 2
- Implement HomeConnect service to set specific program / incl. details HOT 1
- Config example HOT 2
- Home Connect integration has a problem connecting devices #72486 HOT 3
- Redirekt url HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant-homeconnect.