Closed terrycarlin closed 2 years ago
Experiencing the same issue after updating to the newest HA version this AM.
Also experiencing this issue after updating to the newest WyzeAPI via HACS this morning.
HACS came out with another version this morning that fixed part of this issue. It no longer puts the wyzeapi files in a subfolder called wyzeapi. But still can't find wyzeapi in integrations after installing it with HACS.
Think if you go into the integration ans tell it to re-download the issue gets resolved.
I can't find Wyze anymore either (under Integrations) and a reload doesn't solve it for me.
Odd it shows right up when i type search in the integration section. You may have to re-add the respiratory for it .
Odd it shows right up when i type search in the integration section. You may have to re-add the respiratory for it .
Great it works for you :-). Just to be sure i tried your suggestion, throwing me a "Repository 'joshuamulliken/ha-wyzeapi' exists in the store.". While at it, i removed the integration in HACS again, added it, and went to the Configuration/Integration screen again, but still nothing shows when searching for Wyze
What are you running home assistant on?
What are you running home assistant on?
Home Assistant OS core-2021.12.8 on an RPi4 (has been running for quite some time, have been upgrading and updating every update that is available)
Which may explain the difference as i transferred over to a rack mounted server last year.
Got backups from before the update?
After the third update to HACS in the last couple of days, I can now configure WyzeApi. After installing the latest HACS update, I deleted the WyzeApi from HACS, then installed it again. I was then able to install and configure the WyzeApi using the configuration integrations process. All my devices showed back up.
Tried removing and re-adding the repo to HACS multiple times, no luck here. Some of my bulbs won't show up anymore, and trying to control bulbs that do show up results in errors in the log. "2022-01-10 10:35:29 WARNING (MainThread) [wyzeapy.services.base_service] Failed to connect to bulb 7Cxxxxxxxxx"
Which may explain the difference as i transferred over to a rack mounted server last year. Got backups from before the update?
Thank you for the help, did not have time to try/reply sooner. Just checked again, and now (have been rebooting and updating HA for other things in the meantime) the Wyze integration showed, so solved.
With the latest HACS update, I was able to install WyzeApi successfully.
Describe the bug
After using HACS to install the new version of WyzeApi, restart HA, can't install the integration. Cant find Wyzeapi. To Reproduce 1) Steps to reproduce the behavior: 2) Use HACS to install WyzeApi 3) restart HA 4) log into HA 5) go to Configuration->Devices and Services->Integrations->Add Integrations 6) Search for wyzeapi 7) get error message: No integrations matched your search
Found that WyzeApi may be installed improperly in custom_components. Found that the WyzeApi directory only contained a WyzeApi directory. That directory contained all the code.
homeassistant@habeta:~/.homeassistant/custom_components/wyzeapi $ ls -l total 4 drwxr-xr-x 3 homeassistant homeassistant 4096 Jan 8 08:48 wyzeapi homeassistant@habeta:~/.homeassistant/custom_components/wyzeapi $ ls -l wyzeapi/ total 104 -rw-r--r-- 1 homeassistant homeassistant 4787 Jan 8 08:48 alarm_control_panel.py -rw-r--r-- 1 homeassistant homeassistant 6638 Jan 8 08:48 binary_sensor.py -rw-r--r-- 1 homeassistant homeassistant 10954 Jan 8 08:48 climate.py -rw-r--r-- 1 homeassistant homeassistant 4593 Jan 8 08:48 config_flow.py -rw-r--r-- 1 homeassistant homeassistant 417 Jan 8 08:48 const.py -rw-r--r-- 1 homeassistant homeassistant 5694 Jan 8 08:48 init.py -rw-r--r-- 1 homeassistant homeassistant 8250 Jan 8 08:48 light.py -rw-r--r-- 1 homeassistant homeassistant 5362 Jan 8 08:48 lock.py -rw-r--r-- 1 homeassistant homeassistant 360 Jan 8 08:48 manifest.json -rw-r--r-- 1 homeassistant homeassistant 6742 Jan 8 08:48 sensor.py -rw-r--r-- 1 homeassistant homeassistant 1820 Jan 8 08:48 strings.json -rw-r--r-- 1 homeassistant homeassistant 9384 Jan 8 08:48 switch.py -rw-r--r-- 1 homeassistant homeassistant 2001 Jan 8 08:48 token_manager.py drwxr-xr-x 2 homeassistant homeassistant 4096 Jan 8 08:48 translations
I used HACS to remove wyzeapi and reinstalled it again. Same result.
Expected behavior
WyzeApi integration is found and can install. I expected the ~/.homeassistant/custom_components/wyzeapi directory to contain the code not another wyzeapi directory
System configuration System: RPI Raspbian Bare Metal HA Version: v2021.12.8 WyzeApi Version: 0.1.4
home-assistant.log