HI…
I had been struggling to get my Eufy switch thru HA, mainly the integration of the component is not going thru well.
I have the latest version 0.78.3 running and have a fully working Wall switch to my dining table light. This works from the native all on my mobile well.
The error I get during set up is …
2018-09-29 12:31:25 ERROR (MainThread) [homeassistant.setup] Error during setup of component eufy
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/setup.py”, line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File “/usr/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/eufy.py”, line 54, in setup
if CONF_USERNAME in config[DOMAIN] and CONF_PASSWORD in config[DOMAIN]:
KeyError: ‘eufy’
2018-09-29 12:31:25 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of switch.eufy. Setup failed for dependencies: eufy
2018-09-29 12:31:26 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.eufy: Could not set up all dependencies.
My configuration in switches.yaml is …
Eufy Switches
- platform: eufy
username: xxxxx
password: yyyyy
friendly_name: Dining Light
- platform: eufy
devices:
- address: 192.168.1.8
access_token: zxhydufkekama
type: T1211
name: Dining Light
I have tried both the first one [hashed] and then the second one. I did follow exactly as given in the document for setting it up.
Any help will be much appreciated.
Thanks in advance.