Metadata-Version: 2.1
Name: hass-auth-synology
Version: 0.3.18
Summary: Synology authentication provider for Home Assistant
Home-page: https://github.com/sdebruyn/hass-auth-synology
License: Apache-2.0
Keywords: synology,authentication,homeassistant,hass
Author: Sam Debruyn
Author-email: sam@debruyn.dev
Requires-Python: >=3.8,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Home Automation
Classifier: Topic :: Security
Requires-Dist: homeassistant (>=2021.11.2,<2022.0.0)
Project-URL: Repository, https://github.com/sdebruyn/hass-auth-synology
Description-Content-Type: text/markdown

# Authentication provider using Synology DSM users for Home Assistant

## Installation

### Home Assistant Container

Use this package's container instead of the Home Assistant one.

```
ghcr.io/sdebruyn/hass-auth-synology:latest
```

### Home Assistant Core

The installation will have to be redone everytime you update Home Assistant.

1. Make sure the Home Assistant virtualenv is activated: `source bin/activate`
2. Install this package: `pip3 install hass-auth-synology`
3. Run the installation command: `hass-auth-synology install`

### Home Assistant Supervised

The installation will have to be redone everytime you update Home Assistant.

1. Search for the “SSH & Web Terminal” add-on in the add-on store and install it.
2. Configure the username and password/authorized_keys options.
3. Start the “SSH & Web Terminal” add-on
4. Run the following code through the web terminal:
    ```shell
    pip3 install hass-auth-synology
   hass-auth-synology install
    ```
5. You can now disable and remove the “SSH & Web Terminal” add-on again.

## License & attribution

Apache v2.0

Test utilities under `tests` are coming from [Home Assistant Core](https://github.com/home-assistant/core).

