wijnandtop / home_assistant_gardena

Custom component to support Gardena smart devices
32 stars 7 forks source link

home assistant 0.88 #5

Closed steveknoefler closed 5 years ago

steveknoefler commented 5 years ago

hi, I updated to 0.88 and something changed with custom_components

new: custom_components/gardena/ - files

but its not working if I changed it. what happens with the gardena.py in die custom_components folder

bildschirmfoto 2019-02-21 um 17 33 47

thanks bye Steve

Jpsy commented 5 years ago

Simply creating folders and moving and renaming the integration files there is not working. There are obviously more changes necessary. For the moment, you can stay with the old structure of "gardena.py" files in several folders. It will throw warnings in the log, but it will continue to work. I hope @wijnandtop will be able to change the structure soon, before there will be breaking changes. I would jump in and help but my knowledge of Hass components is (still) very limited.

Jpsy commented 5 years ago

Aaah, the solution is simple. After reading the HA dev blog, I found the missing link:

The last step was the one that was missing.

steveknoefler commented 5 years ago

oh init.py was missing I haven't seen it on the debug log :/

thanks jpsy