kevinvincent / ha-wyzesense

A Home Assistant Component to interface with the WYZE Sense hub and sensor system
369 stars 101 forks source link

Persistent Devices #185

Closed Techtony96 closed 3 years ago

Techtony96 commented 3 years ago

Hi, I am trying to setup my Home Assistant so I can easily create/destroy the instance (for backup purposes) only having to copy over the config files. Is it possible to specify the MAC addresses of the sensors I have in the config file so I do not have to repair them when setting up a new home assistant install?

Something like:

binary_sensor:
  - platform: wyzesense
    device: /dev/wyzesense
    mac:
      - asdf1234
      - foo1234
photinus commented 3 years ago

Not at this time, you can grab the .storage/wyzesense.json file and restore it along with your instance to restore the sensors

Techtony96 commented 3 years ago

Thanks for the info, I'll check that file out.