kevinvincent / ha-wyzesense

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

Persistent Devices #185

Closed Techtony96 closed 4 years ago

Techtony96 commented 4 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 4 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 4 years ago

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