c0ffeeca7 0ea2127c91
d-integrations: restart HA after adding the integration to the configuration.yaml (#32633)
Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-05-09 22:14:02 +02:00

1.7 KiB

title, description, ha_category, ha_release, ha_iot_class, ha_codeowners, ha_domain, ha_platforms, ha_integration_type, related
title description ha_category ha_release ha_iot_class ha_codeowners ha_domain ha_platforms ha_integration_type related
Discogs Instructions on how to set up Discogs sensors within Home Assistant.
Multimedia
0.61 Cloud Polling
@thibmaek
discogs
sensor
integration
docs title
/docs/configuration/ Configuration file

The discogs {% term integration %} 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 {% term "configuration.yaml" %} file. {% include integrations/restart_ha_after_config_inclusion.md %}

# 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 %} token: description: The Discogs API token to use as identification to get your collection. required: true type: string name: description: Name to use in the frontend. required: false type: string monitored_conditions: description: A list of sensor to include. required: false type: list keys: collection: description: Shows the amount of records in the user's collection. wantlist: description: Shows the amount of records in the user's wantlist. random_record: description: Proposes a random record from the collection to play. {% endconfiguration %}