Discogs


The discogs integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] allows you to see the current amount of records in your Discogs collection.

Setup

First, you’ll need to get a personal access token from your Discogs account. You can generate a token from your profile’s Developer settings.

Configuration

To enable this sensor, add the following lines to your configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI.[Learn more] file. After changing the configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI.[Learn more] file, restart Home Assistant to apply the changes. To view the changes, go to Settings > Devices & services > Entities.

# Example configuration.yaml entry
sensor:
  - platform: discogs
    token: YOUR_TOKEN

The monitored conditions can create a sensor which displays the amount of records currently in your collection and/or wantlist, and an option to pick a random record from your collection.

Configuration Variables

token string Required

The Discogs API token to use as identification to get your collection.

name string (Optional)

Name to use in the frontend.

monitored_conditions list (Optional)

A list of sensor to include.

collection

Shows the amount of records in the user’s collection.

wantlist

Shows the amount of records in the user’s wantlist.

random_record

Proposes a random record from the collection to play.