The eufy component is the main component to integrate various eufy devices with Home Assistant.

Supported devices will be discovered after the eufy component is configured:

# Example configuration.yaml entry
  username: testuser@domain
  password: p4ssw0rd

where username and password are the ones configured in the EufyHome app. Alternately, Eufy devices that are not discoverable can be statically configured.

    - address:
      access_token: 1234567890abcdef
      type: T1012
      name: Smart Light
    - address:
      access_token: abcdef1234567890
      type: T1201
      name: Smart Switch

access_token can be obtained by running:

curl -H "Content-Type: application/json" -d '{"client_id":"eufyhome-app", "client_Secret":"GQCpr9dSp3uQpsOMgJ4xQ", "email":"USERNAME", "password":"PASSWORD"}' | jq

replacing USERNAME and PASSWORD with the Eufy username and password. This will give an access_token. Then run:

curl -H token:TOKEN -H category:Home | jq

replacing TOKEN with the access_token from the previous command. This will provide the local_code for each device.