SonoffLAN: .sonoff.json file does not restored when manual remove it.

The .json file in /config does not restored when I manual remove it. I did try uninstall/reinstall SonoffLAN but get no luck. I have to try “always reload”. How could I fix this?

sonoff:
  username: !secret  sonoff_user
  password: !secret  sonoff_password
  force_update: [temperature, power]
  scan_interval: '00:00:05'  # (optional) default 5 minutes
  sensors: [temperature, humidity, power, current, voltage]
  mode: local
  reload: always 

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 22 (7 by maintainers)

Most upvoted comments

@AlexxIT Thanks. Do I have to remove file .sonoff.json? If I do that, the file “.sonoff.json” does not restored when I restart HA. No sonoff devices appear. 😦 LOL