[email protected], [email protected] component


#82

I’ve pushed an update version to GitHub. Notable (and potentially breaking) changes:

  • The latest version of HA was complaining that the structure of the custom component won’t be supported in the future. Files for sensors, binary_sensors have been moved into the Miele folder. I am not sure how far backwards compatible that change is.
  • In the past, light was exposed as a binary_sensor that was indicating the status of the corresponding light. This has been removed. Instead lights are now exposed as such and can be toggled.
  • There is an miele.action service that can be used to invoke actions in the device (described in more detail https://www.miele.com/developer/swagger-ui/put_additional_info.html). Examples for the service data can be found in the pull request (https://github.com/docbobo/home-assistant-miele/pull/6)

@ATWindsor triggering all those things for your ventilation is a little bit tricky without documentation. Feel free to experiment with the action, perhaps you find something that’s not documented yet.


#83

Sorry to be such a hassle, but is there some kind of trouble-shooting opportunities if not appliances are found for some reason? 3 out of my 4 miele-things are found, and the gateway. But the last of 2 ovens is not found.


#84

I copied the raw file to custom components and am getting the following errors relating to these files:

File “/config/custom_components/binary_sensor.py”, line 8, in
from custom_components.miele import DOMAIN as MIELE_DOMAIN, DATA_DEVICES
ImportError: cannot import name ‘DOMAIN’

and
File “/config/custom_components/sensor.py”, line 7, in
from custom_components.miele import DOMAIN as MIELE_DOMAIN, DATA_DEVICES
ImportError: cannot import name ‘DOMAIN’

File “/config/custom_components/light.py”, line 8, in
from custom_components.miele import DOMAIN as MIELE_DOMAIN, DATA_CLIENT, DATA_DEVICES
ImportError: cannot import name ‘DOMAIN’

can anyone help me solve these issues?