beveradb / sonoff-lan-mode-homeassistant

Home Assistant platform to control Sonoff switches running the latest Itead firmware, locally (LAN mode).
MIT License
74 stars 37 forks source link

Wrong Custom component location ?? #69

Closed max-rh closed 4 years ago

max-rh commented 5 years ago

Hello there, Thanks for the amazing work, was looking for something like this for a long time.

When i placed the component in the custom_components directory HA didn't recognize it "Integration sonoff_lan_mode not found when trying to verify its switch platform."

Note: I already have other custom_components within the directory and they work fine.

Any Advice?

Thanks

mattsaxon commented 5 years ago

I have a manifest.json in the same directory which fixed this for me, its part of this PR https://github.com/beveradb/sonoff-lan-mode-homeassistant/pull/65.

mattsaxon commented 4 years ago

@max-rh, can you confirm that this worked for you too.

mattsaxon commented 4 years ago

I have updated the readme to state that manifest.json needs to be in the folder too.

Closing, please reopen if this is still a problem