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

Update component location in Wiki #51

Closed mattsaxon closed 5 years ago

mattsaxon commented 5 years ago

Great work Andrew, I've just started using your component.

This is just a minor issue with the wiki that it suggest to install the component in a deprecated directory, the location is still working for me (version 90.1), but an error in the log suggests it will stop working soon.

The location to put the script should be "custom_components/sonoff_lan_mode/switch.py" (so a rename of directory and a rename of the script itself.

If nothing else it will keep logs a bit cleaner and help identify other issues.

Great work again and when I get a bit more advanced with understanding home assistant, I may be in a position to help with this component too if necessary.

beveradb commented 5 years ago

Thanks for the heads up!

Does this look right? https://github.com/beveradb/sonoff-lan-mode-homeassistant/pull/53

mattsaxon commented 5 years ago

Yes, PR looks good to me.